Skip to content

Commit 96b7c48

Browse files
committed
[BCB] Moved implicitThrows to exceptions.implicitThrows
1 parent c362fc5 commit 96b7c48

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

conf/config.neon

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ parameters:
1010
level: null
1111
paths: []
1212
exceptions:
13+
implicitThrows: true
1314
uncheckedExceptionRegexes: []
1415
uncheckedExceptionClasses: []
1516
checkedExceptionRegexes: []
@@ -68,7 +69,6 @@ parameters:
6869
checkTooWideReturnTypesInProtectedAndPublicMethods: false
6970
checkUninitializedProperties: false
7071
inferPrivatePropertyTypeFromConstructor: false
71-
implicitThrows: true
7272
reportMaybes: false
7373
reportMaybesInMethodSignatures: false
7474
reportMaybesInPropertyPhpDocTypes: false
@@ -183,6 +183,7 @@ parametersSchema:
183183
level: schema(anyOf(int(), string()), nullable())
184184
paths: listOf(string())
185185
exceptions: structure([
186+
implicitThrows: bool(),
186187
uncheckedExceptionRegexes: listOf(string()),
187188
uncheckedExceptionClasses: listOf(string()),
188189
checkedExceptionRegexes: listOf(string()),
@@ -243,7 +244,7 @@ parametersSchema:
243244
checkTooWideReturnTypesInProtectedAndPublicMethods: bool()
244245
checkUninitializedProperties: bool()
245246
inferPrivatePropertyTypeFromConstructor: bool()
246-
implicitThrows: bool()
247+
247248
tipsOfTheDay: bool()
248249
reportMaybes: bool()
249250
reportMaybesInMethodSignatures: bool()
@@ -450,7 +451,7 @@ services:
450451
polluteScopeWithAlwaysIterableForeach: %polluteScopeWithAlwaysIterableForeach%
451452
earlyTerminatingMethodCalls: %earlyTerminatingMethodCalls%
452453
earlyTerminatingFunctionCalls: %earlyTerminatingFunctionCalls%
453-
implicitThrows: %implicitThrows%
454+
implicitThrows: %exceptions.implicitThrows%
454455

455456
-
456457
implement: PHPStan\Analyser\ResultCache\ResultCacheManagerFactory

0 commit comments

Comments
 (0)