phpstan-baseline.neon 1.1 KB

123456789101112131415161718192021
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: "#^Anonymous function should return GrahamCampbell\\\\ResultType\\\\Result\\<array\\{mixed, mixed\\}, string\\> but returns GrahamCampbell\\\\ResultType\\\\Result\\<array\\{Dotenv\\\\Parser\\\\Value, mixed\\}, string\\>\\.$#"
  5. count: 1
  6. path: src/Parser/EntryParser.php
  7. -
  8. message: "#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#"
  9. count: 1
  10. path: src/Parser/Lexer.php
  11. -
  12. message: "#^Parameter \\#1 \\$readers of class Dotenv\\\\Repository\\\\RepositoryBuilder constructor expects array\\<Dotenv\\\\Repository\\\\Adapter\\\\ReaderInterface\\>, array\\<Dotenv\\\\Repository\\\\Adapter\\\\ReaderInterface\\|S\\> given\\.$#"
  13. count: 2
  14. path: src/Repository/RepositoryBuilder.php
  15. -
  16. message: "#^Parameter \\#2 \\$writers of class Dotenv\\\\Repository\\\\RepositoryBuilder constructor expects array\\<Dotenv\\\\Repository\\\\Adapter\\\\WriterInterface\\>, array\\<Dotenv\\\\Repository\\\\Adapter\\\\WriterInterface\\|S\\> given\\.$#"
  17. count: 2
  18. path: src/Repository/RepositoryBuilder.php