Skip to content

Implement StoreInterface #103

Implement StoreInterface

Implement StoreInterface #103

Triggered via pull request August 15, 2023 16:46
Status Success
Total duration 57s
Artifacts

test.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
🐘 Test on PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🐘 Test on PHP 8.1: src/ArrayObjectTrait.php#L20
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function offsetExists($index) : bool { - return $this->has((string) $index); + return $this->has($index); } /** * @param TKey $index
🐘 Test on PHP 8.1: src/ArrayObjectTrait.php#L31
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function offsetGet($index) { - return $this->get((string) $index); + return $this->get($index); } /** * @param TKey $index
🐘 Test on PHP 8.1: src/ArrayObjectTrait.php#L52
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function offsetUnset($index) { - $this->delete((string) $index); + $this->delete($index); } public function count() : int {
🐘 Test on PHP 8.1: src/Config.php#L74
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ public function get($key, $default = null) { $this->default = $default; - if (!$this->has((string) $key)) { + if (!$this->has($key)) { return $default; } // The class::temp variable is always set by the class::has() method
🐘 Test on PHP 8.1: src/Config.php#L105
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function set(string $key, $value) : bool { - return $this->insertValue($this->storage, $this->buildLevels((string) $key), $value); + return $this->insertValue($this->storage, $this->buildLevels($key), $value); } public function update(string $key, $value) : bool {
🐘 Test on PHP 8.1: src/Config.php#L168
Escaped Mutant for Mutator "Ternary": --- Original +++ New @@ @@ */ private function buildLevels(string $key) : array { - return \explode($this->delimiter ?: '.', $key); + return \explode($this->delimiter ? '.' : $this->delimiter, $key); } }
🐘 Test on PHP 8.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🐘 Test on PHP 8.0: src/ArrayObjectTrait.php#L20
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function offsetExists($index) : bool { - return $this->has((string) $index); + return $this->has($index); } /** * @param TKey $index
🐘 Test on PHP 8.0: src/ArrayObjectTrait.php#L31
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function offsetGet($index) { - return $this->get((string) $index); + return $this->get($index); } /** * @param TKey $index
🐘 Test on PHP 8.0: src/ArrayObjectTrait.php#L52
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function offsetUnset($index) { - $this->delete((string) $index); + $this->delete($index); } public function count() : int {
🐘 Test on PHP 8.0: src/Config.php#L74
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ public function get($key, $default = null) { $this->default = $default; - if (!$this->has((string) $key)) { + if (!$this->has($key)) { return $default; } // The class::temp variable is always set by the class::has() method
🐘 Test on PHP 8.0: src/Config.php#L105
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ */ public function set(string $key, $value) : bool { - return $this->insertValue($this->storage, $this->buildLevels((string) $key), $value); + return $this->insertValue($this->storage, $this->buildLevels($key), $value); } public function update(string $key, $value) : bool {
🐘 Test on PHP 8.0: src/Config.php#L168
Escaped Mutant for Mutator "Ternary": --- Original +++ New @@ @@ */ private function buildLevels(string $key) : array { - return \explode($this->delimiter ?: '.', $key); + return \explode($this->delimiter ? '.' : $this->delimiter, $key); } }
🐘 Test on PHP 7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/