Skip to content

Commit ba701df

Browse files
committed
Change @after to @postCondition
The former will not work with 10.1 anymore, according to phpunit this was an unintended side effect, see sebastianbergmann/phpunit#5337 (comment) Fixes #167
1 parent bf9af3d commit ba701df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MatchesSnapshots.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function setUpSnapshotIncrementor()
2828
$this->snapshotIncrementor = 0;
2929
}
3030

31-
/** @after */
31+
/** @postCondition */
3232
public function markTestIncompleteIfSnapshotsHaveChanged()
3333
{
3434
if (empty($this->snapshotChanges)) {

0 commit comments

Comments
 (0)