Skip to content

Commit e8a14a3

Browse files
committed
PHPStan: don't treat PHPDoc as certain.
Can't ever really trust what plugins might be passing around, so while the PHPDoc needs to be accurate, the internals need to be able to perform sanity checks on parameter values without PHPStan complaining.
1 parent e4dfc84 commit e8a14a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
parameters:
22
level: 6
3+
treatPhpDocTypesAsCertain: false
34
paths:
45
- wp-multi-network/includes
56
- wpmn-loader.php

0 commit comments

Comments
 (0)