Skip to content

[common] Updating NPM CI settings (#158) #226

[common] Updating NPM CI settings (#158)

[common] Updating NPM CI settings (#158) #226

Triggered via push November 5, 2023 22:01
Status Success
Total duration 2m 51s
Artifacts

ci.yaml

on: push
Matrix: Code quality assurance
Matrix: Code static analysis
Matrix: Code linting
Matrix: Test for mutants
Matrix: Code tests
Matrix: Code tests with code coverage
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L67
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ self::initConstants(); // Create app configurator $config = new Configurator(); - $config->setTimeZone('UTC'); + // Define variables $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); // Load parameters from environment
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L76
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $config = new Configurator(); $config->setTimeZone('UTC'); // Define variables - $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); + $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) !== 'dev']); // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L76
Escaped Mutant for Mutator "UnwrapStrToLower": --- Original +++ New @@ @@ $config = new Configurator(); $config->setTimeZone('UTC'); // Define variables - $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); + $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strval($_ENV['APP_ENV']) === 'dev']); // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L76
Escaped Mutant for Mutator "LogicalAndNegation": --- Original +++ New @@ @@ $config = new Configurator(); $config->setTimeZone('UTC'); // Define variables - $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); + $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => !(isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev')]); // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) {
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L80
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $config->setTimeZone('UTC'); // Define variables $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); - // Load parameters from environment - $config->addStaticParameters(self::loadEnvParameters($envPrefix)); + if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) { $config->enableTracy(FB_LOGS_DIR); }
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L82
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); - if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) { + if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === true) { $config->enableTracy(FB_LOGS_DIR); } // Default extension config
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L82
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); - if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) { + if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) !== false) { $config->enableTracy(FB_LOGS_DIR); } // Default extension config
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L82
Escaped Mutant for Mutator "LogicalOrNegation": --- Original +++ New @@ @@ $config->addStaticParameters(['tempDir' => FB_TEMP_DIR, 'logsDir' => FB_LOGS_DIR, 'appDir' => FB_APP_DIR, 'wwwDir' => FB_PUBLIC_DIR, 'debugMode' => isset($_ENV['APP_ENV']) && strtolower(strval($_ENV['APP_ENV'])) === 'dev']); // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); - if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) { + if (!(!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false)) { $config->enableTracy(FB_LOGS_DIR); } // Default extension config
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L83
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ // Load parameters from environment $config->addStaticParameters(self::loadEnvParameters($envPrefix)); if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) { - $config->enableTracy(FB_LOGS_DIR); + } // Default extension config $config->addConfig(__DIR__ . DS . '..' . DS . '..' . DS . 'config' . DS . 'common.neon');
Test for mutants (8.2, ubuntu-latest): src/Boot/Bootstrap.php#L87
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (!class_exists('\\Tester\\Environment') || getenv(Tester\Environment::VariableRunner) === false) { $config->enableTracy(FB_LOGS_DIR); } - // Default extension config - $config->addConfig(__DIR__ . DS . '..' . DS . '..' . DS . 'config' . DS . 'common.neon'); + $config->addConfig(__DIR__ . DS . '..' . DS . '..' . DS . 'config' . DS . 'defaults.neon'); if (file_exists(FB_CONFIG_DIR . DS . 'common.neon')) { $config->addConfig(FB_CONFIG_DIR . DS . 'common.neon');