Skip to content

Commit

Permalink
ci: Check deprecations with PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Nov 23, 2024
1 parent f074e1b commit c51d869
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"friendsofphp/php-cs-fixer": "^3.0",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"symfony/phpunit-bridge": "^7.0"
},
"license": "GPL-3.0",
Expand Down
49 changes: 48 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ parameters:
typeAliases:
SpoutParameterInfo: 'array{title: string, type: spouts\Parameter::TYPE_*, default: string, required: bool, validation: array<spouts\Parameter::VALIDATION_*>, values?: array<string, string>}'
SpoutParameters: 'array<string, SpoutParameterInfo>'

includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon

0 comments on commit c51d869

Please sign in to comment.