Skip to content

Commit

Permalink
phpstan.neon: ignores 'Unsafe usage of new static'
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 9, 2020
1 parent 66d92af commit 2c17d16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ parameters:

# PHPStan does not support RecursiveIteratorIterator proxying unknown method calls to inner iterator
- '#RecursiveIteratorIterator::getSubPathName\(\)#'

# static cannot be changed to maintain backward compatibility
- '#Unsafe usage of new static\(\)#'

0 comments on commit 2c17d16

Please sign in to comment.