Skip to content

Commit

Permalink
Reuse skip condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 15, 2024
1 parent 17bb17f commit 37bbf62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
The right events are emitted in the right order for a successful test that targets a trait with #[CoversClass]
--SKIPIF--
<?php declare(strict_types=1);
if (!extension_loaded('pcov') && !extension_loaded('xdebug')) {
print "skip: this test requires pcov or xdebug\n";
}
require __DIR__ . '/../../_files/skip-if-requires-code-coverage-driver.php';
--FILE--
<?php declare(strict_types=1);
$traceFile = tempnam(sys_get_temp_dir(), __FILE__);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
The right events are emitted in the right order for a successful test that targets a trait with #[CoversClass]
--SKIPIF--
<?php declare(strict_types=1);
if (!extension_loaded('pcov') && !extension_loaded('xdebug')) {
print "skip: this test requires pcov or xdebug\n";
}
require __DIR__ . '/../../_files/skip-if-requires-code-coverage-driver.php';
--FILE--
<?php declare(strict_types=1);
$traceFile = tempnam(sys_get_temp_dir(), __FILE__);
Expand Down

0 comments on commit 37bbf62

Please sign in to comment.