-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan.neon.dist
35 lines (33 loc) · 1.24 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
parameters:
level: max
checkBenevolentUnionTypes: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportMaybesInPropertyPhpDocTypes: true
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
paths:
- packages
- tests
excludePaths:
- tests/var
- tests/src/App/Factory
ignoreErrors:
- '#Rekalogika\\Rekapager\\Tests\\App\\Entity\\Post> given.#'
- '#Symfony\\Component\\Config\\Definition\\Builder\\#'
- '#Attribute class Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator is deprecated:#'
- '#Property .* is never assigned int so it can be removed from the property type.#'
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/bnf/phpstan-psr-container/extension.neon
- vendor/ekino/phpstan-banned-code/extension.neon
- vendor/phpat/phpat/extension.neon
- phar://phpstan.phar/conf/bleedingEdge.neon
services:
-
class: Rekalogika\Rekapager\Tests\ArchitectureTests\ArchitectureTest
tags:
- phpat.test