-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
36 lines (35 loc) · 1.46 KB
/
phpstan.dist.neon
File metadata and controls
36 lines (35 loc) · 1.46 KB
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
36
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
parameters:
level: max
bootstrapFiles:
- ./tools/phpunit.phar
fileExtensions:
- php
- php.txt
paths:
- src/
- tests/
symfony:
consoleApplicationLoader: tests/console-app.php
ignoreErrors:
# Generated `\Buildotter\Core\Buildatable::new` methods must be completed by the user.
-
message: "#^Class Buildotter\\\\Tests\\\\MakerStandalone\\\\fixtures\\\\expected\\\\[a-zA-Z0-9\\_]+Builder constructor invoked with 0 parameters, [0-9]+ required\\.$#"
path: tests/fixtures/expected/*.php.txt
# Irrelevant. These are tests fixtures, not actual code.
-
rawMessage: 'Method Buildotter\Tests\MakerStandalone\fixtures\DifferentTypes::__construct() has parameter $intersection with generic interface Iterator but does not specify its types: TKey, TValue'
identifier: missingType.generics
count: 1
path: tests/fixtures/DifferentTypes.php
-
rawMessage: 'Method Buildotter\Tests\MakerStandalone\fixtures\expected\DifferentTypesBuilder::__construct() has parameter $intersection with generic interface Iterator but does not specify its types: TKey, TValue'
identifier: missingType.generics
count: 1
path: tests/fixtures/expected/DifferentTypesBuilder.php.txt