phpstan.neon.dist 676 B

1234567891011121314151617
  1. parameters:
  2. level: 3
  3. paths:
  4. - lib
  5. ignoreErrors:
  6. # Making classes final as suggested would be a BC-break
  7. -
  8. message: '~Unsafe usage of new static\(\)\.~'
  9. paths:
  10. - 'lib/Doctrine/Common/Collections/ArrayCollection.php'
  11. - 'lib/Doctrine/Common/Collections/Criteria.php'
  12. -
  13. message: '~Array \(array\<TKey of \(int\|string\), T\>\) does not accept key int\.~'
  14. path: 'lib/Doctrine/Common/Collections/ArrayCollection.php'
  15. # This class is new in PHP 8.1 and PHPStan does not know it yet.
  16. - '/Attribute class ReturnTypeWillChange does not exist./'