feat: upgrade monolog and adjust some deprecations #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Static Code Analysis | ||
on: | ||
push: | ||
paths: | ||
- '**workflows/php-static-analysis.yml' | ||
- '**.php' | ||
- '**phpcs.xml.dist' | ||
- '**psalm.xml' | ||
- '**composer.json' | ||
pull_request: | ||
workflow_dispatch: | ||
inputs: | ||
jobs: | ||
required: true | ||
type: choice | ||
default: 'Run all' | ||
description: 'Choose jobs to run' | ||
options: | ||
- 'Run all' | ||
- 'Run PHPCS only' | ||
- 'Run Psalm only' | ||
- 'Run lint only' | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
lint-php: | ||
uses: inpsyde/reusable-workflows/.github/workflows/lint-php.yml@main | ||
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run lint only')) }} | ||
with: | ||
PHP_MATRIX: '["8.1", "8.2"]' | ||
Check failure on line 34 in .github/workflows/php-static-analysis.yml GitHub Actions / PHP Static Code AnalysisInvalid workflow file
|
||
coding-standards-analysis-php: | ||
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run PHPCS only')) }} | ||
uses: inpsyde/reusable-workflows/.github/workflows/coding-standards-php.yml@main | ||
with: | ||
PHP_VERSION: '8.1' | ||
static-code-analysis-php: | ||
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run Psalm only')) }} | ||
uses: inpsyde/reusable-workflows/.github/workflows/static-analysis-php.yml@main | ||
strategy: | ||
matrix: | ||
php-version: [ '8.1', '8.2' ] | ||
with: | ||
PHP_VERSION: ${{ matrix.php-version }} |