mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-11-09 19:36:15 +00:00
680fe05f50
Minor changes due to Phpstan (statements where I had previously flagged that I thought it was wrong). TCPDF V6 officially deprecated. We will continue to support for now.
41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
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\.$~'
|
|
- '~TCPDF is deprecated~'
|
|
#- identifier: missingType.iterableValue
|