This commit is contained in:
wangjinlei
2024-12-31 10:28:40 +08:00
parent 145b0ab8a5
commit a54a837670
1179 changed files with 2686 additions and 230376 deletions

View File

@@ -60,11 +60,6 @@ parameters:
count: 1
path: src/PhpWord/Element/Image.php
-
message: "#^Parameter \\#2 \\$length of function fread expects int\\<0, max\\>, int\\<0, max\\>\\|false given\\.$#"
count: 1
path: src/PhpWord/Element/Image.php
-
message: "#^Property PhpOffice\\\\PhpWord\\\\Element\\\\Image\\:\\:\\$source \\(string\\) does not accept string\\|false\\.$#"
count: 1
@@ -240,11 +235,6 @@ parameters:
count: 1
path: src/PhpWord/Reader/Word2007/AbstractPart.php
-
message: "#^Parameter \\#1 \\$count of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\:\\:addTextBreak\\(\\) expects int, null given\\.$#"
count: 1
path: src/PhpWord/Reader/Word2007/AbstractPart.php
-
message: "#^Parameter \\#1 \\$depth of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\:\\:addListItemRun\\(\\) expects int, string\\|null given\\.$#"
count: 1
@@ -385,11 +375,6 @@ parameters:
count: 1
path: src/PhpWord/Shared/Drawing.php
-
message: "#^Access to an undefined property DOMNode\\:\\:\\$value\\.$#"
count: 6
path: src/PhpWord/Shared/Html.php
-
message: "#^Binary operation \"\\*\" between string and 50 results in an error\\.$#"
count: 1
@@ -520,16 +505,6 @@ parameters:
count: 1
path: src/PhpWord/Shared/XMLWriter.php
-
message: "#^Parameter \\#1 \\$uri of method XMLWriter\\:\\:openUri\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: src/PhpWord/Shared/XMLWriter.php
-
message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:\\$tempFileName \\(string\\) does not accept string\\|false\\.$#"
count: 1
path: src/PhpWord/Shared/XMLWriter.php
-
message: "#^Call to method add\\(\\) on an unknown class PclZip\\.$#"
count: 2
@@ -1110,11 +1085,6 @@ parameters:
count: 1
path: src/PhpWord/TemplateProcessor.php
-
message: "#^Parameter \\#1 \\$str of function preg_quote expects string, int\\|string given\\.$#"
count: 1
path: src/PhpWord/TemplateProcessor.php
-
message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\<string\\>\\|string given\\.$#"
count: 1
@@ -1135,11 +1105,6 @@ parameters:
count: 1
path: src/PhpWord/TemplateProcessor.php
-
message: "#^Property PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:\\$tempDocumentFilename \\(string\\) does not accept string\\|false\\.$#"
count: 1
path: src/PhpWord/TemplateProcessor.php
-
message: "#^Property PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:\\$tempDocumentFooters \\(array\\<string\\>\\) does not accept string\\.$#"
count: 1
@@ -1230,11 +1195,6 @@ parameters:
count: 1
path: src/PhpWord/Writer/PDF.php
-
message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false given\\.$#"
count: 1
path: src/PhpWord/Writer/PDF.php
-
message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:\\$renderer \\(PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\AbstractRenderer\\) does not accept object\\.$#"
count: 1
@@ -1815,11 +1775,6 @@ parameters:
count: 1
path: tests/PhpWordTests/TestHelperDOCX.php
-
message: "#^Static property PhpOffice\\\\PhpWordTests\\\\TestHelperDOCX\\:\\:\\$file \\(string\\) does not accept string\\|false\\.$#"
count: 1
path: tests/PhpWordTests/TestHelperDOCX.php
-
message: "#^Method PhpOffice\\\\PhpWordTests\\\\TestableTemplateProcesor\\:\\:__construct\\(\\) has parameter \\$mainPart with no type specified\\.$#"
count: 1
@@ -1832,17 +1787,12 @@ parameters:
-
message: "#^Cannot access property \\$length on DOMNodeList\\<DOMNode\\>\\|false\\.$#"
count: 6
count: 9
path: tests/PhpWordTests/Writer/HTML/ElementTest.php
-
message: "#^Cannot call method item\\(\\) on DOMNodeList\\<DOMNode\\>\\|false\\.$#"
count: 8
path: tests/PhpWordTests/Writer/HTML/ElementTest.php
-
message: "#^Method PhpOffice\\\\PhpWordTests\\\\Writer\\\\HTML\\\\ElementTest\\:\\:getAsHTML\\(\\) has no return type specified\\.$#"
count: 1
count: 11
path: tests/PhpWordTests/Writer/HTML/ElementTest.php
-