Skip to content

Commit

Permalink
Fixed phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
nasrulhazim committed Oct 15, 2022
1 parent 9716cb1 commit b5c5208
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ includes:

parameters:
level: 4
ignoreErrors:
-
message: '#Access to an undefined property Spatie\\MediaLibrary\\MediaCollections\\Models\\Media::\$uuid.#'
path: support/helpers.php
-
message: '#Method Bekwoh\\LaravelMediaSecure\\Http\\Controllers\\MediaController::__invoke\(\) should return Illuminate\\Http\\Response but returns Symfony\\Component\\HttpFoundation\\BinaryFileResponse.#'
path: src/Http/Controllers/MediaController.php
paths:
- src
- config
- database
- routes
- src
- support
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false

Empty file removed resources/views/.gitkeep
Empty file.

0 comments on commit b5c5208

Please sign in to comment.