Repository navigation
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
39 lines (38 loc) · 1.75 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
39 lines (38 loc) · 1.75 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
37
38
39
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
treatPhpDocTypesAsCertain: false
reportIgnoresWithoutComments: true
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\.$~'
- '~^Parameter \#1 \$source of method DOMDocument::load(XML|HTML)\(\) expects non-empty-string, string given\.$~'
#- identifier: missingType.iterableValue