Skip to content

Commit 160ecc5

Browse files
Skip test
After prefixing the trigger_error() call with the error suppression operator, PHP 7 exits when running this test.
1 parent d8e0be7 commit 160ecc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/Framework/TestCaseTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,9 @@ public function testWarningCanBeExpected(): void
12471247
trigger_error('foo', E_USER_WARNING);
12481248
}
12491249

1250+
/**
1251+
* @requires PHP 8
1252+
*/
12501253
public function testErrorCanBeExpected(): void
12511254
{
12521255
$this->expectError();

0 commit comments

Comments
 (0)