Skip to content

Merge pull request #92 from codelicia/infection #232

Merge pull request #92 from codelicia/infection

Merge pull request #92 from codelicia/infection #232

Triggered via push September 10, 2023 14:29
Status Success
Total duration 1m 14s
Artifacts

ci.yml

on: push
Matrix: CI
Fit to window
Zoom out
Zoom in

Annotations

40 warnings
CI (8.1, normal): src/Soql/BoundValuesSeparator.php#L29
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ $values = []; foreach ($boundValues as $parameter => $value) { $parameter = sprintf(':%s', $parameter); - if (!isset($types[$parameter])) { + if (isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } if (is_object($value) && method_exists($value, '__toString')) {
CI (8.1, normal): src/Soql/BoundValuesSeparator.php#L33
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ if (!isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } - if (is_object($value) && method_exists($value, '__toString')) { + if (is_object($value) && !method_exists($value, '__toString')) { $value = (string) $value; } if (is_array($value)) {
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 0; } /** * {@inheritdoc}
CI (8.1, normal): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 2; } /** * {@inheritdoc}
CI (8.1, authoritative): src/Soql/BoundValuesSeparator.php#L29
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ $values = []; foreach ($boundValues as $parameter => $value) { $parameter = sprintf(':%s', $parameter); - if (!isset($types[$parameter])) { + if (isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } if (is_object($value) && method_exists($value, '__toString')) {
CI (8.1, authoritative): src/Soql/BoundValuesSeparator.php#L33
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ if (!isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } - if (is_object($value) && method_exists($value, '__toString')) { + if (is_object($value) && !method_exists($value, '__toString')) { $value = (string) $value; } if (is_array($value)) {
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 0; } /** * {@inheritdoc}
CI (8.1, authoritative): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 2; } /** * {@inheritdoc}
CI (8.2, normal): src/Soql/BoundValuesSeparator.php#L29
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ $values = []; foreach ($boundValues as $parameter => $value) { $parameter = sprintf(':%s', $parameter); - if (!isset($types[$parameter])) { + if (isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } if (is_object($value) && method_exists($value, '__toString')) {
CI (8.2, normal): src/Soql/BoundValuesSeparator.php#L33
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ if (!isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } - if (is_object($value) && method_exists($value, '__toString')) { + if (is_object($value) && !method_exists($value, '__toString')) { $value = (string) $value; } if (is_array($value)) {
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 0; } /** * {@inheritdoc}
CI (8.2, normal): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 2; } /** * {@inheritdoc}
CI (8.2, authoritative): src/Soql/BoundValuesSeparator.php#L29
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ $values = []; foreach ($boundValues as $parameter => $value) { $parameter = sprintf(':%s', $parameter); - if (!isset($types[$parameter])) { + if (isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } if (is_object($value) && method_exists($value, '__toString')) {
CI (8.2, authoritative): src/Soql/BoundValuesSeparator.php#L33
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ if (!isset($types[$parameter])) { $types[$parameter] = ParameterType::STRING; } - if (is_object($value) && method_exists($value, '__toString')) { + if (is_object($value) && !method_exists($value, '__toString')) { $value = (string) $value; } if (is_array($value)) {
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . $identifier[key($identifier)] . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = $identifier['Id'] ?? key($identifier) . '/'; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L85
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ if ($this->isTransactionActive()) { throw InvalidArgumentException::notSupported('DELETE is not supported under transaction.'); } - $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; + $param = key($identifier) . '/' . $identifier[key($identifier)] ?? $identifier['Id']; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); return 1; }
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 0; } /** * {@inheritdoc}
CI (8.2, authoritative): src/Soql/ConnectionWrapper.php#L92
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } $param = $identifier['Id'] ?? key($identifier) . '/' . $identifier[key($identifier)]; $this->send(new Request('DELETE', sprintf(self::SERVICE_OBJECT_ID_URL, $this->apiVersion(), $tableExpression, $param), $headers)); - return 1; + return 2; } /** * {@inheritdoc}