doc: fix github profile link #249
Annotations
20 warnings
CI (8.2):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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}
|