Repository navigation
Expand file tree
/
Copy pathextension.neon
More file actions
143 lines (139 loc) · 5.54 KB
/
Copy pathextension.neon
File metadata and controls
143 lines (139 loc) · 5.54 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
parameters:
universalObjectCratesClasses:
- Illuminate\Http\Request
- Illuminate\Support\Optional
earlyTerminatingFunctionCalls:
- abort
- dd
mixinExcludeClasses:
- Eloquent
bootstrapFiles:
- bootstrap.php
laravel:
rules:
authInRequestScope: false
batchableJobChecksCancellation: false
batchedJobIsBatchable: false
batchedUniqueJob: false
configAccessor: true
dispatchInTransactionAfterCommit: false
envCallOutsideConfig: true
jobSerializesModels: false
missingTranslation: false
modelAppends: true
modelForwardingToBuilder: false
modelMake: true
modelMethodVisibility: false
modelStaticForwardingToBuilder: false
octaneCompatibility: false
undefinedConfigName: false
uniqueJobUniqueFor: false
uniqueJobUniqueId: false
unnecessaryCollectionCall:
enabled: true
only: []
except: []
unnecessaryEnumerableToArrayCall: true
unusedView: false
migrationDirectories: []
schemaDirectories: []
scanMigrations: true
scanSchema: true
sqlParser: auto
configDirectories: []
translationDirectories: []
viewDirectories: []
staticMacroClasses:
- Illuminate\Support\Arr
- Illuminate\Support\Str
- Illuminate\Support\Number
- Illuminate\Support\Benchmark
- Illuminate\Validation\Rule
modelPropertyType: false
strictContracts: false
parametersSchema:
laravel: structure([
rules: structure([
authInRequestScope: bool()
batchableJobChecksCancellation: bool()
batchedJobIsBatchable: bool()
batchedUniqueJob: bool()
configAccessor: bool()
dispatchInTransactionAfterCommit: bool()
envCallOutsideConfig: bool()
jobSerializesModels: bool()
missingTranslation: bool()
modelAppends: bool()
modelForwardingToBuilder: bool()
modelMake: bool()
modelMethodVisibility: bool()
modelStaticForwardingToBuilder: bool()
octaneCompatibility: bool()
undefinedConfigName: bool()
uniqueJobUniqueFor: bool()
uniqueJobUniqueId: bool()
unnecessaryCollectionCall: structure([
enabled: bool()
only: listOf(string())
except: listOf(string())
])
unnecessaryEnumerableToArrayCall: bool()
unusedView: bool()
])
migrationDirectories: listOf(string())
schemaDirectories: listOf(string())
scanMigrations: bool()
scanSchema: bool()
sqlParser: anyOf('auto', 'iamcal', 'phpmyadmin', 'postgres')
configDirectories: listOf(string())
translationDirectories: listOf(string())
viewDirectories: listOf(string())
staticMacroClasses: listOf(string())
modelPropertyType: bool()
strictContracts: bool()
])
expandRelativePaths:
- '[parameters][laravel][configDirectories][]'
- '[parameters][laravel][migrationDirectories][]'
- '[parameters][laravel][schemaDirectories][]'
- '[parameters][laravel][translationDirectories][]'
- '[parameters][laravel][viewDirectories][]'
services:
- class: CalebDW\PhpstanLaravel\Types\AbortIfFunctionTypeSpecifyingExtension
arguments: {methodName: 'abort', negate: false}
tags: [phpstan.typeSpecifier.functionTypeSpecifyingExtension]
- class: CalebDW\PhpstanLaravel\Types\AbortIfFunctionTypeSpecifyingExtension
arguments: {methodName: 'abort', negate: true}
tags: [phpstan.typeSpecifier.functionTypeSpecifyingExtension]
- class: CalebDW\PhpstanLaravel\Types\AbortIfFunctionTypeSpecifyingExtension
arguments: {methodName: throw, negate: false}
tags: [phpstan.typeSpecifier.functionTypeSpecifyingExtension]
- class: CalebDW\PhpstanLaravel\Types\AbortIfFunctionTypeSpecifyingExtension
arguments: {methodName: throw, negate: true}
tags: [phpstan.typeSpecifier.functionTypeSpecifyingExtension]
- class: CalebDW\PhpstanLaravel\Rules\CheckDispatchArgumentTypesCompatibleWithClassConstructorRule
arguments: {dispatchableClass: Illuminate\Foundation\Bus\Dispatchable}
tags: [phpstan.rules.rule]
- class: CalebDW\PhpstanLaravel\Rules\CheckDispatchArgumentTypesCompatibleWithClassConstructorRule
arguments: {dispatchableClass: Illuminate\Foundation\Events\Dispatchable}
tags: [phpstan.rules.rule]
- class: CalebDW\PhpstanLaravel\ReturnTypes\Methods\EloquentPluckExtension
arguments: {class: Illuminate\Database\Eloquent\Builder, templateType: TModel}
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
- class: CalebDW\PhpstanLaravel\ReturnTypes\Methods\EloquentPluckExtension
arguments: {class: Illuminate\Database\Eloquent\Relations\Relation, templateType: TRelatedModel}
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
- class: CalebDW\PhpstanLaravel\ReturnTypes\Methods\EloquentModelKeysExtension
arguments: {class: Illuminate\Database\Eloquent\Builder, templateType: TModel}
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
- class: CalebDW\PhpstanLaravel\ReturnTypes\Methods\EloquentModelKeysExtension
arguments: {class: Illuminate\Database\Eloquent\Collection, templateType: TModel}
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
- class: CalebDW\PhpstanLaravel\ReturnTypes\Methods\PaginatorGetCollectionExtension
arguments: {class: Illuminate\Pagination\AbstractPaginator}
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
- class: CalebDW\PhpstanLaravel\ReturnTypes\Methods\PaginatorGetCollectionExtension
arguments: {class: Illuminate\Pagination\AbstractCursorPaginator}
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]
attributeServicesDirectories:
- src