Open
Description
The extension marks markTestIncomplete
and markTestSkipped
as earlyTerminatingMethodCalls
. The effect is that PHPStan will emit a Unreachable statement - code above always terminates.
error for any code after them.
I found that this is not necessary useful. I mean, this error is useful for detecting unexpectedly unreachable statements, but the goal of markTestIncomplete
or markTestSkipped
, is to make some code unreachable/unexecuted without actually removing it.
Metadata
Metadata
Assignees
Labels
No labels