Skip to content

Commit 5696bba

Browse files
swissspidyCopilot
andauthored
PHPStan level 9 (#229)
* PHPStan level 9 * Update src/Media_Command.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Media_Command.php * Update src/Media_Command.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Media_Command.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Media_Command.php * More fixes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fc5c9c9 commit 5696bba

2 files changed

Lines changed: 177 additions & 19 deletions

File tree

phpstan.neon.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
parameters:
2+
level: 9
3+
paths:
4+
- src
5+
- media-command.php
6+
scanDirectories:
7+
- vendor/wp-cli/wp-cli/php
8+
scanFiles:
9+
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
10+
treatPhpDocTypesAsCertain: false
11+
ignoreErrors:
12+
- identifier: missingType.iterableValue

0 commit comments

Comments
 (0)