Skip to content

Commit f74b583

Browse files
committed
Maybe this time?
1 parent 2e55a7c commit f74b583

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

phpstan.neon.php7.dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ parameters:
2929
-
3030
message: '#Parameter \#1 \$argument of class ReflectionClass constructor expects class-string<T of object>\|T of object, string given.#'
3131
path: src/PhpWord/IOFactory.php
32+
-
33+
message: '#Parameter \#1 \$function of function call_user_func_array expects callable\(\): mixed,#'
34+
path: src/PhpWord/Shared/ZipArchive.php
3235
-
3336
message: '#PHPDoc tag @var with type PhpOffice\\PhpWord\\Writer\\HTML\\Part\\AbstractPart is not subtype of native type PhpOffice\\PhpWord\\Writer\\HTML\\Part\\Body\|PhpOffice\\PhpWord\\Writer\\HTML\\Part\\Head.#'
3437
path: src/PhpWord/Writer/HTML.php
@@ -45,8 +48,5 @@ parameters:
4548
message: '#Parameter \#1 \$argument of class ReflectionClass constructor expects class-string<object>\|object, class-string\|false given.#'
4649
path: tests/PhpWordTests/Style/AbstractStyleTest.php
4750
-
48-
message: '#Parameter \#1 \$function of function call_user_func_array expects callable\(\): mixed, array\{\$this\(PhpOffice\\PhpWord\\Shared\\ZipArchive\)\|PclZip|\ZipArchive, mixed\} given.#'
49-
path: tests/PhpWordTests/Style/AbstractStyleTest.php
50-
-
51-
message: '#PHPDoc tag @var with type PhpOffice\\PhpWord\\Word2007\\Part\\AbstractPart is not subtype of native type #'
51+
message: '#PHPDoc tag @var with type PhpOffice\\PhpWord\\Writer\\Word2007\\Part\\AbstractPart is not subtype of native type #'
5252
path: tests/PhpWordTests/Writer/Word2007/Part/AbstractPartTest.php

0 commit comments

Comments
 (0)