baseline.neon 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. parameters:
  2. ignoreErrors:
  3. # Ignore a few issues with legacy vendored code
  4. - message: '#^Variable \$string on left side of \?\? always exists and is not nullable\.$#'
  5. path: ../../src/Readline/Hoa/ConsoleOutput.php
  6. - message: "#^Variable \\$_except in empty\\(\\) always exists and is always falsy\\.$#"
  7. count: 1
  8. path: ../../src/Readline/Hoa/ConsoleProcessus.php
  9. - message: "#^Variable \\$read in empty\\(\\) always exists and is not falsy\\.$#"
  10. count: 2
  11. path: ../../src/Readline/Hoa/Readline.php
  12. # PHPStan appears incapable of dealing with constructor parameters required by an interface, so...
  13. - message: "#^Constructor of class Psy\\\\Readline\\\\Transient has an unused parameter \\$historyFile\\.$#"
  14. count: 1
  15. path: ../../src/Readline/Transient.php
  16. - message: "#^Constructor of class Psy\\\\Readline\\\\Userland has an unused parameter \\$eraseDups\\.$#"
  17. count: 1
  18. path: ../../src/Readline/Userland.php
  19. - message: "#^Constructor of class Psy\\\\Readline\\\\Userland has an unused parameter \\$historyFile\\.$#"
  20. count: 1
  21. path: ../../src/Readline/Userland.php
  22. - message: "#^Constructor of class Psy\\\\Readline\\\\Userland has an unused parameter \\$historySize\\.$#"
  23. count: 1
  24. path: ../../src/Readline/Userland.php
  25. # Going away with the next release
  26. - message: "#^Constructor of class Psy\\\\Command\\\\ShowCommand has an unused parameter \\$colorMode\\.$#"
  27. count: 1
  28. path: ../../src/Command/ShowCommand.php
  29. - message: "#^Constructor of class Psy\\\\Command\\\\WhereamiCommand has an unused parameter \\$colorMode\\.$#"
  30. count: 1
  31. path: ../../src/Command/WhereamiCommand.php