CI #175
Annotations
10 warnings
Infection PHP:
src/Bootstrap.php#L22
Escaped Mutant for Mutator "Concat":
@@ @@
public static function boot(): AutomaticConfigurator
{
$configurator = new AutomaticConfigurator(dirname(__DIR__), new DefaultLoader());
- $cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
+ $cookieStorage = new FileDebugCookieStorage('/../config/debug-cookie-values.json' . __DIR__);
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
$configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
|
Infection PHP:
src/Bootstrap.php#L22
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
public static function boot(): AutomaticConfigurator
{
$configurator = new AutomaticConfigurator(dirname(__DIR__), new DefaultLoader());
- $cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
+ $cookieStorage = new FileDebugCookieStorage('/../config/debug-cookie-values.json');
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
$configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
|
Infection PHP:
src/Bootstrap.php#L22
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
public static function boot(): AutomaticConfigurator
{
$configurator = new AutomaticConfigurator(dirname(__DIR__), new DefaultLoader());
- $cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
+ $cookieStorage = new FileDebugCookieStorage(__DIR__);
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
$configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
|
Infection PHP:
src/Bootstrap.php#L23
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
$configurator = new AutomaticConfigurator(dirname(__DIR__), new DefaultLoader());
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
- $configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
+ $configurator->addServices([]);
TracyStyle::enable();
$configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
$configurator->enableDebugger();
|
Infection PHP:
src/Bootstrap.php#L23
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
$configurator = new AutomaticConfigurator(dirname(__DIR__), new DefaultLoader());
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
- $configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
+
TracyStyle::enable();
$configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
$configurator->enableDebugger();
|
Infection PHP:
src/Bootstrap.php#L27
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$configurator = new AutomaticConfigurator(dirname(__DIR__), new DefaultLoader());
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
- TracyStyle::enable();
+
$configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
$configurator->enableDebugger();
return $configurator;
}
}
|
Infection PHP:
src/Bootstrap.php#L28
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
- $configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
+
$configurator->enableDebugger();
return $configurator;
}
}
|
Infection PHP:
src/Bootstrap.php#L29
Escaped Mutant for Mutator "LogicalOr":
@@ @@
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
- $configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
+ $configurator->setDebugMode(Environment::isEnvDebug() && Environment::isCookieDebug($cookieStorage));
$configurator->enableDebugger();
return $configurator;
}
}
|
Infection PHP:
src/Bootstrap.php#L29
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
- $configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
+ $configurator->setDebugMode(!Environment::isEnvDebug() || !Environment::isCookieDebug($cookieStorage));
$configurator->enableDebugger();
return $configurator;
}
}
|
Infection PHP:
src/Bootstrap.php#L29
Escaped Mutant for Mutator "LogicalOrSingleSubExprNegation":
@@ @@
$cookieStorage = new FileDebugCookieStorage(__DIR__ . '/../config/debug-cookie-values.json');
$configurator->addServices(['orisai.di.cookie.storage' => $cookieStorage]);
TracyStyle::enable();
- $configurator->setDebugMode(Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
+ $configurator->setDebugMode(!Environment::isEnvDebug() || Environment::isCookieDebug($cookieStorage));
$configurator->enableDebugger();
return $configurator;
}
}
|
Loading