Skip to content

Commit

Permalink
Enhancement: Require ergebnis/phpstan-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 8, 2025
1 parent 20f1203 commit bbef188
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 3 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"ergebnis/composer-normalize": "^2.45.0",
"ergebnis/data-provider": "^3.4.0",
"ergebnis/license": "^2.6.0",
"ergebnis/phpstan-rules": "^2.6.0",
"ergebnis/phpunit-slow-test-detector": "^2.17.0",
"ergebnis/rector-rules": "^1.3.0",
"fakerphp/faker": "^1.24.1",
Expand Down
78 changes: 75 additions & 3 deletions composer.lock

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

7 changes: 7 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ includes:
- phpstan-baseline.neon

parameters:
ergebnis:
noExtends:
classesAllowedToBeExtended:
- Ergebnis\PhpCsFixer\Config\Test\EndToEnd\RuleSet\AbstractRuleSetTestCase
- Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet\AbstractRuleSetTestCase
- Ergebnis\PhpCsFixer\Config\Test\Unit\RuleSet\ExplicitRuleSetTestCase

inferPrivatePropertyTypeFromConstructor: true

level: max
Expand Down

0 comments on commit bbef188

Please sign in to comment.