Skip to content

Fix #71: Deprecate CsrfMiddleware in favor of CsrfTokenMiddleware #405

Fix #71: Deprecate CsrfMiddleware in favor of CsrfTokenMiddleware

Fix #71: Deprecate CsrfMiddleware in favor of CsrfTokenMiddleware #405

Triggered via pull request October 31, 2024 15:08
Status Success
Total duration 35s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
mutation / PHP 8.2-ubuntu-latest: src/CsrfMiddleware.php#L65
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ } public function withParameterName(string $name) : self { - $new = clone $this; + $new = $this; $new->parameterName = $name; return $new; }
mutation / PHP 8.2-ubuntu-latest: src/CsrfMiddleware.php#L72
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ } public function withHeaderName(string $name) : self { - $new = clone $this; + $new = $this; $new->headerName = $name; return $new; }