-
Notifications
You must be signed in to change notification settings - Fork 574
Expand file tree
/
Copy pathconfig.neon
More file actions
279 lines (268 loc) · 8.4 KB
/
config.neon
File metadata and controls
279 lines (268 loc) · 8.4 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
includes:
- parametersSchema.neon
- services.neon
- parsers.neon
parameters:
bootstrapFiles:
- ../stubs/runtime/ReflectionUnionType.php
- ../stubs/runtime/ReflectionAttribute.php
- ../stubs/runtime/Attribute85.php
- ../stubs/runtime/ReflectionIntersectionType.php
excludePaths: []
level: null
paths: []
exceptions:
implicitThrows: true
reportUncheckedExceptionDeadCatch: true
uncheckedExceptionRegexes: []
uncheckedExceptionClasses: []
checkedExceptionRegexes: []
checkedExceptionClasses: []
check:
missingCheckedExceptionInThrows: false
tooWideThrowType: true
tooWideImplicitThrowType: false
throwTypeCovariance: false
featureToggles:
bleedingEdge: false
checkNonStringableDynamicAccess: false
checkParameterCastableToNumberFunctions: false
skipCheckGenericClasses:
- DOMNamedNodeMap
stricterFunctionMap: false
reportPreciseLineForUnusedFunctionParameter: false
checkPrintfParameterTypes: false
internalTag: false
newStaticInAbstractClassStaticMethod: false
checkExtensionsForComparisonOperators: false
reportTooWideBool: false
rawMessageInBaseline: false
reportNestedTooWideType: false
assignToByRefForeachExpr: false
curlSetOptArrayTypes: false
fileExtensions:
- php
checkAdvancedIsset: false
reportAlwaysTrueInLastCondition: false
checkClassCaseSensitivity: false
checkExplicitMixed: false
checkImplicitMixed: false
checkFunctionArgumentTypes: false
checkFunctionNameCase: false
checkInternalClassCaseSensitivity: false
checkMissingCallableSignature: false
checkMissingVarTagTypehint: false
checkArgumentsPassedByReference: false
checkMaybeUndefinedVariables: false
checkNullables: false
checkThisOnly: true
checkUnionTypes: false
checkBenevolentUnionTypes: false
checkExplicitMixedMissingReturn: false
checkPhpDocMissingReturn: false
checkPhpDocMethodSignatures: false
checkExtraArguments: false
checkMissingTypehints: false
checkTooWideParameterOutInProtectedAndPublicMethods: false
checkTooWideReturnTypesInProtectedAndPublicMethods: false
checkTooWideThrowTypesInProtectedAndPublicMethods: false
checkUninitializedProperties: false
checkDynamicProperties: false
strictRulesInstalled: false
deprecationRulesInstalled: false
inferPrivatePropertyTypeFromConstructor: false
checkStrictPrintfPlaceholderTypes: false
reportMaybes: false
reportMaybesInMethodSignatures: false
reportMaybesInPropertyPhpDocTypes: false
reportStaticMethodSignatures: false
reportWrongPhpDocTypeInVarTag: false
reportAnyTypeWideningInVarTag: false
reportPossiblyNonexistentGeneralArrayOffset: false
reportPossiblyNonexistentConstantArrayOffset: false
checkMissingOverrideMethodAttribute: false
checkMissingOverridePropertyAttribute: %checkMissingOverrideMethodAttribute%
mixinExcludeClasses: []
scanFiles: []
scanDirectories: []
parallel:
jobSize: 20
processTimeout: 600.0
maximumNumberOfProcesses: 32
minimumNumberOfJobsPerProcess: 2
buffer: 134217728 # 128 MB
phpVersion: null
polluteScopeWithLoopInitialAssignments: true
polluteScopeWithAlwaysIterableForeach: true
polluteScopeWithBlock: true
propertyAlwaysWrittenTags: []
propertyAlwaysReadTags: []
additionalConstructors: []
treatPhpDocTypesAsCertain: true
usePathConstantsAsConstantString: false
rememberPossiblyImpureFunctionValues: true
tips:
discoveringSymbols: true
treatPhpDocTypesAsCertain: true
tipsOfTheDay: true
reportMagicMethods: false
reportMagicProperties: false
ignoreErrors: []
internalErrorsCountLimit: 50
cache:
nodesByStringCountMax: 256
reportUnmatchedIgnoredErrors: true
typeAliases: []
universalObjectCratesClasses:
- stdClass
stubFiles:
- ../stubs/ReflectionAttribute.stub
- ../stubs/ReflectionClassConstant.stub
- ../stubs/ReflectionFunctionAbstract.stub
- ../stubs/ReflectionMethod.stub
- ../stubs/ReflectionParameter.stub
- ../stubs/ReflectionProperty.stub
- ../stubs/iterable.stub
- ../stubs/ArrayObject.stub
- ../stubs/WeakReference.stub
- ../stubs/ext-ds.stub
- ../stubs/ImagickPixel.stub
- ../stubs/PDOStatement.stub
- ../stubs/date.stub
- ../stubs/ibm_db2.stub
- ../stubs/mysqli.stub
- ../stubs/zip.stub
- ../stubs/dom.stub
- ../stubs/spl.stub
- ../stubs/SplObjectStorage.stub
- ../stubs/Exception.stub
- ../stubs/arrayFunctions.stub
- ../stubs/core.stub
- ../stubs/typeCheckingFunctions.stub
- ../stubs/Countable.stub
- ../stubs/file.stub
- ../stubs/stream_socket_client.stub
- ../stubs/stream_socket_server.stub
- ../stubs/ctype.stub
earlyTerminatingMethodCalls: []
earlyTerminatingFunctionCalls: []
resultCachePath: %tmpDir%/resultCache.php
resultCacheSkipIfOlderThanDays: 7
resultCacheChecksProjectExtensionFilesDependencies: false
dynamicConstantNames:
- ICONV_IMPL
- LIBXML_VERSION
- LIBXML_DOTTED_VERSION
- Memcached::HAVE_ENCODING
- Memcached::HAVE_IGBINARY
- Memcached::HAVE_JSON
- Memcached::HAVE_MSGPACK
- Memcached::HAVE_SASL
- Memcached::HAVE_SESSION
- PHP_VERSION
- PHP_MAJOR_VERSION
- PHP_MINOR_VERSION
- PHP_RELEASE_VERSION
- PHP_VERSION_ID
- PHP_EXTRA_VERSION
- PHP_WINDOWS_VERSION_MAJOR
- PHP_WINDOWS_VERSION_MINOR
- PHP_WINDOWS_VERSION_BUILD
- PHP_ZTS
- PHP_DEBUG
- PHP_MAXPATHLEN
- PHP_OS
- PHP_OS_FAMILY
- PHP_SAPI
- PHP_EOL
- PHP_INT_MAX
- PHP_INT_MIN
- PHP_INT_SIZE
- PHP_FLOAT_DIG
- PHP_FLOAT_EPSILON
- PHP_FLOAT_MIN
- PHP_FLOAT_MAX
- DEFAULT_INCLUDE_PATH
- PEAR_INSTALL_DIR
- PEAR_EXTENSION_DIR
- PHP_EXTENSION_DIR
- PHP_PREFIX
- PHP_BINDIR
- PHP_BINARY
- PHP_MANDIR
- PHP_LIBDIR
- PHP_DATADIR
- PHP_SYSCONFDIR
- PHP_LOCALSTATEDIR
- PHP_CONFIG_FILE_PATH
- PHP_CONFIG_FILE_SCAN_DIR
- PHP_SHLIB_SUFFIX
- PHP_FD_SETSIZE
- OPENSSL_VERSION_NUMBER
- ZEND_DEBUG_BUILD
- ZEND_THREAD_SAFE
- E_ALL # different on PHP 8.4
customRulesetUsed: null
editorUrl: null
editorUrlTitle: null
errorFormat: null
sysGetTempDir: ::sys_get_temp_dir()
sourceLocatorPlaygroundMode: false
pro:
dnsServers:
- '1.1.1.2'
tmpDir: %sysGetTempDir%/phpstan-fixer
__validate: true
narrowMethodScopeFromConstructor: true
parametersNotInvalidatingCache:
- [parameters, editorUrl]
- [parameters, editorUrlTitle]
- [parameters, errorFormat]
- [parameters, ignoreErrors]
- [parameters, reportUnmatchedIgnoredErrors]
- [parameters, tipsOfTheDay]
- [parameters, parallel]
- [parameters, internalErrorsCountLimit]
- [parameters, cache]
- [parameters, memoryLimitFile]
- [parameters, pro]
- parametersSchema
extensions:
rules: PHPStan\DependencyInjection\RulesExtension
expandRelativePaths: PHPStan\DependencyInjection\ExpandRelativePathExtension
conditionalTags: PHPStan\DependencyInjection\ConditionalTagsExtension
parametersSchema: PHPStan\DependencyInjection\ParametersSchemaExtension
validateIgnoredErrors: PHPStan\DependencyInjection\ValidateIgnoredErrorsExtension
validateExcludePaths: PHPStan\DependencyInjection\ValidateExcludePathsExtension
autowiredAttributeServices: PHPStan\DependencyInjection\AutowiredAttributeServicesExtension
validateServiceTags: PHPStan\DependencyInjection\ValidateServiceTagsExtension
gnsr: PHPStan\DependencyInjection\GnsrExtension
autowiredAttributeServices:
level: null
conditionalTags:
PHPStan\Rules\Exceptions\MissingCheckedExceptionInFunctionThrowsRule:
phpstan.rules.rule: %exceptions.check.missingCheckedExceptionInThrows%
PHPStan\Rules\Exceptions\MissingCheckedExceptionInMethodThrowsRule:
phpstan.rules.rule: %exceptions.check.missingCheckedExceptionInThrows%
PHPStan\Rules\Exceptions\MissingCheckedExceptionInPropertyHookThrowsRule:
phpstan.rules.rule: %exceptions.check.missingCheckedExceptionInThrows%
PHPStan\Rules\Properties\UninitializedPropertyRule:
phpstan.rules.rule: %checkUninitializedProperties%
PHPStan\Rules\Exceptions\MethodThrowTypeCovarianceRule:
phpstan.rules.rule: %exceptions.check.throwTypeCovariance%
services:
-
class: PHPStan\Rules\Exceptions\MissingCheckedExceptionInFunctionThrowsRule
-
class: PHPStan\Rules\Exceptions\MissingCheckedExceptionInMethodThrowsRule
-
class: PHPStan\Rules\Exceptions\MissingCheckedExceptionInPropertyHookThrowsRule
-
class: PHPStan\Rules\Properties\UninitializedPropertyRule
-
class: PHPStan\Rules\Exceptions\MethodThrowTypeCovarianceRule
arguments:
implicitThrows: %exceptions.implicitThrows%
# autowired services are now registered with the help of attributes
# like #[PHPStan\DependencyInjection\AutowiredService] or #[PHPStan\DependencyInjection\GenerateFactory]
# non-autowired services are now registered in services.neon