-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
36 lines (35 loc) · 1.56 KB
/
phpstan.neon.dist
File metadata and controls
36 lines (35 loc) · 1.56 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:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/composer/pcre/extension.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
level: 10
paths:
- samples/
- src/
- tests/
- infra/
- bin/
excludePaths:
- src/PhpSpreadsheet/Calculation/FormulaParser.php
- src/PhpSpreadsheet/Calculation/FormulaToken.php
- src/PhpSpreadsheet/Chart/Renderer/JpGraph.php
- src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php
- src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php
- src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php
- src/PhpSpreadsheet/Writer/ZipStream2.php
- src/PhpSpreadsheet/Writer/ZipStream3.php
- tests/PhpSpreadsheetTests/Calculation/FormulaParserTest.php
- tests/PhpSpreadsheetTests/Writer/Xlsx/ArrayFunctions2Test.php
parallel:
processTimeout: 300.0
ignoreErrors:
# Accept a bit anything for assert methods
- '~^Parameter \#2 .* of static method PHPUnit\\Framework\\Assert\:\:assert\w+\(\) expects .*, .* given\.$~'
- '~Method .*rovider.* return type has no value type specified in iterable type array\.$~'
- '~Method .*rovider.* should return array but returns mixed\.$~'
- '~.* has parameter \$expectedResult with no value type specified in iterable type array\.$~'
#- identifier: missingType.iterableValue