forked from RoboJackets/apiary
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
63 lines (63 loc) · 4.33 KB
/
Copy pathphpstan.neon
File metadata and controls
63 lines (63 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
parameters:
excludes_analyse:
- %currentWorkingDirectory%/database/*
- %currentWorkingDirectory%/vendor/*
- *.blade.php
includes:
- %rootDir%/../phpstan-deprecated-rules/rules.neon
- %rootDir%/../phpstan-strict-rules/rules.neon
- %currentWorkingDirectory%/vendor/nunomaduro/larastan/extension.neon
ignoreErrors:
- '#Access to an undefined property .+::\$[a-zA-Z]+#'
- '#Access to protected property App\\Team::\$visible#'
- '#App\\Nova\\Metrics\\[a-zA-Z]+::__construct\(\) does not call parent constructor from Laravel\\Nova\\Element#'
- '#Binary operation .+ between .+ and array|string|null results in an error#'
- '#Call to an undefined method [a-zA-Z\\|]+::active\(\)#'
- '#Call to an undefined method [a-zA-Z\\|]+::availableForPurchase\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::authorizeInclude\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::delete\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::find\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::get\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::givePermissionTo\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::intended\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::paid\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::save\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::syncPermissions\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::view\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::visible\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::where\(\)#'
- '#Call to an undefined method [a-zA-Z\|\\]+::with\(\)#'
- '#Call to an undefined method Illuminate\\Contracts\\Auth\\Factory|Illuminate\\Contracts\\Auth\\Guard::user\(\)#'
- '#Call to an undefined method Illuminate\\Contracts\\Routing\\ResponseFactory\|Illuminate\\Http\\Response::json\(\)#'
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::[a-zA-Z]+\(\)#'
- '#Call to an undefined method Illuminate\\Http\\Request::model\(\)#'
- '#Call to an undefined method Illuminate\\Support\\Collection::downloadExcel\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::create\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::current\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::doesntHave\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::find\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::findOrFail\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::notifyException\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::paid\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::pending\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::select\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::selectRaw\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::where\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::whereBetween\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::whereIn\(\)#'
- '#Call to an undefined static method [a-zA-Z\\]+::whereRaw\(\)#'
- '#Call to an undefined static method [a-zA-Z\|\\]+::pendingSwag\(\)#'
- '#Call to an undefined static method [a-zA-Z\|\\]+::visible\(\)#'
- '#Call to an undefined static method App\\RecruitingCampaignRecipient::firstOrNew\(\)#'
- '#Call to an undefined static method App\\RecruitingVisit::chunk\(\)#'
- '#Call to an undefined static method App\\User::active\(\)#'
- '#Call to an undefined static method App\\User::findByIdentifier\(\)#'
- '#Call to an undefined static method Illuminate\\Support\\Facades\\DB::rollback\(\)#'
- '#Call to an undefined static method Laravel\\Socialite\\Facades\\Socialite::driver\(\)#'
- '#Call to static method [a-zA-Z]+\(\) on an unknown class [a-zA-Z0-9\\]+#'
- '#Cannot access property .+ on Illuminate\\Contracts\\Auth\\Authenticatable\|null#'
- '#Cannot call method .+ on Illuminate\\Contracts\\Auth\\Authenticatable\|null#'
- '#Cannot call method .+ on SquareConnect\\Model\\RetrieveTransactionResponse\|Throwable\|null#'
- '#Method [a-zA-Z0-9\\]+::[a-zA-Z0-9]+\(\) should return [a-zA-Z0-9\\]+\\?[a-zA-Z0-9\\]+ but returns [a-zA-Z0-9\\]+\|?\\?[a-zA-Z0-9\\]+#'
- '#Result of && is always false.#'
- '#Strict comparison using === between false and array will always evaluate to false#'