[devices-module] Devices module static configuration with repositorie… #230
Annotations
10 warnings
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
|
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) {
|
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) {
|
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) {
|
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);
}
|
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
|
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
|
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
|
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');
|
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');
|
The logs for this run have expired and are no longer available.
Loading