Skip to content

Commit 07f0268

Browse files
committed
Force exit code 0 when getting an uncaught exception PhpfastcacheDriverCheckException
1 parent d26dcc5 commit 07f0268

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Phpfastcache/Helper/TestHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ public function exceptionHandler(\Throwable $exception)
257257
{
258258
if ($exception instanceof PhpfastcacheDriverCheckException) {
259259
$this->printSkipText('A driver could not be initialized due to missing requirement: ' . $exception->getMessage());
260+
$this->exitCode = 0;
260261
} else {
261262
$this->printFailText(\sprintf(
262263
'Uncaught exception "%s" in "%s" line %d with message: "%s"',

0 commit comments

Comments
 (0)