Skip to content

Commit 35b3774

Browse files
authored
Merge pull request #2457 from PHPOffice/dependabot/composer/phpstan/phpstan-phpunit-1.3.14
Bump phpstan/phpstan-phpunit from 1.3.13 to 1.3.14
2 parents c3391b9 + e3cae8d commit 35b3774

File tree

3 files changed

+16
-32
lines changed

3 files changed

+16
-32
lines changed

composer.lock

Lines changed: 13 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/changes/1.x/1.2.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@
2727
- Bump phpunit/phpunit from 9.6.8 to 9.6.10 by [@dependabot](https://github.com/dependabot) in GH-2430
2828
- Added Coveralls.io by [@Progi1984](https://github.com/Progi1984) in GH-2452
2929
- Added support for PHP 8.2 & PHP 8.3 by [@Progi1984](https://github.com/Progi1984) in GH-2453
30-
- Moved documention from ReadTheDocs to MkDocs & Github Pages by [@Progi1984](https://github.com/Progi1984) in GH-2465
30+
- Moved documention from ReadTheDocs to MkDocs & Github Pages by [@Progi1984](https://github.com/Progi1984) in GH-2465
31+
- Bump phpstan/phpstan-phpunit from 1.3.13 to 1.3.14 by [@dependabot](https://github.com/dependabot) in [#2457](https://github.com/PHPOffice/PHPWord/pull/2457)

phpstan-baseline.neon

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ parameters:
4646
path: src/PhpWord/Element/Footnote.php
4747

4848
-
49-
message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Image\\:\\:getArchiveImageSize\\(\\) should return array\\|null but returns array\\|false\\|null\\.$#"
49+
message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Image\\:\\:getArchiveImageSize\\(\\) should return array\\|null but returns array<int\\|string, int\\|string>\\|false\\|null\\.$#"
5050
count: 1
5151
path: src/PhpWord/Element/Image.php
5252

@@ -325,11 +325,6 @@ parameters:
325325
count: 1
326326
path: src/PhpWord/Reader/Word2007/Settings.php
327327

328-
-
329-
message: "#^Static property PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\\\Settings\\:\\:\\$booleanProperties is never read, only written\\.$#"
330-
count: 1
331-
path: src/PhpWord/Reader/Word2007/Settings.php
332-
333328
-
334329
message: "#^Parameter \\#1 \\$filename of function parse_ini_file expects string, string\\|false given\\.$#"
335330
count: 1
@@ -870,11 +865,6 @@ parameters:
870865
count: 1
871866
path: src/PhpWord/Style/ListItem.php
872867

873-
-
874-
message: "#^Parameter \\#2 \\$string of function explode expects string, array\\<string, int\\|string\\>\\|string given\\.$#"
875-
count: 1
876-
path: src/PhpWord/Style/ListItem.php
877-
878868
-
879869
message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\:\\:setStyleValue\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
880870
count: 1
@@ -1265,11 +1255,6 @@ parameters:
12651255
count: 1
12661256
path: src/PhpWord/Writer/ODText/Element/Text.php
12671257

1268-
-
1269-
message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Element\\\\Text\\:\\:replacetabs\\(\\) is unused\\.$#"
1270-
count: 1
1271-
path: src/PhpWord/Writer/ODText/Element/Text.php
1272-
12731258
-
12741259
message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Element\\\\Text\\:\\:writeChangeInsertion\\(\\) has parameter \\$start with no type specified\\.$#"
12751260
count: 1

0 commit comments

Comments
 (0)