phpstan.neon 1.4 KB

1234567891011121314151617181920
  1. parameters:
  2. level: 5
  3. reportUnmatchedIgnoredErrors: true
  4. inferPrivatePropertyTypeFromConstructor: true
  5. ignoreErrors:
  6. - '#Call to an undefined static method Illuminate\\Support\\Facades\\URL::forceRootUrl\(\)#'
  7. - '#Call to an undefined method Illuminate\\Routing\\Route::versions\(\).#'
  8. - '#Call to an undefined method Illuminate\\Contracts\\Validation\\Validator::getRules\(\).#'
  9. - '#Call to an undefined method ReflectionType::getName\(\).#'
  10. - '#.+Dingo.+#'
  11. - '#Call to an undefined method Illuminate\\Contracts\\Filesystem\\Filesystem::path\(\)#'
  12. - '#Access to an undefined property Illuminate\\Support\\HigherOrderCollectionProxy#'
  13. - '#Access to an undefined property Illuminate\\Contracts\\Foundation\\Application::\$view#'
  14. - '#Unsafe usage of new static#'
  15. - '#Dead catch#'
  16. - '/Call to an undefined static method Illuminate\\Database\\Eloquent\\Model::first\(\)/'
  17. - '/Call to an undefined method League\\Flysystem\\Filesystem::deleteDir\(\)./'
  18. - '/Instantiated class League\\Flysystem\\Adapter\\Local not found./'
  19. - '/Parameter #1 \$adapter of class League\\Flysystem\\Filesystem constructor expects League\\Flysystem\\FilesystemAdapter, League\\Flysystem\\Adapter\\Local given./'
  20. - '/Call to method getPathPrefix\(\) on an unknown class League\\Flysystem\\Adapter\\Local/'