Skip to content

phpstan level 9

phpstan level 9 #1306

Triggered via push January 14, 2026 21:09
Status Success
Total duration 1m 2s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
PHP 8.4: src/Negotiation/Origin/OriginNegotiator.php#L29
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function negotiate(ServerRequestInterface $request): ?string { if ('' === $origin = $request->getHeaderLine(self::HEADER)) { - return null; + } foreach ($this->allowOrigins as $allowOrigin) { if ($allowOrigin->match($origin)) {
PHP 8.4: src/Negotiation/MethodNegotiator.php#L29
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function negotiate(ServerRequestInterface $request): bool { if ('' === $method = $request->getHeaderLine(self::HEADER)) { - return false; + } return \in_array($method, $this->allowMethods, true); }
PHP 8.3: src/Negotiation/Origin/OriginNegotiator.php#L29
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function negotiate(ServerRequestInterface $request): ?string { if ('' === $origin = $request->getHeaderLine(self::HEADER)) { - return null; + } foreach ($this->allowOrigins as $allowOrigin) { if ($allowOrigin->match($origin)) {
PHP 8.3: src/Negotiation/MethodNegotiator.php#L29
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function negotiate(ServerRequestInterface $request): bool { if ('' === $method = $request->getHeaderLine(self::HEADER)) { - return false; + } return \in_array($method, $this->allowMethods, true); }
PHP 8.5: src/Negotiation/Origin/OriginNegotiator.php#L29
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function negotiate(ServerRequestInterface $request): ?string { if ('' === $origin = $request->getHeaderLine(self::HEADER)) { - return null; + } foreach ($this->allowOrigins as $allowOrigin) { if ($allowOrigin->match($origin)) {
PHP 8.5: src/Negotiation/MethodNegotiator.php#L29
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ public function negotiate(ServerRequestInterface $request): bool { if ('' === $method = $request->getHeaderLine(self::HEADER)) { - return false; + } return \in_array($method, $this->allowMethods, true); }