Update rector/rector requirement from ^0.18.10 to ^0.19.0 #245
Annotations
10 warnings
Run roave infection.:
src/AbstractQueryDataReader.php#L128
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
{
if ($this->count === null) {
$q = $this->countParam ?? '*';
- if ($q === '*' && is_array($this->data) && !$this->limit && !$this->offset) {
+ if ($q !== '*' && is_array($this->data) && !$this->limit && !$this->offset) {
$this->count = count($this->data);
} else {
$query = $this->getPreparedQuery();
|
Run roave infection.:
src/AbstractQueryDataReader.php#L128
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
{
if ($this->count === null) {
$q = $this->countParam ?? '*';
- if ($q === '*' && is_array($this->data) && !$this->limit && !$this->offset) {
+ if ($q === '*' && is_array($this->data) && $this->limit && !$this->offset) {
$this->count = count($this->data);
} else {
$query = $this->getPreparedQuery();
|
Run roave infection.:
src/AbstractQueryDataReader.php#L128
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
{
if ($this->count === null) {
$q = $this->countParam ?? '*';
- if ($q === '*' && is_array($this->data) && !$this->limit && !$this->offset) {
+ if ($q === '*' && is_array($this->data) && !$this->limit && $this->offset) {
$this->count = count($this->data);
} else {
$query = $this->getPreparedQuery();
|
Run roave infection.:
src/AbstractQueryDataReader.php#L132
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->count = count($this->data);
} else {
$query = $this->getPreparedQuery();
- $query->offset(null);
+
$query->limit(null);
$query->orderBy('');
$this->count = (int) $query->count($q);
|
Run roave infection.:
src/AbstractQueryDataReader.php#L133
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
} else {
$query = $this->getPreparedQuery();
$query->offset(null);
- $query->limit(null);
+
$query->orderBy('');
$this->count = (int) $query->count($q);
}
|
Run roave infection.:
src/AbstractQueryDataReader.php#L134
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$query = $this->getPreparedQuery();
$query->offset(null);
$query->limit(null);
- $query->orderBy('');
+
$this->count = (int) $query->count($q);
}
}
|
Run roave infection.:
src/AbstractQueryDataReader.php#L145
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
}
public function getPreparedQuery() : QueryInterface
{
- $query = $this->applyFilter(clone $this->query);
+ $query = $this->applyFilter($this->query);
$query = $this->applyHaving($query);
if ($this->limit) {
$query->limit($this->limit);
|
Run roave infection.:
src/AbstractQueryDataReader.php#L149
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$query = $this->applyFilter(clone $this->query);
$query = $this->applyHaving($query);
if ($this->limit) {
- $query->limit($this->limit);
+
}
if ($this->offset) {
$query->offset($this->offset);
|
Run roave infection.:
src/AbstractQueryDataReader.php#L153
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$query->limit($this->limit);
}
if ($this->offset) {
- $query->offset($this->offset);
+
}
if ($criteria = $this->sort?->getCriteria()) {
$query->addOrderBy($criteria);
|
Run roave infection.:
src/AbstractQueryDataReader.php#L176
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
}
return $this->filterHandlers[$operation];
}
- protected function applyFilter(QueryInterface $query) : QueryInterface
+ private function applyFilter(QueryInterface $query) : QueryInterface
{
if ($this->filter !== null) {
$query = $this->getHandlerByOperation($this->filter)->applyFilter($query, $this->filter);
|
The logs for this run have expired and are no longer available.
Loading