phpstan.neon 492 B

123456789101112131415161718
  1. parameters:
  2. level: 5
  3. paths:
  4. - src
  5. bootstrapFiles:
  6. - tests/phpstan-bootstrap.php
  7. ignoreErrors:
  8. # PHPStan does not support dynamic by reference return used by Nette\Utils\Strings::pcre()
  9. - '#Undefined variable: \$m#'
  10. # PHPStan does not support RecursiveIteratorIterator proxying unknown method calls to inner iterator
  11. - '#RecursiveIteratorIterator::getSubPathName\(\)#'
  12. # static cannot be changed to maintain backward compatibility
  13. - '#Unsafe usage of new static\(\)#'