|
| 1 | +includes: |
| 2 | + - phpstan-baseline.neon |
| 3 | + - vendor/phpstan/phpstan-phpunit/extension.neon |
| 4 | + - vendor/phpstan/phpstan-phpunit/rules.neon |
| 5 | +parameters: |
| 6 | + level: 7 |
| 7 | + paths: |
| 8 | + - src/ |
| 9 | + - tests/ |
| 10 | + excludePaths: |
| 11 | + - */pclzip.lib.php |
| 12 | + - src/PhpWord/Shared/OLERead.php |
| 13 | + - src/PhpWord/Reader/MsDoc.php |
| 14 | + - src/PhpWord/Writer/PDF/MPDF.php |
| 15 | + - src/PhpWord/Shared/XMLWriter.php |
| 16 | + - src/PhpWord/Shared/XMLWriter.withwakeup.php |
| 17 | + bootstrapFiles: |
| 18 | + - tests/bootstrap.php |
| 19 | + treatPhpDocTypesAsCertain: false |
| 20 | + ignoreErrors: |
| 21 | + - |
| 22 | + identifier: missingType.iterableValue |
| 23 | + |
| 24 | + ## <=PHP7.4 |
| 25 | + - |
| 26 | + message: '#Parameter \#1 \$argument of class ReflectionClass constructor expects class-string<T of object>\|T of object, string given.#' |
| 27 | + path: src/PhpWord/Element/AbstractContainer.php |
| 28 | + - |
| 29 | + message: '#Parameter \#1 \$function of function call_user_func expects callable\(\): mixed, string given.#' |
| 30 | + path: src/PhpWord/Element/Image.php |
| 31 | + - |
| 32 | + message: '#Parameter \#1 \$argument of class ReflectionClass constructor expects class-string<T of object>\|T of object, string given.#' |
| 33 | + path: src/PhpWord/IOFactory.php |
| 34 | + - |
| 35 | + message: '#Parameter \#1 \$function of function forward_static_call_array expects callable\(\): mixed, array{.+, string} given.#' |
| 36 | + path: src/PhpWord/PhpWord.php |
| 37 | + - |
| 38 | + message: '#Parameter \#1 \$function of function call_user_func_array expects callable\(\): mixed, array{\$this\(PhpOffice\\PhpWord\\Shared\\ZipArchive\)\|PclZip\|ZipArchive, mixed} given.#' |
| 39 | + path: src/PhpWord/Shared/ZipArchive.php |
| 40 | + - |
| 41 | + message: '#Parameter \#1 \$function of function call_user_func_array expects callable\(\): mixed, array{PhpOffice\\PhpWord\\Writer\\PDF\\AbstractRenderer, string} given.#' |
| 42 | + path: src/PhpWord/Writer/PDF.php |
| 43 | + - |
| 44 | + message: '#Parameter \#1 \$argument of class ReflectionClass constructor expects class-string<object>\|object, class-string\|false given.#' |
| 45 | + path: tests/PhpWordTests/Style/AbstractStyleTest.php |
0 commit comments