We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93902a4 commit c2165aaCopy full SHA for c2165aa
1 file changed
phpstan.neon
@@ -3,3 +3,11 @@ parameters:
3
- stubs/phpstan/datamachine-base-command.php
4
- stubs/phpstan/datamachine-plugin-settings.php
5
- stubs/phpstan/datamachine-system-task.php
6
+ ignoreErrors:
7
+ # The inventory repository intentionally guards $wpdb with isset()/method_exists()
8
+ # for multisite safety, which narrows the global to class-string|object and makes
9
+ # PHPStan reject the subsequent $wpdb method calls. The runtime object is always a
10
+ # \wpdb here; these calls are safe.
11
+ -
12
+ identifier: method.nonObject
13
+ path: inc/Storage/WorktreeInventoryRepository.php
0 commit comments