Skip to content

Removed code after split (#323) #395

Removed code after split (#323)

Removed code after split (#323) #395

Triggered via push November 25, 2024 18:55
Status Failure
Total duration 1h 25m 40s
Artifacts

tests.yaml

on: push
Matrix: PHP Tests
Matrix: PHP Tests With Code Coverage
Matrix: PHP Tests For Mutants
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2)
The template is not valid. fastybird/.github/main/.github/actions/setup-composer/action.yaml (Line: 24, Col: 14): hashFiles('**/composer.json') couldn't finish within 120 seconds.
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L30
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function setUp() : void { - parent::setUp(); + $this->container = $this->createContainer(); } /**
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L43
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ protected function createContainer(string|null $additionalConfig = null) : Nette\DI\Container { $rootDir = __DIR__ . '/../..'; - $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir . '/../vendor'; + $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : '/../vendor'; $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR);
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L43
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ protected function createContainer(string|null $additionalConfig = null) : Nette\DI\Container { $rootDir = __DIR__ . '/../..'; - $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir . '/../vendor'; + $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir; $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR);
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L43
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ protected function createContainer(string|null $additionalConfig = null) : Nette\DI\Container { $rootDir = __DIR__ . '/../..'; - $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir . '/../vendor'; + $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : '/../vendor' . $rootDir; $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR);
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L46
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $rootDir = __DIR__ . '/../..'; $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir . '/../vendor'; $config = ApplicationBoot\Bootstrap::boot(); - $config->setForceReloadContainer(); + $config->setTempDirectory(FB_TEMP_DIR); $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . getmypid() . md5((string) time())]]); $config->addStaticParameters(['appDir' => $rootDir, 'wwwDir' => $rootDir, 'vendorDir' => $vendorDir]);
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L47
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $vendorDir = defined('FB_VENDOR_DIR') ? constant('FB_VENDOR_DIR') : $rootDir . '/../vendor'; $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); - $config->setTempDirectory(FB_TEMP_DIR); + $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . getmypid() . md5((string) time())]]); $config->addStaticParameters(['appDir' => $rootDir, 'wwwDir' => $rootDir, 'vendorDir' => $vendorDir]); $config->addConfig(__DIR__ . '/../../common.neon');
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L49
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR); - $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . getmypid() . md5((string) time())]]); + $config->addStaticParameters(['appDir' => $rootDir, 'wwwDir' => $rootDir, 'vendorDir' => $vendorDir]); $config->addConfig(__DIR__ . '/../../common.neon'); if ($additionalConfig !== null && file_exists($additionalConfig)) {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L50
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR); - $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . getmypid() . md5((string) time())]]); + $config->addStaticParameters(['container' => ['class' => getmypid() . 'SystemContainer_' . md5((string) time())]]); $config->addStaticParameters(['appDir' => $rootDir, 'wwwDir' => $rootDir, 'vendorDir' => $vendorDir]); $config->addConfig(__DIR__ . '/../../common.neon'); if ($additionalConfig !== null && file_exists($additionalConfig)) {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L50
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR); - $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . getmypid() . md5((string) time())]]); + $config->addStaticParameters(['container' => ['class' => getmypid() . md5((string) time())]]); $config->addStaticParameters(['appDir' => $rootDir, 'wwwDir' => $rootDir, 'vendorDir' => $vendorDir]); $config->addConfig(__DIR__ . '/../../common.neon'); if ($additionalConfig !== null && file_exists($additionalConfig)) {
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2): src/FastyBird/Addon/VirtualThermostat/tests/cases/unit/BaseTestCase.php#L50
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $config = ApplicationBoot\Bootstrap::boot(); $config->setForceReloadContainer(); $config->setTempDirectory(FB_TEMP_DIR); - $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . getmypid() . md5((string) time())]]); + $config->addStaticParameters(['container' => ['class' => 'SystemContainer_' . md5((string) time())]]); $config->addStaticParameters(['appDir' => $rootDir, 'wwwDir' => $rootDir, 'vendorDir' => $vendorDir]); $config->addConfig(__DIR__ . '/../../common.neon'); if ($additionalConfig !== null && file_exists($additionalConfig)) {