Skip to content

Commit

Permalink
Removed some excess stuff from composer/phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
samlev committed Sep 1, 2023
1 parent 83b969f commit ebcffb8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 270 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"laravel/pint": "^1.12",
"squizlabs/php_codesniffer": "^3.7",
"nunomaduro/larastan": "^2.6",
"archtechx/enums": "^0.3.2",
"orchestra/testbench": "^8.10"
}
}
16 changes: 0 additions & 16 deletions phpstan-stubs/Spatie/Permissions/Exceptions.stub

This file was deleted.

120 changes: 0 additions & 120 deletions phpstan-stubs/Spatie/Permissions/Models.stub

This file was deleted.

76 changes: 0 additions & 76 deletions phpstan-stubs/Staudenmeir/LaravelAdjacencyList/Eloquent.stub

This file was deleted.

48 changes: 0 additions & 48 deletions phpstan-stubs/Staudenmeir/LaravelAdjacencyList/Relations.stub

This file was deleted.

9 changes: 0 additions & 9 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/archtechx/enums/extension.neon

parameters:
paths:
- src
stubFiles:
- phpstan-stubs/Spatie/Permissions/Models.stub
- phpstan-stubs/Spatie/Permissions/Exceptions.stub
- phpstan-stubs/Staudenmeir/LaravelAdjacencyList/Relations.stub

# The level 9 is the highest level
level: 6

checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false

# Handle some custom returns that PHP stan can't cope with
earlyTerminatingMethodCalls:
App\Actions\Fortify\AttemptToAuthenticate:
- throwFailedAuthenticationException

0 comments on commit ebcffb8

Please sign in to comment.