Skip to content

Commit 52f7072

Browse files
committed
Unchecked exceptions configuration
1 parent 3123fec commit 52f7072

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.1 || ^8.0",
10-
"phpstan/phpstan": "^0.12.83"
10+
"phpstan/phpstan": "^0.12.86"
1111
},
1212
"conflict": {
1313
"phpunit/phpunit": "<7.0"

extension.neon

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ parameters:
1313
- stubs/MockBuilder.stub
1414
- stubs/MockObject.stub
1515
- stubs/TestCase.stub
16+
exceptions:
17+
uncheckedExceptionRegexes:
18+
- '#^PHPUnit\\#'
19+
- '#^SebastianBergmann\\#'
1620

1721
parametersSchema:
1822
phpunit: structure([

0 commit comments

Comments
 (0)