phpstan-baseline.neon 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: "#^Property Monolog\\\\ErrorHandler\\:\\:\\$reservedMemory is never read, only written\\.$#"
  5. count: 1
  6. path: src/Monolog/ErrorHandler.php
  7. -
  8. message: "#^Parameter \\#2 \\$array of function implode expects array\\<string\\>, array\\<array\\<string, array\\|DateTimeImmutable\\|int\\|string\\>\\> given\\.$#"
  9. count: 1
  10. path: src/Monolog/Formatter/JsonFormatter.php
  11. -
  12. message: "#^Property SoapFault\\:\\:\\$faultactor \\(string\\) in isset\\(\\) is not nullable\\.$#"
  13. count: 1
  14. path: src/Monolog/Formatter/LineFormatter.php
  15. -
  16. message: "#^Property SoapFault\\:\\:\\$faultcode \\(string\\) in isset\\(\\) is not nullable\\.$#"
  17. count: 1
  18. path: src/Monolog/Formatter/LineFormatter.php
  19. -
  20. message: "#^Method Monolog\\\\Formatter\\\\NormalizerFormatter\\:\\:normalize\\(\\) return type has no value type specified in iterable type array\\.$#"
  21. count: 1
  22. path: src/Monolog/Formatter/NormalizerFormatter.php
  23. -
  24. message: "#^Offset 'line' does not exist on array\\{function\\: string, line\\?\\: int, file\\: string, class\\?\\: class\\-string, type\\?\\: '\\-\\>'\\|'\\:\\:', args\\?\\: array, object\\?\\: object\\}\\.$#"
  25. count: 1
  26. path: src/Monolog/Formatter/NormalizerFormatter.php
  27. -
  28. message: "#^PHPDoc tag @var for variable \\$value has no value type specified in iterable type array\\.$#"
  29. count: 2
  30. path: src/Monolog/Formatter/NormalizerFormatter.php
  31. -
  32. message: "#^Property SoapFault\\:\\:\\$faultactor \\(string\\) in isset\\(\\) is not nullable\\.$#"
  33. count: 1
  34. path: src/Monolog/Formatter/NormalizerFormatter.php
  35. -
  36. message: "#^Property SoapFault\\:\\:\\$faultcode \\(string\\) in isset\\(\\) is not nullable\\.$#"
  37. count: 1
  38. path: src/Monolog/Formatter/NormalizerFormatter.php
  39. -
  40. message: "#^Method Monolog\\\\Formatter\\\\WildfireFormatter\\:\\:normalize\\(\\) return type has no value type specified in iterable type array\\.$#"
  41. count: 1
  42. path: src/Monolog/Formatter/WildfireFormatter.php
  43. -
  44. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:call\\(\\) through static\\:\\:\\.$#"
  45. count: 3
  46. path: src/Monolog/Handler/BrowserConsoleHandler.php
  47. -
  48. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:call_array\\(\\) through static\\:\\:\\.$#"
  49. count: 3
  50. path: src/Monolog/Handler/BrowserConsoleHandler.php
  51. -
  52. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:dump\\(\\) through static\\:\\:\\.$#"
  53. count: 2
  54. path: src/Monolog/Handler/BrowserConsoleHandler.php
  55. -
  56. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:generateScript\\(\\) through static\\:\\:\\.$#"
  57. count: 2
  58. path: src/Monolog/Handler/BrowserConsoleHandler.php
  59. -
  60. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:getConsoleMethodForLevel\\(\\) through static\\:\\:\\.$#"
  61. count: 1
  62. path: src/Monolog/Handler/BrowserConsoleHandler.php
  63. -
  64. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:handleCustomStyles\\(\\) through static\\:\\:\\.$#"
  65. count: 1
  66. path: src/Monolog/Handler/BrowserConsoleHandler.php
  67. -
  68. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:handleStyles\\(\\) through static\\:\\:\\.$#"
  69. count: 2
  70. path: src/Monolog/Handler/BrowserConsoleHandler.php
  71. -
  72. message: "#^Unsafe call to private method Monolog\\\\Handler\\\\BrowserConsoleHandler\\:\\:quote\\(\\) through static\\:\\:\\.$#"
  73. count: 9
  74. path: src/Monolog/Handler/BrowserConsoleHandler.php
  75. -
  76. message: "#^Method Monolog\\\\Handler\\\\ElasticsearchHandler\\:\\:bulkSend\\(\\) has parameter \\$records with no value type specified in iterable type array\\.$#"
  77. count: 1
  78. path: src/Monolog/Handler/ElasticsearchHandler.php
  79. -
  80. message: "#^Method Monolog\\\\Handler\\\\LogglyHandler\\:\\:loadCurlHandle\\(\\) never returns resource so it can be removed from the return type\\.$#"
  81. count: 1
  82. path: src/Monolog/Handler/LogglyHandler.php
  83. -
  84. message: "#^Property Monolog\\\\Handler\\\\MongoDBHandler\\:\\:\\$namespace \\(string\\) in isset\\(\\) is not nullable\\.$#"
  85. count: 1
  86. path: src/Monolog/Handler/MongoDBHandler.php
  87. -
  88. message: "#^Offset 'dirname' does not exist on array\\{dirname\\?\\: string, basename\\: string, extension\\?\\: string, filename\\: string\\}\\.$#"
  89. count: 2
  90. path: src/Monolog/Handler/RotatingFileHandler.php
  91. -
  92. message: "#^Method Monolog\\\\Logger\\:\\:__construct\\(\\) has parameter \\$processors with no value type specified in iterable type array\\.$#"
  93. count: 2
  94. path: src/Monolog/Logger.php
  95. -
  96. message: "#^Property Monolog\\\\Logger\\:\\:\\$fiberLogDepth \\(WeakMap\\<Fiber, int\\>\\|null\\) does not accept non\\-empty\\-array\\<int\\|string, int\\>\\|WeakMap\\<Fiber, int\\>\\.$#"
  97. count: 3
  98. path: src/Monolog/Logger.php
  99. -
  100. message: "#^Method Monolog\\\\Processor\\\\IntrospectionProcessor\\:\\:isTraceClassOrSkippedFunction\\(\\) has parameter \\$trace with no value type specified in iterable type array\\.$#"
  101. count: 1
  102. path: src/Monolog/Processor/IntrospectionProcessor.php
  103. -
  104. message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#"
  105. count: 1
  106. path: src/Monolog/Processor/UidProcessor.php
  107. -
  108. message: "#^Cannot access offset int on 0\\|0\\.0\\|array\\<int, mixed\\>\\|string\\|false\\|null\\.$#"
  109. count: 1
  110. path: src/Monolog/SignalHandler.php
  111. -
  112. message: "#^Dead catch \\- Throwable is never thrown in the try block\\.$#"
  113. count: 1
  114. path: src/Monolog/Utils.php
  115. -
  116. message: "#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\<int\\|string, string\\>\\)\\: string, Closure\\(mixed\\)\\: \\(array\\<int, string\\>\\|string\\|false\\) given\\.$#"
  117. count: 1
  118. path: src/Monolog/Utils.php