You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
787 B

includes:
- ./vendor/nunomaduro/larastan/extension.neon
- ./phpstan-baseline.neon
parameters:
level: max
paths:
- app
- config
- routes
universalObjectCratesClasses:
- Illuminate\Http\Resources\Json\JsonResource
ignoreErrors:
- '#Static call to instance method Illuminate\\Support\\Str::is(True|False|Null|JsonArray|JsonObject)\(\)#'
- '#Static method App\\Models\\\w+::select\(\) invoked with.*#'
- '#Method App\\Models\\\w+::select\(\) invoked with.*#'
-
message: '#Undefined variable: \$this#'
path: %currentWorkingDirectory%/routes/console.php
-
message: '#Using \$this outside a class#'
path: %currentWorkingDirectory%/routes/console.php