phpstan-baseline.neon 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: "#^Method PHPStan\\\\PhpDocParser\\\\Ast\\\\ConstExpr\\\\QuoteAwareConstExprStringNode\\:\\:escapeDoubleQuotedString\\(\\) should return string but returns string\\|null\\.$#"
  5. count: 1
  6. path: src/Ast/ConstExpr/QuoteAwareConstExprStringNode.php
  7. -
  8. message: "#^Cannot use array destructuring on array\\<int, array\\<PHPStan\\\\PhpDocParser\\\\Ast\\\\Node\\>\\|int\\|string\\>\\|null\\.$#"
  9. count: 1
  10. path: src/Ast/NodeTraverser.php
  11. -
  12. message: "#^Strict comparison using \\=\\=\\= between 2 and 2 will always evaluate to true\\.$#"
  13. count: 2
  14. path: src/Ast/NodeTraverser.php
  15. -
  16. message: "#^Variable property access on PHPStan\\\\PhpDocParser\\\\Ast\\\\Node\\.$#"
  17. count: 1
  18. path: src/Ast/NodeTraverser.php
  19. -
  20. message: "#^Method PHPStan\\\\PhpDocParser\\\\Parser\\\\StringUnescaper\\:\\:parseEscapeSequences\\(\\) should return string but returns string\\|null\\.$#"
  21. count: 1
  22. path: src/Parser/StringUnescaper.php
  23. -
  24. message: "#^Variable property access on PHPStan\\\\PhpDocParser\\\\Ast\\\\Node\\.$#"
  25. count: 2
  26. path: src/Printer/Printer.php