phpstan-baseline.neon 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: '#^Method Doctrine\\DBAL\\Driver\\IBMDB2\\Connection\:\:exec\(\) never returns numeric\-string so it can be removed from the return type\.$#'
  5. identifier: return.unusedType
  6. count: 1
  7. path: src/Driver/IBMDB2/Connection.php
  8. -
  9. message: '#^Method Doctrine\\DBAL\\Driver\\OCI8\\Connection\:\:exec\(\) never returns numeric\-string so it can be removed from the return type\.$#'
  10. identifier: return.unusedType
  11. count: 1
  12. path: src/Driver/OCI8/Connection.php
  13. -
  14. message: '#^Method Doctrine\\DBAL\\Driver\\OCI8\\Result\:\:fetchAllAssociative\(\) should return list\<array\<string, mixed\>\> but returns array\<mixed\>\.$#'
  15. identifier: return.type
  16. count: 1
  17. path: src/Driver/OCI8/Result.php
  18. -
  19. message: '#^Method Doctrine\\DBAL\\Driver\\OCI8\\Result\:\:fetchAllNumeric\(\) should return list\<list\<mixed\>\> but returns array\<mixed\>\.$#'
  20. identifier: return.type
  21. count: 1
  22. path: src/Driver/OCI8/Result.php
  23. -
  24. message: '#^Method Doctrine\\DBAL\\Driver\\PDO\\Result\:\:fetchAll\(\) should return list\<mixed\> but returns array\.$#'
  25. identifier: return.type
  26. count: 1
  27. path: src/Driver/PDO/Result.php
  28. -
  29. message: '#^Method Doctrine\\DBAL\\Driver\\PgSQL\\Result\:\:fetchAllAssociative\(\) should return list\<array\<string, mixed\>\> but returns array\<int, array\<string, mixed\>\>\.$#'
  30. identifier: return.type
  31. count: 1
  32. path: src/Driver/PgSQL/Result.php
  33. -
  34. message: '#^Method Doctrine\\DBAL\\Driver\\PgSQL\\Result\:\:fetchAllNumeric\(\) should return list\<list\<mixed\>\> but returns array\<int, list\<mixed\>\>\.$#'
  35. identifier: return.type
  36. count: 1
  37. path: src/Driver/PgSQL/Result.php
  38. -
  39. message: '#^Method Doctrine\\DBAL\\Driver\\PgSQL\\Result\:\:fetchFirstColumn\(\) should return list\<mixed\> but returns array\<int, bool\|float\|int\|string\|null\>\.$#'
  40. identifier: return.type
  41. count: 1
  42. path: src/Driver/PgSQL/Result.php
  43. -
  44. message: '#^Method Doctrine\\DBAL\\Driver\\SQLite3\\Result\:\:fetchNumeric\(\) should return list\<mixed\>\|false but returns array\|false\.$#'
  45. identifier: return.type
  46. count: 1
  47. path: src/Driver/SQLite3/Result.php
  48. -
  49. message: '#^Template type T is declared as covariant, but occurs in invariant position in property Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:\$platform\.$#'
  50. identifier: generics.variance
  51. count: 1
  52. path: src/Schema/AbstractSchemaManager.php
  53. -
  54. message: '#^Loose comparison via "\!\=" is not allowed\.$#'
  55. identifier: notEqual.notAllowed
  56. count: 1
  57. path: src/Schema/ColumnDiff.php
  58. -
  59. message: '#^Method Doctrine\\DBAL\\Schema\\SQLiteSchemaManager\:\:addDetailsToTableForeignKeyColumns\(\) should return list\<array\<string, mixed\>\> but returns array\<int\<0, max\>, array\<string, mixed\>\>\.$#'
  60. identifier: return.type
  61. count: 1
  62. path: src/Schema/SQLiteSchemaManager.php
  63. -
  64. message: '#^Offset string might not exist on array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, host\?\: string, \.\.\.\}\.$#'
  65. identifier: offsetAccess.notFound
  66. count: 1
  67. path: tests/DriverManagerTest.php
  68. -
  69. message: '#^Call to new Doctrine\\DBAL\\Driver\\PgSQL\\Result\(\) on a separate line has no effect\.$#'
  70. identifier: new.resultUnused
  71. count: 1
  72. path: tests/Functional/Driver/PgSQL/ResultTest.php
  73. -
  74. message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
  75. identifier: arrayFilter.strict
  76. count: 1
  77. path: tests/Functional/Schema/MySQL/JsonCollationTest.php