Skip to content

Commit 22de4b6

Browse files
Ignore variable.undefined errors since too noisy
Co-authored-by: Dovid Levine <david@axepress.dev>
1 parent 593a10c commit 22de4b6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

phpstan.neon.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ parameters:
3434
identifier: function.inner
3535
path: src/wp-includes/canonical.php
3636
count: 1
37+
38+
# Level 1:
39+
- # These are too noisy at the moment.
40+
identifier: variable.undefined
41+
message: '#Variable \$[a-zA-Z0-9_]+ might not be defined\.#'

0 commit comments

Comments
 (0)