Skip to content

docs

docs #11

Triggered via push February 8, 2026 13:17
Status Success
Total duration 33s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

28 warnings
PHP 8.2 test on ubuntu-24.04: src/Dependencies.php#L217
Escaped Mutant for Mutator "Continue_": @@ @@ } foreach ($parameters as $name => $parameter) { if (! $this->parameters->has($name)) { - continue; + break; } $existing = $this->parameters->get($name);
PHP 8.2 test on ubuntu-24.04: src/Dependencies.php#L192
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ private function errorMessage(array $errors): string { - return count($errors) === 1 + return count($errors) === 2 ? strval($errors[0]) : implode( "\n\n",
PHP 8.2 test on ubuntu-24.04: src/Dependencies.php#L105
Escaped Mutant for Mutator "LogicalNot": @@ @@ foreach ($this->parameters as $name => $parameter) { $name = strval($name); $hasArgument = $container->has($name); - if (! $hasArgument + if ($hasArgument && $this->parameters->optionalKeys()->contains($name) ) { continue;
PHP 8.2 test on ubuntu-24.04: src/Container.php#L131
Escaped Mutant for Mutator "Continue_": @@ @@ } catch (Throwable $e) { $failures[] = [$missingDep, "Failed to resolve dependencies for `{$className}`: {$e->getMessage()}"]; - continue; + break; } } }
PHP 8.2 test on ubuntu-24.04: src/Container.php#L124
Escaped Mutant for Mutator "GreaterThan": @@ @@ if (method_exists($className, '__construct')) { $reflection = new ReflectionMethod($className, '__construct'); $reflectionParameters = reflectionToParameters($reflection); - if (count($reflectionParameters) > 0) { + if (count($reflectionParameters) >= 0) { try { $arguments = $reflectionParameters(...iterator_to_array($this)) ->toArray();
PHP 8.2 test on ubuntu-24.04: src/Container.php#L92
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $new = clone $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); - $new->autoInject($parameters); + $extra = array_diff($new->keys(), $parameters->keys()); return iterator_to_array(
PHP 8.2 test on ubuntu-24.04: src/Container.php#L89
Escaped Mutant for Mutator "CloneRemoval": @@ @@ public function extract(string $className): array { - $new = clone $this; + $new = $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); $new->autoInject($parameters);
PHP 8.3 test on ubuntu-24.04: src/Dependencies.php#L217
Escaped Mutant for Mutator "Continue_": @@ @@ } foreach ($parameters as $name => $parameter) { if (! $this->parameters->has($name)) { - continue; + break; } $existing = $this->parameters->get($name);
PHP 8.3 test on ubuntu-24.04: src/Dependencies.php#L192
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ private function errorMessage(array $errors): string { - return count($errors) === 1 + return count($errors) === 2 ? strval($errors[0]) : implode( "\n\n",
PHP 8.3 test on ubuntu-24.04: src/Dependencies.php#L105
Escaped Mutant for Mutator "LogicalNot": @@ @@ foreach ($this->parameters as $name => $parameter) { $name = strval($name); $hasArgument = $container->has($name); - if (! $hasArgument + if ($hasArgument && $this->parameters->optionalKeys()->contains($name) ) { continue;
PHP 8.3 test on ubuntu-24.04: src/Container.php#L131
Escaped Mutant for Mutator "Continue_": @@ @@ } catch (Throwable $e) { $failures[] = [$missingDep, "Failed to resolve dependencies for `{$className}`: {$e->getMessage()}"]; - continue; + break; } } }
PHP 8.3 test on ubuntu-24.04: src/Container.php#L124
Escaped Mutant for Mutator "GreaterThan": @@ @@ if (method_exists($className, '__construct')) { $reflection = new ReflectionMethod($className, '__construct'); $reflectionParameters = reflectionToParameters($reflection); - if (count($reflectionParameters) > 0) { + if (count($reflectionParameters) >= 0) { try { $arguments = $reflectionParameters(...iterator_to_array($this)) ->toArray();
PHP 8.3 test on ubuntu-24.04: src/Container.php#L92
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $new = clone $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); - $new->autoInject($parameters); + $extra = array_diff($new->keys(), $parameters->keys()); return iterator_to_array(
PHP 8.3 test on ubuntu-24.04: src/Container.php#L89
Escaped Mutant for Mutator "CloneRemoval": @@ @@ public function extract(string $className): array { - $new = clone $this; + $new = $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); $new->autoInject($parameters);
PHP 8.1 test on ubuntu-24.04: src/Dependencies.php#L217
Escaped Mutant for Mutator "Continue_": @@ @@ } foreach ($parameters as $name => $parameter) { if (!$this->parameters->has($name)) { - continue; + break; } $existing = $this->parameters->get($name); try {
PHP 8.1 test on ubuntu-24.04: src/Dependencies.php#L192
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ private function errorMessage(array $errors): string { - return count($errors) === 1 ? strval($errors[0]) : implode("\n\n", array_map(fn($i, $error) => '- [' . ($i + 1) . ']: ' . $error, array_keys($errors), $errors)); + return count($errors) === 2 ? strval($errors[0]) : implode("\n\n", array_map(fn($i, $error) => '- [' . ($i + 1) . ']: ' . $error, array_keys($errors), $errors)); } private function handleClass(string $className): void {
PHP 8.1 test on ubuntu-24.04: src/Dependencies.php#L105
Escaped Mutant for Mutator "LogicalNot": @@ @@ foreach ($this->parameters as $name => $parameter) { $name = strval($name); $hasArgument = $container->has($name); - if (!$hasArgument && $this->parameters->optionalKeys()->contains($name)) { + if ($hasArgument && $this->parameters->optionalKeys()->contains($name)) { continue; } $requirer = $this->requirer($name);
PHP 8.1 test on ubuntu-24.04: src/Container.php#L131
Escaped Mutant for Mutator "Continue_": @@ @@ $arguments = $reflectionParameters(...iterator_to_array($this))->toArray(); } catch (Throwable $e) { $failures[] = [$missingDep, "Failed to resolve dependencies for `{$className}`: {$e->getMessage()}"]; - continue; + break; } } }
PHP 8.1 test on ubuntu-24.04: src/Container.php#L124
Escaped Mutant for Mutator "GreaterThan": @@ @@ if (method_exists($className, '__construct')) { $reflection = new ReflectionMethod($className, '__construct'); $reflectionParameters = reflectionToParameters($reflection); - if (count($reflectionParameters) > 0) { + if (count($reflectionParameters) >= 0) { try { $arguments = $reflectionParameters(...iterator_to_array($this))->toArray(); } catch (Throwable $e) {
PHP 8.1 test on ubuntu-24.04: src/Container.php#L92
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $new = clone $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); - $new->autoInject($parameters); + $extra = array_diff($new->keys(), $parameters->keys()); return iterator_to_array($new->without(...$extra)); }
PHP 8.1 test on ubuntu-24.04: src/Container.php#L89
Escaped Mutant for Mutator "CloneRemoval": @@ @@ } public function extract(string $className): array { - $new = clone $this; + $new = $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); $new->autoInject($parameters);
PHP 8.4 test on ubuntu-24.04: src/Dependencies.php#L217
Escaped Mutant for Mutator "Continue_": @@ @@ } foreach ($parameters as $name => $parameter) { if (! $this->parameters->has($name)) { - continue; + break; } $existing = $this->parameters->get($name);
PHP 8.4 test on ubuntu-24.04: src/Dependencies.php#L192
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ private function errorMessage(array $errors): string { - return count($errors) === 1 + return count($errors) === 2 ? strval($errors[0]) : implode( "\n\n",
PHP 8.4 test on ubuntu-24.04: src/Dependencies.php#L105
Escaped Mutant for Mutator "LogicalNot": @@ @@ foreach ($this->parameters as $name => $parameter) { $name = strval($name); $hasArgument = $container->has($name); - if (! $hasArgument + if ($hasArgument && $this->parameters->optionalKeys()->contains($name) ) { continue;
PHP 8.4 test on ubuntu-24.04: src/Container.php#L131
Escaped Mutant for Mutator "Continue_": @@ @@ } catch (Throwable $e) { $failures[] = [$missingDep, "Failed to resolve dependencies for `{$className}`: {$e->getMessage()}"]; - continue; + break; } } }
PHP 8.4 test on ubuntu-24.04: src/Container.php#L124
Escaped Mutant for Mutator "GreaterThan": @@ @@ if (method_exists($className, '__construct')) { $reflection = new ReflectionMethod($className, '__construct'); $reflectionParameters = reflectionToParameters($reflection); - if (count($reflectionParameters) > 0) { + if (count($reflectionParameters) >= 0) { try { $arguments = $reflectionParameters(...iterator_to_array($this)) ->toArray();
PHP 8.4 test on ubuntu-24.04: src/Container.php#L92
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $new = clone $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); - $new->autoInject($parameters); + $extra = array_diff($new->keys(), $parameters->keys()); return iterator_to_array(
PHP 8.4 test on ubuntu-24.04: src/Container.php#L89
Escaped Mutant for Mutator "CloneRemoval": @@ @@ public function extract(string $className): array { - $new = clone $this; + $new = $this; $reflection = new ReflectionMethod($className, '__construct'); $parameters = reflectionToParameters($reflection); $new->autoInject($parameters);