refactor: Update PHPStan
configuration paths and create new config files for improved structure and clarity.
#313
Workflow file for this run
This file contains hidden or 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
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'] |