Fix #71: Deprecate CsrfMiddleware
in favor of CsrfTokenMiddleware
#406
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;
}
|