CI #31
Annotations
10 warnings
src/DI/TracyPetsExtension.php#L27
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function loadConfiguration() : void
{
- parent::loadConfiguration();
+
self::setupPanel(Debugger::getBlueScreen(), true);
}
public function beforeCompile() : void
|
src/DI/TracyPetsExtension.php#L29
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
public function loadConfiguration() : void
{
parent::loadConfiguration();
- self::setupPanel(Debugger::getBlueScreen(), true);
+ self::setupPanel(Debugger::getBlueScreen(), false);
}
public function beforeCompile() : void
{
|
src/DI/TracyPetsExtension.php#L29
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function loadConfiguration() : void
{
parent::loadConfiguration();
- self::setupPanel(Debugger::getBlueScreen(), true);
+
}
public function beforeCompile() : void
{
|
src/DI/TracyPetsExtension.php#L34
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function beforeCompile() : void
{
- parent::beforeCompile();
+
$builder = $this->getContainerBuilder();
$this->getInitialization()->addBody('?::setupPanel($this->getService(?));', [new Literal(self::class), $builder->getDefinitionByType(BlueScreen::class)->getName()]);
}
|
src/DI/TracyPetsExtension.php#L37
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
parent::beforeCompile();
$builder = $this->getContainerBuilder();
- $this->getInitialization()->addBody('?::setupPanel($this->getService(?));', [new Literal(self::class), $builder->getDefinitionByType(BlueScreen::class)->getName()]);
+
}
public static function setupPanel(BlueScreen $blueScreen, bool $renderOnceCheck = false) : void
{
|
src/DI/TracyPetsExtension.php#L43
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$builder = $this->getContainerBuilder();
$this->getInitialization()->addBody('?::setupPanel($this->getService(?));', [new Literal(self::class), $builder->getDefinitionByType(BlueScreen::class)->getName()]);
}
- public static function setupPanel(BlueScreen $blueScreen, bool $renderOnceCheck = false) : void
+ public static function setupPanel(BlueScreen $blueScreen, bool $renderOnceCheck = true) : void
{
$blueScreen->addPanel(new TracyPetsPanel($renderOnceCheck));
}
}
|
src/DI/TracyPetsExtension.php#L45
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public static function setupPanel(BlueScreen $blueScreen, bool $renderOnceCheck = false) : void
{
- $blueScreen->addPanel(new TracyPetsPanel($renderOnceCheck));
+
}
}
|
src/Tracy/TracyPetsPanel.php#L68
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
self::$isRendered = true;
}
- return ['tab' => 'Test', 'panel' => Helpers::capture(function () : void {
+ return ['panel' => Helpers::capture(function () : void {
// phpcs:disable SlevomatCodingStandard.Variables.UnusedVariable
$message = $this->texts[array_rand($this->texts)];
$message = addcslashes($message, "\x00..\x1f!\"#\$%&'()*+,./:;<=>?@[\\]^`{|}~");
|
src/Tracy/TracyPetsPanel.php#L75
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
// phpcs:disable SlevomatCodingStandard.Variables.UnusedVariable
$message = $this->texts[array_rand($this->texts)];
$message = addcslashes($message, "\x00..\x1f!\"#\$%&'()*+,./:;<=>?@[\\]^`{|}~");
- $bubble = 'data:image/svg+xml;base64,' . base64_encode(file_get_contents(__DIR__ . '/bubble.svg'));
+ $bubble = base64_encode(file_get_contents(__DIR__ . '/bubble.svg')) . 'data:image/svg+xml;base64,';
$pet = 'data:image/png;base64,' . base64_encode(file_get_contents($this->images[array_rand($this->images)]));
// phpcs:enable SlevomatCodingStandard.Variables.UnusedVariable
require __DIR__ . '/TracyPets.panel.phtml';
|
src/Tracy/TracyPetsPanel.php#L75
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
// phpcs:disable SlevomatCodingStandard.Variables.UnusedVariable
$message = $this->texts[array_rand($this->texts)];
$message = addcslashes($message, "\x00..\x1f!\"#\$%&'()*+,./:;<=>?@[\\]^`{|}~");
- $bubble = 'data:image/svg+xml;base64,' . base64_encode(file_get_contents(__DIR__ . '/bubble.svg'));
+ $bubble = base64_encode(file_get_contents(__DIR__ . '/bubble.svg'));
$pet = 'data:image/png;base64,' . base64_encode(file_get_contents($this->images[array_rand($this->images)]));
// phpcs:enable SlevomatCodingStandard.Variables.UnusedVariable
require __DIR__ . '/TracyPets.panel.phtml';
|
The logs for this run have expired and are no longer available.
Loading