Refresh #1
Annotations
5 errors and 19 warnings
build (8.1)
Process completed with exit code 1.
|
build (8.2)
The job was canceled because "_8_1" failed.
|
build (8.2)
Process completed with exit code 1.
|
build (8.3)
The job was canceled because "_8_1" failed.
|
build (8.3)
The operation was canceled.
|
build (8.1):
src/CheckSSL.php#L37
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
*/
public static function redirect() : void
{
- if (self::isSSL()) {
+ if (!self::isSSL()) {
return;
}
$host = $_SERVER['HTTP_HOST'] ?? '';
|
build (8.1):
src/CheckSSL.php#L40
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
if (self::isSSL()) {
return;
}
- $host = $_SERVER['HTTP_HOST'] ?? '';
+ $host = '' ?? $_SERVER['HTTP_HOST'];
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
$redirect = 'https://' . $host . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/CheckSSL.php#L41
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
return;
}
$host = $_SERVER['HTTP_HOST'] ?? '';
- $requestUri = $_SERVER['REQUEST_URI'] ?? '';
+ $requestUri = '' ?? $_SERVER['REQUEST_URI'];
$redirect = 'https://' . $host . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = $host . 'https://' . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = $host . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = 'https://' . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = 'https://' . $requestUri . $host;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = 'https://' . $host;
header('Location: ' . $redirect);
}
}
|
build (8.1):
src/Header.php#L56
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*
* @param bool $forceNewLoad don't use a cached version
*/
- public static function getHeader(bool $forceNewLoad = false) : string|null
+ public static function getHeader(bool $forceNewLoad = true) : string|null
{
if (!self::hasCurl()) {
return null;
|
build (8.2):
src/CheckSSL.php#L37
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
*/
public static function redirect() : void
{
- if (self::isSSL()) {
+ if (!self::isSSL()) {
return;
}
$host = $_SERVER['HTTP_HOST'] ?? '';
|
build (8.2):
src/CheckSSL.php#L40
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
if (self::isSSL()) {
return;
}
- $host = $_SERVER['HTTP_HOST'] ?? '';
+ $host = '' ?? $_SERVER['HTTP_HOST'];
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
$redirect = 'https://' . $host . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/CheckSSL.php#L41
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
return;
}
$host = $_SERVER['HTTP_HOST'] ?? '';
- $requestUri = $_SERVER['REQUEST_URI'] ?? '';
+ $requestUri = '' ?? $_SERVER['REQUEST_URI'];
$redirect = 'https://' . $host . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = $host . 'https://' . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = $host . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = 'https://' . $requestUri;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = 'https://' . $requestUri . $host;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/CheckSSL.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$host = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
- $redirect = 'https://' . $host . $requestUri;
+ $redirect = 'https://' . $host;
header('Location: ' . $redirect);
}
}
|
build (8.2):
src/Header.php#L56
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*
* @param bool $forceNewLoad don't use a cached version
*/
- public static function getHeader(bool $forceNewLoad = false) : string|null
+ public static function getHeader(bool $forceNewLoad = true) : string|null
{
if (!self::hasCurl()) {
return null;
|
build (8.3)
No files were found with the provided path: infection-log.txt. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
infection-log-8.1.txt
Expired
|
3.42 KB |
|
infection-log-8.2.txt
Expired
|
3.42 KB |
|