Update rector/rector requirement from ^0.19.0 to ^1.0.0 #251
Annotations
4 warnings
mutation / PHP 8.2-ubuntu-latest:
src/ColumnFormatterTrait.php#L21
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
*/
private function setColumn(string|ExpressionInterface $column, ?string $table = null) : void
{
- if (is_string($column)) {
+ if (!is_string($column)) {
if ($table) {
$this->column = $table . '.' . $column;
} else {
|
mutation / PHP 8.2-ubuntu-latest:
src/Filter/CompareFilter.php#L33
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
}
public function withIgnoreNull(bool $ignoreNull = true) : static
{
- $new = clone $this;
+ $new = $this;
$new->ignoreNull = $ignoreNull;
return $new;
}
|
mutation / PHP 8.2-ubuntu-latest:
src/Filter/CompareFilter.php#L63
Escaped Mutant for Mutator "UnwrapArrayMap":
--- Original
+++ New
@@ @@
}
protected function formatValues(array $values) : array
{
- return array_map([$this, 'formatValue'], $values);
+ return $values;
}
public function toCriteriaArray() : array
{
|
mutation / PHP 8.2-ubuntu-latest:
src/Filter/EqualsEmpty.php#L69
Escaped Mutant for Mutator "UnwrapArrayValues":
--- Original
+++ New
@@ @@
*/
public function toCriteriaArray() : array
{
- $filters = array_values($this->filters);
+ $filters = $this->filters;
return (new Any(...$filters))->toCriteriaArray();
}
}
|