Skip to content

Commit

Permalink
Merge pull request #1 from samlev/feature/composer-cleanup
Browse files Browse the repository at this point in the history
Removed some excess stuff from composer/phpstan
  • Loading branch information
kyoungportable authored Sep 1, 2023
2 parents 83b969f + ebcffb8 commit 5aae819
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 5aae819

Please sign in to comment.