Skip to content

Commit

Permalink
[BCB] Moved implicitThrows to exceptions.implicitThrows
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 16, 2021
1 parent c362fc5 commit 96b7c48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions conf/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ parameters:
level: null
paths: []
exceptions:
implicitThrows: true
uncheckedExceptionRegexes: []
uncheckedExceptionClasses: []
checkedExceptionRegexes: []
Expand Down Expand Up @@ -68,7 +69,6 @@ parameters:
checkTooWideReturnTypesInProtectedAndPublicMethods: false
checkUninitializedProperties: false
inferPrivatePropertyTypeFromConstructor: false
implicitThrows: true
reportMaybes: false
reportMaybesInMethodSignatures: false
reportMaybesInPropertyPhpDocTypes: false
Expand Down Expand Up @@ -183,6 +183,7 @@ parametersSchema:
level: schema(anyOf(int(), string()), nullable())
paths: listOf(string())
exceptions: structure([
implicitThrows: bool(),
uncheckedExceptionRegexes: listOf(string()),
uncheckedExceptionClasses: listOf(string()),
checkedExceptionRegexes: listOf(string()),
Expand Down Expand Up @@ -243,7 +244,7 @@ parametersSchema:
checkTooWideReturnTypesInProtectedAndPublicMethods: bool()
checkUninitializedProperties: bool()
inferPrivatePropertyTypeFromConstructor: bool()
implicitThrows: bool()

tipsOfTheDay: bool()
reportMaybes: bool()
reportMaybesInMethodSignatures: bool()
Expand Down Expand Up @@ -450,7 +451,7 @@ services:
polluteScopeWithAlwaysIterableForeach: %polluteScopeWithAlwaysIterableForeach%
earlyTerminatingMethodCalls: %earlyTerminatingMethodCalls%
earlyTerminatingFunctionCalls: %earlyTerminatingFunctionCalls%
implicitThrows: %implicitThrows%
implicitThrows: %exceptions.implicitThrows%

-
implement: PHPStan\Analyser\ResultCache\ResultCacheManagerFactory
Expand Down

0 comments on commit 96b7c48

Please sign in to comment.