Skip to content

Commit c6acfc9

Browse files
committed
TestCase::setUp() as an additional constructor (property initializer)
1 parent bcb00a5 commit c6acfc9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "~7.1",
10-
"phpstan/phpstan": "^0.12.20"
10+
"phpstan/phpstan": "^0.12.33"
1111
},
1212
"conflict": {
1313
"phpunit/phpunit": "<7.0"

extension.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
parameters:
2+
additionalConstructors:
3+
- PHPUnit\Framework\TestCase::setUp
24
earlyTerminatingMethodCalls:
35
PHPUnit\Framework\TestCase:
46
- fail

0 commit comments

Comments
 (0)