2024-07-10 12:43:19 +00:00
|
|
|
includes:
|
|
|
|
- phpstan-baseline.neon
|
|
|
|
- vendor/phpstan/phpstan-phpunit/extension.neon
|
|
|
|
- vendor/phpstan/phpstan-phpunit/rules.neon
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
level: 8
|
|
|
|
paths:
|
2024-09-29 11:14:27 +00:00
|
|
|
- samples/
|
2024-07-10 12:43:19 +00:00
|
|
|
- src/
|
|
|
|
- tests/
|
2024-09-29 11:14:27 +00:00
|
|
|
- infra/
|
|
|
|
- bin/generate-document
|
|
|
|
- bin/generate-locales
|
|
|
|
- bin/check-phpdoc-types
|
2024-07-10 12:43:19 +00:00
|
|
|
excludePaths:
|
|
|
|
- src/PhpSpreadsheet/Chart/Renderer/JpGraph.php
|
|
|
|
- src/PhpSpreadsheet/Chart/Renderer/JpGraphRendererBase.php
|
2024-09-29 11:14:27 +00:00
|
|
|
- src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php
|
|
|
|
- src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php
|
|
|
|
- src/PhpSpreadsheet/Writer/ZipStream2.php
|
|
|
|
- src/PhpSpreadsheet/Writer/ZipStream3.php
|
2024-07-10 12:43:19 +00:00
|
|
|
parallel:
|
|
|
|
processTimeout: 300.0
|
|
|
|
ignoreErrors:
|
|
|
|
# Accept a bit anything for assert methods
|
|
|
|
- '~^Parameter \#2 .* of static method PHPUnit\\Framework\\Assert\:\:assert\w+\(\) expects .*, .* given\.$~'
|
2024-09-29 11:14:27 +00:00
|
|
|
- '~^Variable \$helper might not be defined\.$~'
|
|
|
|
- identifier: missingType.iterableValue
|