Skip to content

Commit

Permalink
Fix: Adjust configuration for ergebnis/phpstan-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jun 21, 2023
1 parent f33705c commit ff1e21c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ parameters:
objectManagerLoader: config/object-manager.php

ergebnis:
classesAllowedToBeExtended:
- Ergebnis\FactoryBot\Definition\AbstractDefinition
- Ergebnis\FactoryBot\Test\Integration\AbstractTestCase
- Ergebnis\FactoryBot\Test\Unit\AbstractTestCase
- Example\Test\Unit\AbstractTestCase
- Faker\Generator
- InvalidArgumentException
- RuntimeException
noExtends:
classesAllowedToBeExtended:
- Ergebnis\FactoryBot\Definition\AbstractDefinition
- Ergebnis\FactoryBot\Test\Integration\AbstractTestCase
- Ergebnis\FactoryBot\Test\Unit\AbstractTestCase
- Example\Test\Unit\AbstractTestCase
- Faker\Generator
- InvalidArgumentException
- RuntimeException
inferPrivatePropertyTypeFromConstructor: true

level: max
Expand Down

0 comments on commit ff1e21c

Please sign in to comment.