Skip to content

Commit

Permalink
TestCase::setUp() as an additional constructor (property initializer)
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 16, 2020
1 parent bcb00a5 commit c6acfc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"require": {
"php": "~7.1",
"phpstan/phpstan": "^0.12.20"
"phpstan/phpstan": "^0.12.33"
},
"conflict": {
"phpunit/phpunit": "<7.0"
Expand Down
2 changes: 2 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
parameters:
additionalConstructors:
- PHPUnit\Framework\TestCase::setUp
earlyTerminatingMethodCalls:
PHPUnit\Framework\TestCase:
- fail
Expand Down

0 comments on commit c6acfc9

Please sign in to comment.