You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5027a5
Browse filesBrowse the repository at this point in the historyBrowse files
Do not require parent setUp/tearDown when method is always terminating (#360)
* Do not require parent setUp/tearDown when method is always terminating
When setUp() or tearDown() always terminates early (e.g. via markTestSkipped(), markTestIncomplete(), fail(), or an unconditional exception), a call to the parent method is not required.
Switch ShouldCallParentMethodsRule to inspect MethodReturnStatementsNode and check whether the method's statement result is always terminating.
* public method cannot be overridden by protected one
* test conditional-skip with proper parent::setUp() call
* raise min-phpstan version
---------
Co-authored-by: Markus Staab <maggus.staab@googlemail.com>
0 commit comments