Fix composer-require-checker #978
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 warnings
mutation / PHP 8.1-ubuntu-latest:
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
|
mutation / PHP 8.1-ubuntu-latest:
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
{
|
mutation / PHP 8.1-ubuntu-latest:
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);
}
|
mutation / PHP 8.1-ubuntu-latest:
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);
}
}
|
mutation / PHP 8.1-ubuntu-latest:
src/Collector/ProxyLogTrait.php#L29
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->logToCollector($service, $instance, $method, $arguments, $result, $error, $timeStart);
}
if ($this->config->getDispatcher() !== null) {
- $this->logToEvent($service, $instance, $method, $arguments, $result, $error, $timeStart);
+
}
}
private function processLogData(array &$arguments, &$result, ?object &$error) : void
|
mutation / PHP 8.1-ubuntu-latest:
src/Collector/ProxyLogTrait.php#L35
Escaped Mutant for Mutator "BitwiseAnd":
--- Original
+++ New
@@ @@
}
private function processLogData(array &$arguments, &$result, ?object &$error) : void
{
- if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ARGUMENTS)) {
+ if (!($this->config->getLogLevel() | ContainerInterfaceProxy::LOG_ARGUMENTS)) {
$arguments = null;
}
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_RESULT)) {
|
mutation / PHP 8.1-ubuntu-latest:
src/Collector/ProxyLogTrait.php#L35
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
}
private function processLogData(array &$arguments, &$result, ?object &$error) : void
{
- if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ARGUMENTS)) {
+ if ($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ARGUMENTS) {
$arguments = null;
}
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_RESULT)) {
|
mutation / PHP 8.1-ubuntu-latest:
src/Collector/ProxyLogTrait.php#L39
Escaped Mutant for Mutator "BitwiseAnd":
--- Original
+++ New
@@ @@
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ARGUMENTS)) {
$arguments = null;
}
- if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_RESULT)) {
+ if (!($this->config->getLogLevel() | ContainerInterfaceProxy::LOG_RESULT)) {
$result = null;
}
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ERROR)) {
|
mutation / PHP 8.1-ubuntu-latest:
src/Collector/ProxyLogTrait.php#L39
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ARGUMENTS)) {
$arguments = null;
}
- if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_RESULT)) {
+ if ($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_RESULT) {
$result = null;
}
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ERROR)) {
|
mutation / PHP 8.1-ubuntu-latest:
src/Collector/ProxyLogTrait.php#L43
Escaped Mutant for Mutator "BitwiseAnd":
--- Original
+++ New
@@ @@
if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_RESULT)) {
$result = null;
}
- if (!($this->config->getLogLevel() & ContainerInterfaceProxy::LOG_ERROR)) {
+ if (!($this->config->getLogLevel() | ContainerInterfaceProxy::LOG_ERROR)) {
$error = null;
}
}
|