Build(deps-dev): Bump phpstan/phpstan from 1.10.34 to 1.10.35 #1470
CI.yml
on: pull_request
Mutation testing
2m 21s
Code quality
24s
Dependencies state
43s
Backward Compatible Changes
4s
Working Nix Shell
1m 14s
Matrix: integration
Matrix: tests
Annotations
10 warnings
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L17
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
private function __construct(private RequestInterface $request, private ResponseInterface|null $response, ClientExceptionInterface|null $clientException)
{
$exceptionCode = 0;
- $message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
+ $message = $request->getUri()->__toString() . 'Cannot connect PushGateway server to ' . ':';
if ($response !== null) {
$message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
}
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L17
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
private function __construct(private RequestInterface $request, private ResponseInterface|null $response, ClientExceptionInterface|null $clientException)
{
$exceptionCode = 0;
- $message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
+ $message = $request->getUri()->__toString() . ':';
if ($response !== null) {
$message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
}
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L17
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
private function __construct(private RequestInterface $request, private ResponseInterface|null $response, ClientExceptionInterface|null $clientException)
{
$exceptionCode = 0;
- $message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
+ $message = 'Cannot connect PushGateway server to ' . ':';
if ($response !== null) {
$message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
}
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L17
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
private function __construct(private RequestInterface $request, private ResponseInterface|null $response, ClientExceptionInterface|null $clientException)
{
$exceptionCode = 0;
- $message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
+ $message = 'Cannot connect PushGateway server to ' . ':' . $request->getUri()->__toString();
if ($response !== null) {
$message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
}
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L17
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
private function __construct(private RequestInterface $request, private ResponseInterface|null $response, ClientExceptionInterface|null $clientException)
{
$exceptionCode = 0;
- $message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
+ $message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString();
if ($response !== null) {
$message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
}
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L19
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$exceptionCode = 0;
$message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
if ($response !== null) {
- $message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
+ $message = $response->getStatusCode() . ' ' . ' ' . $response->getReasonPhrase();
}
if ($clientException !== null) {
$message = ' ' . $clientException->getMessage();
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L19
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$exceptionCode = 0;
$message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
if ($response !== null) {
- $message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
+ $message = $response->getStatusCode() . ' ' . $response->getReasonPhrase();
}
if ($clientException !== null) {
$message = ' ' . $clientException->getMessage();
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L19
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$exceptionCode = 0;
$message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
if ($response !== null) {
- $message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
+ $message = ' ' . ' ' . $response->getReasonPhrase();
}
if ($clientException !== null) {
$message = ' ' . $clientException->getMessage();
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L19
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$exceptionCode = 0;
$message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
if ($response !== null) {
- $message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
+ $message = ' ' . ' ' . $response->getStatusCode() . $response->getReasonPhrase();
}
if ($clientException !== null) {
$message = ' ' . $clientException->getMessage();
|
Mutation testing:
src/PushGateway/PSR18UnexpectedPushGatewayResponse.php#L19
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$exceptionCode = 0;
$message = 'Cannot connect PushGateway server to ' . $request->getUri()->__toString() . ':';
if ($response !== null) {
- $message = ' ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase();
+ $message = ' ' . $response->getStatusCode() . $response->getReasonPhrase();
}
if ($clientException !== null) {
$message = ' ' . $clientException->getMessage();
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Infection report
Expired
|
24.3 KB |
|