chore: Update readme for v1.6 #64
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Infection:
src/Aggregate/ArrayElementBuilder.php#L375
Escaped Mutant:
--- Original
+++ New
@@ @@
/**
* {@inheritdoc}
*/
- protected function registry() : RegistryInterface
+ private function registry() : RegistryInterface
{
return $this->registry;
}
}
|
Run Infection:
src/Aggregate/Collection/DependencyIterator.php#L90
Escaped Mutant:
--- Original
+++ New
@@ @@
}
// Create the new iterator, and reset
$this->levelIterator = $this->currentLevel->getIterator();
- $this->levelIterator->rewind();
+
}
// The children is not already registered
// We should skip this step
|
Run Infection:
src/Aggregate/Collection/DependencyIterator.php#L126
Escaped Mutant:
--- Original
+++ New
@@ @@
{
$this->currentLevel = $this->first;
$this->levelIterator = $this->currentLevel->getIterator();
- $this->levelIterator->rewind();
+
// The child is not registered, we should go next
// Or the iterator is not valid
if (!$this->levelIterator->valid() || !isset($this->children[$this->key()])) {
|
Run Infection:
src/Aggregate/Collection/DependencyTree.php#L99
Escaped Mutant:
--- Original
+++ New
@@ @@
return false;
}
$level = $this->level($name);
- if ($level->number() === 0) {
+ if ($level->number() === -1) {
// The child is not part of a dependency
// Web can remove from index safely
$level->remove($name);
|
Run Infection:
src/Aggregate/Collection/DependencyTree.php#L99
Escaped Mutant:
--- Original
+++ New
@@ @@
return false;
}
$level = $this->level($name);
- if ($level->number() === 0) {
+ if ($level->number() !== 0) {
// The child is not part of a dependency
// Web can remove from index safely
$level->remove($name);
|
Run Infection:
src/Aggregate/Collection/DependencyTree.php#L102
Escaped Mutant:
--- Original
+++ New
@@ @@
}
$level = $this->level($name);
if ($level->number() === 0) {
- // The child is not part of a dependency
- // Web can remove from index safely
- $level->remove($name);
+
unset($this->depth[$name]);
} else {
// The child is part of a dependency
|
Run Infection:
src/Aggregate/Collection/DependencyTree.php#L107
Escaped Mutant:
--- Original
+++ New
@@ @@
$level->remove($name);
unset($this->depth[$name]);
} else {
- // The child is part of a dependency
- // Keep it in the index, but remove its dependencies
- $level->reset($name);
+
}
unset($this->children[$name]);
return true;
|
Run Infection:
src/Aggregate/Form.php#L323
Escaped Mutant:
--- Original
+++ New
@@ @@
*/
public function offsetSet($offset, $value) : void
{
- throw new BadMethodCallException(__CLASS__ . ' is immutable');
+ throw new BadMethodCallException(' is immutable' . __CLASS__);
}
/**
* {@inheritdoc}
|
Run Infection:
src/Aggregate/Form.php#L323
Escaped Mutant:
--- Original
+++ New
@@ @@
*/
public function offsetSet($offset, $value) : void
{
- throw new BadMethodCallException(__CLASS__ . ' is immutable');
+ throw new BadMethodCallException(' is immutable');
}
/**
* {@inheritdoc}
|
Run Infection:
src/Aggregate/Form.php#L323
Escaped Mutant:
--- Original
+++ New
@@ @@
*/
public function offsetSet($offset, $value) : void
{
- throw new BadMethodCallException(__CLASS__ . ' is immutable');
+ throw new BadMethodCallException(__CLASS__);
}
/**
* {@inheritdoc}
|
Loading