Skip to content

refactor: Update PHPStan configuration paths and create new config files for improved structure and clarity. #313

refactor: Update PHPStan configuration paths and create new config files for improved structure and clarity.

refactor: Update PHPStan configuration paths and create new config files for improved structure and clarity. #313

Workflow file for this run

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
name: static analysis
jobs:
phpstan:
uses: php-forge/actions/.github/workflows/phpstan.yml@main
with:
composer-command: |
composer require yiisoft/yii2:22.0.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi
concurrency-group: phpstan-${{ github.workflow }}-${{ github.ref }}
os: >-
['ubuntu-latest']
php: >-
['8.4']
phpstan-console:
uses: php-forge/actions/.github/workflows/phpstan.yml@main
with:
configuration: 'phpstan-console-config.neon'
composer-command: |
composer require yiisoft/yii2:22.0.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi
concurrency-group: phpstan-console-${{ github.workflow }}-${{ github.ref }}
os: >-
['ubuntu-latest']
php: >-
['8.4']