File tree 2 files changed +12
-10
lines changed
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ rules:
25
25
- PHPStan\Rules\TooWideTypehints\TooWidePropertyTypeRule
26
26
- PHPStan\Rules\Traits\NotAnalysedTraitRule
27
27
28
+ conditionalTags :
29
+ PHPStan\Rules\Exceptions\TooWideFunctionThrowTypeRule :
30
+ phpstan.rules.rule : %exceptions.check.tooWideThrowType%
31
+ PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule :
32
+ phpstan.rules.rule : %exceptions.check.tooWideThrowType%
33
+
28
34
parameters :
29
35
checkAdvancedIsset : true
30
36
@@ -228,6 +234,12 @@ services:
228
234
tags :
229
235
- phpstan.rules.rule
230
236
237
+ -
238
+ class : PHPStan\Rules\Exceptions\TooWideFunctionThrowTypeRule
239
+
240
+ -
241
+ class : PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule
242
+
231
243
-
232
244
class : PHPStan\Rules\TooWideTypehints\TooWideMethodReturnTypehintRule
233
245
arguments :
Original file line number Diff line number Diff line change @@ -205,10 +205,6 @@ conditionalTags:
205
205
phpstan.rules.rule : %exceptions.check.missingCheckedExceptionInThrows%
206
206
PHPStan\Rules\Exceptions\MissingCheckedExceptionInMethodThrowsRule :
207
207
phpstan.rules.rule : %exceptions.check.missingCheckedExceptionInThrows%
208
- PHPStan\Rules\Exceptions\TooWideFunctionThrowTypeRule :
209
- phpstan.rules.rule : %exceptions.check.tooWideThrowType%
210
- PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule :
211
- phpstan.rules.rule : %exceptions.check.tooWideThrowType%
212
208
213
209
services :
214
210
-
@@ -881,12 +877,6 @@ services:
881
877
arguments :
882
878
exceptionTypeResolver : @exceptionTypeResolver
883
879
884
- -
885
- class : PHPStan\Rules\Exceptions\TooWideFunctionThrowTypeRule
886
-
887
- -
888
- class : PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule
889
-
890
880
-
891
881
class : PHPStan\Rules\Exceptions\TooWideThrowTypeCheck
892
882
You can’t perform that action at this time.
0 commit comments