Debug server #999
Annotations
10 warnings
src/Collector/CollectorTrait.php#L18
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function shutdown() : void
{
- $this->reset();
+
$this->isActive = false;
}
public function getName() : string
|
src/Collector/CollectorTrait.php#L19
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
public function shutdown() : void
{
$this->reset();
- $this->isActive = false;
+ $this->isActive = true;
}
public function getName() : string
{
|
src/Collector/EventCollector.php#L33
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
}
public function collect(object $event, string $line) : void
{
- if (!$event instanceof HttpApplicationStartup && !$event instanceof ConsoleApplicationStartup && !$this->isActive()) {
+ if (!$event instanceof HttpApplicationStartup && $event instanceof ConsoleApplicationStartup && !$this->isActive()) {
return;
}
$this->events[] = ['name' => $event::class, 'event' => $event, 'file' => (new ReflectionClass($event))->getFileName(), 'line' => $line, 'time' => microtime(true)];
|
src/Collector/EventCollector.php#L39
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (!$event instanceof HttpApplicationStartup && !$event instanceof ConsoleApplicationStartup && !$this->isActive()) {
return;
}
- $this->events[] = ['name' => $event::class, 'event' => $event, 'file' => (new ReflectionClass($event))->getFileName(), 'line' => $line, 'time' => microtime(true)];
+ $this->events[] = ['event' => $event, 'file' => (new ReflectionClass($event))->getFileName(), 'line' => $line, 'time' => microtime(true)];
$this->timelineCollector->collect($this, spl_object_id($event), $event::class);
}
public function getSummary() : array
|
src/Collector/EventCollector.php#L44
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
if (!$event instanceof HttpApplicationStartup && !$event instanceof ConsoleApplicationStartup && !$this->isActive()) {
return;
}
- $this->events[] = ['name' => $event::class, 'event' => $event, 'file' => (new ReflectionClass($event))->getFileName(), 'line' => $line, 'time' => microtime(true)];
+ $this->events[] = ['name' => $event::class, 'event' => $event, 'file' => (new ReflectionClass($event))->getFileName(), 'line' => $line, 'time' > microtime(true)];
$this->timelineCollector->collect($this, spl_object_id($event), $event::class);
}
public function getSummary() : array
|
src/Collector/EventCollector.php#L46
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
return;
}
$this->events[] = ['name' => $event::class, 'event' => $event, 'file' => (new ReflectionClass($event))->getFileName(), 'line' => $line, 'time' => microtime(true)];
- $this->timelineCollector->collect($this, spl_object_id($event), $event::class);
+
}
public function getSummary() : array
{
|
src/Collector/EventCollector.php#L55
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return [];
}
- return ['event' => ['total' => count($this->events)]];
+ return ['event' => []];
}
private function reset() : void
{
|
src/Collector/EventCollector.php#L56
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return [];
}
- return ['event' => ['total' => count($this->events)]];
+ return ['event' => ['total' > count($this->events)]];
}
private function reset() : void
{
|
src/Collector/ProxyLogTrait.php#L22
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
protected function logProxy(string $service, object $instance, string $method, array $arguments, $result, float $timeStart) : void
{
$error = $this->getCurrentError();
- $this->processLogData($arguments, $result, $error);
+
if ($this->config->getCollector() !== null) {
$this->logToCollector($service, $instance, $method, $arguments, $result, $error, $timeStart);
}
|
src/Collector/ProxyLogTrait.php#L28
Escaped Mutant for Mutator "NotIdentical":
--- Original
+++ New
@@ @@
if ($this->config->getCollector() !== null) {
$this->logToCollector($service, $instance, $method, $arguments, $result, $error, $timeStart);
}
- if ($this->config->getDispatcher() !== null) {
+ if ($this->config->getDispatcher() === null) {
$this->logToEvent($service, $instance, $method, $arguments, $result, $error, $timeStart);
}
}
|
The logs for this run have expired and are no longer available.
Loading