Skip to content

Commit 9de7077

Browse files
committed
Keep Trying 7.4 Phpstan
1 parent 923e7a6 commit 9de7077

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpstan.neon.php7.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ parameters:
3535
-
3636
message: '#Parameter \#1 \$function of function call_user_func_array expects callable\(\): mixed, array{PhpOffice\\PhpWord\\Writer\\PDF\\AbstractRenderer, string} given.#'
3737
path: src/PhpWord/Writer/PDF.php
38+
-
39+
message: '#PHPDoc tag @var with type PhpOffice\\PhpWord\\Element\\AbstractElement is not subtype of native type .*#'
40+
path: tests/PhpWordTests/Element/AbstractElementTest.php
3841
-
3942
message: '#PHPDoc tag @var with type PhpOffice\\PhpWord\\Element\\AbstractStyle is not subtype of native type .*#'
4043
path: tests/PhpWordTests/Style/AbstractStyleTest.php
@@ -44,3 +47,6 @@ parameters:
4447
-
4548
message: '#Parameter \#1 \$function of function call_user_func_array expects callable\(\): mixed, array\{\$this\(PhpOffice\\PhpWord\\Shared\\ZipArchive\)\|PclZip|\ZipArchive, mixed\} given.#'
4649
path: tests/PhpWordTests/Style/AbstractStyleTest.php
50+
-
51+
message: '#PHPDoc tag @var with type PhpOffice\\PhpWord\\Element\\AbstractPart is not subtype of native type .*#'
52+
path: tests/PhpWordTests/Writer/Word2007/Part/AbstractPartTest.php

0 commit comments

Comments
 (0)