Skip to content

Commit e607193

Browse files
committed
fix SKIPIF
1 parent db9a65e commit e607193

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/end-to-end-with-coverage-driver/warn-when-opcache-enabled/warn-when-opcache-enabled.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ opcache.jit=disable
77
XDEBUG_MODE=coverage
88
--SKIPIF--
99
<?php declare(strict_types=1);
10-
require __DIR__ . '/../_files/skip-if-requires-code-coverage-driver.php';
10+
require __DIR__ . '/../../_files/skip-if-requires-code-coverage-driver.php';
1111

1212
if (!extension_loaded('Zend OPcache')) {
13-
echo 'skip, opcache extension is not loaded';
14-
} elseif (ini_get('opcache.enable_cli') !== '1') {
15-
echo 'skip, opcache not enabled for CLI';
13+
echo 'skip: opcache extension is not loaded';
1614
}
1715
--FILE--
1816
<?php declare(strict_types=1);

0 commit comments

Comments
 (0)