mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 18:57:22 +01:00
Fixes types
This commit is contained in:
@ -20,8 +20,6 @@ final class Kernel
|
|||||||
|
|
||||||
private const EXCEPTION_EXIT = 2;
|
private const EXCEPTION_EXIT = 2;
|
||||||
|
|
||||||
private const CRASH_EXIT = 255;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Kernel bootstrappers.
|
* The Kernel bootstrappers.
|
||||||
*
|
*
|
||||||
@ -112,7 +110,7 @@ final class Kernel
|
|||||||
+ $result->numberOfTestsWithTestTriggeredWarningEvents()
|
+ $result->numberOfTestsWithTestTriggeredWarningEvents()
|
||||||
+ $result->numberOfTestsWithTestTriggeredPhpWarningEvents();
|
+ $result->numberOfTestsWithTestTriggeredPhpWarningEvents();
|
||||||
|
|
||||||
if ($configuration->failOnWarning() && ! empty($warnings)) {
|
if ($configuration->failOnWarning() && $warnings > 0) {
|
||||||
$returnCode = self::FAILURE_EXIT;
|
$returnCode = self::FAILURE_EXIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ use PHPUnit\Framework\TestCase;
|
|||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class IgnorableTest extends TestCase
|
final class IgnorableTest extends TestCase
|
||||||
{
|
{
|
||||||
|
// ..
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user