close #90 #203
Annotations
24 warnings
PHP 8.1 test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.1 test on ubuntu-latest:
src/InspectorNull.php#L23
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
use Chevere\xrDebug\PHP\Interfaces\InspectorInterface;
class InspectorNull implements InspectorInterface
{
- public function pause(string $e = '', string $t = '', int $f = 0): void
+ public function pause(string $e = '', string $t = '', int $f = -1): void
{
// null
}
|
PHP 8.1 test on ubuntu-latest:
src/InspectorNull.php#L23
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
use Chevere\xrDebug\PHP\Interfaces\InspectorInterface;
class InspectorNull implements InspectorInterface
{
- public function pause(string $e = '', string $t = '', int $f = 0): void
+ public function pause(string $e = '', string $t = '', int $f = 1): void
{
// null
}
|
PHP 8.1 test on ubuntu-latest:
src/InspectorNull.php#L31
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
// null
}
- public function memory(string $e = '', string $t = '', int $f = 0): void
+ public function memory(string $e = '', string $t = '', int $f = -1): void
{
// null
}
}
|
PHP 8.1 test on ubuntu-latest:
src/InspectorNull.php#L31
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
// null
}
- public function memory(string $e = '', string $t = '', int $f = 0): void
+ public function memory(string $e = '', string $t = '', int $f = 1): void
{
// null
}
}
|
PHP 8.1 test on ubuntu-latest:
src/ThrowableParser.php#L56
Escaped Mutant for Mutator "UnwrapStrReplace":
@@ @@
{
$this->format = new HtmlFormat();
$throwable = $this->throwableRead->throwable();
- $this->topic = basename(str_replace('\\', DIRECTORY_SEPARATOR, $this->throwableRead->className()));
+ $this->topic = basename($this->throwableRead->className());
$this->appendBodyLine(static::OPEN_TEMPLATE);
do {
$this->index++;
|
PHP 8.1 test on ubuntu-latest:
src/ThrowableParser.php#L118
Escaped Mutant for Mutator "CastString":
@@ @@
$trace = [['function' => '{main}', 'file' => $read->file(), 'line' => $read->line()]];
}
$traceDocument = new Trace($trace, $this->format);
- $translate = ['%title%' => $read->className(), '%code%' => $read->code(), '%message%' => $read->message(), '%extra%' => ($this->index === 1) ? $this->extra : '', '%trace%' => $traceDocument->__toString(), '%trace_count%' => (string) count($trace)];
+ $translate = ['%title%' => $read->className(), '%code%' => $read->code(), '%message%' => $read->message(), '%extra%' => ($this->index === 1) ? $this->extra : '', '%trace%' => $traceDocument->__toString(), '%trace_count%' => count($trace)];
$this->appendBodyLine(strtr(static::ITEM_TEMPLATE, $translate));
return $throwable->getPrevious();
}
}
|
PHP 8.1 test on ubuntu-latest:
src/Xr.php#L50
Escaped Mutant for Mutator "Coalesce":
@@ @@
private ?PrivateKey $privateKey = null;
public function __construct(private bool $isEnabled = true, private bool $isHttps = false, private string $host = 'localhost', private int $port = 27420, private string $key = '', ?CurlInterface $curl = null)
{
- $this->curl = $curl ?? new Curl();
+ $this->curl = new Curl() ?? $curl;
$this->setClient();
}
public function withConfigDir(DirectoryInterface $config): XrInterface
|
PHP 8.3 test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.3 test on ubuntu-latest:
src/InspectorNull.php#L23
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
use Chevere\xrDebug\PHP\Interfaces\InspectorInterface;
class InspectorNull implements InspectorInterface
{
- public function pause(string $e = '', string $t = '', int $f = 0): void
+ public function pause(string $e = '', string $t = '', int $f = -1): void
{
// null
}
|
PHP 8.3 test on ubuntu-latest:
src/InspectorNull.php#L23
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
use Chevere\xrDebug\PHP\Interfaces\InspectorInterface;
class InspectorNull implements InspectorInterface
{
- public function pause(string $e = '', string $t = '', int $f = 0): void
+ public function pause(string $e = '', string $t = '', int $f = 1): void
{
// null
}
|
PHP 8.3 test on ubuntu-latest:
src/InspectorNull.php#L31
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
// null
}
- public function memory(string $e = '', string $t = '', int $f = 0): void
+ public function memory(string $e = '', string $t = '', int $f = -1): void
{
// null
}
}
|
PHP 8.3 test on ubuntu-latest:
src/InspectorNull.php#L31
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
// null
}
- public function memory(string $e = '', string $t = '', int $f = 0): void
+ public function memory(string $e = '', string $t = '', int $f = 1): void
{
// null
}
}
|
PHP 8.3 test on ubuntu-latest:
src/ThrowableParser.php#L56
Escaped Mutant for Mutator "UnwrapStrReplace":
@@ @@
{
$this->format = new HtmlFormat();
$throwable = $this->throwableRead->throwable();
- $this->topic = basename(str_replace('\\', DIRECTORY_SEPARATOR, $this->throwableRead->className()));
+ $this->topic = basename($this->throwableRead->className());
$this->appendBodyLine(static::OPEN_TEMPLATE);
do {
$this->index++;
|
PHP 8.3 test on ubuntu-latest:
src/ThrowableParser.php#L118
Escaped Mutant for Mutator "CastString":
@@ @@
$trace = [['function' => '{main}', 'file' => $read->file(), 'line' => $read->line()]];
}
$traceDocument = new Trace($trace, $this->format);
- $translate = ['%title%' => $read->className(), '%code%' => $read->code(), '%message%' => $read->message(), '%extra%' => ($this->index === 1) ? $this->extra : '', '%trace%' => $traceDocument->__toString(), '%trace_count%' => (string) count($trace)];
+ $translate = ['%title%' => $read->className(), '%code%' => $read->code(), '%message%' => $read->message(), '%extra%' => ($this->index === 1) ? $this->extra : '', '%trace%' => $traceDocument->__toString(), '%trace_count%' => count($trace)];
$this->appendBodyLine(strtr(static::ITEM_TEMPLATE, $translate));
return $throwable->getPrevious();
}
}
|
PHP 8.3 test on ubuntu-latest:
src/Xr.php#L50
Escaped Mutant for Mutator "Coalesce":
@@ @@
private ?PrivateKey $privateKey = null;
public function __construct(private bool $isEnabled = true, private bool $isHttps = false, private string $host = 'localhost', private int $port = 27420, private string $key = '', ?CurlInterface $curl = null)
{
- $this->curl = $curl ?? new Curl();
+ $this->curl = new Curl() ?? $curl;
$this->setClient();
}
public function withConfigDir(DirectoryInterface $config): XrInterface
|
PHP 8.2 test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.2 test on ubuntu-latest:
src/InspectorNull.php#L23
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
use Chevere\xrDebug\PHP\Interfaces\InspectorInterface;
class InspectorNull implements InspectorInterface
{
- public function pause(string $e = '', string $t = '', int $f = 0): void
+ public function pause(string $e = '', string $t = '', int $f = -1): void
{
// null
}
|
PHP 8.2 test on ubuntu-latest:
src/InspectorNull.php#L23
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
use Chevere\xrDebug\PHP\Interfaces\InspectorInterface;
class InspectorNull implements InspectorInterface
{
- public function pause(string $e = '', string $t = '', int $f = 0): void
+ public function pause(string $e = '', string $t = '', int $f = 1): void
{
// null
}
|
PHP 8.2 test on ubuntu-latest:
src/InspectorNull.php#L31
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
// null
}
- public function memory(string $e = '', string $t = '', int $f = 0): void
+ public function memory(string $e = '', string $t = '', int $f = -1): void
{
// null
}
}
|
PHP 8.2 test on ubuntu-latest:
src/InspectorNull.php#L31
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
// null
}
- public function memory(string $e = '', string $t = '', int $f = 0): void
+ public function memory(string $e = '', string $t = '', int $f = 1): void
{
// null
}
}
|
PHP 8.2 test on ubuntu-latest:
src/ThrowableParser.php#L56
Escaped Mutant for Mutator "UnwrapStrReplace":
@@ @@
{
$this->format = new HtmlFormat();
$throwable = $this->throwableRead->throwable();
- $this->topic = basename(str_replace('\\', DIRECTORY_SEPARATOR, $this->throwableRead->className()));
+ $this->topic = basename($this->throwableRead->className());
$this->appendBodyLine(static::OPEN_TEMPLATE);
do {
$this->index++;
|
PHP 8.2 test on ubuntu-latest:
src/ThrowableParser.php#L118
Escaped Mutant for Mutator "CastString":
@@ @@
$trace = [['function' => '{main}', 'file' => $read->file(), 'line' => $read->line()]];
}
$traceDocument = new Trace($trace, $this->format);
- $translate = ['%title%' => $read->className(), '%code%' => $read->code(), '%message%' => $read->message(), '%extra%' => ($this->index === 1) ? $this->extra : '', '%trace%' => $traceDocument->__toString(), '%trace_count%' => (string) count($trace)];
+ $translate = ['%title%' => $read->className(), '%code%' => $read->code(), '%message%' => $read->message(), '%extra%' => ($this->index === 1) ? $this->extra : '', '%trace%' => $traceDocument->__toString(), '%trace_count%' => count($trace)];
$this->appendBodyLine(strtr(static::ITEM_TEMPLATE, $translate));
return $throwable->getPrevious();
}
}
|
PHP 8.2 test on ubuntu-latest:
src/Xr.php#L50
Escaped Mutant for Mutator "Coalesce":
@@ @@
private ?PrivateKey $privateKey = null;
public function __construct(private bool $isEnabled = true, private bool $isHttps = false, private string $host = 'localhost', private int $port = 27420, private string $key = '', ?CurlInterface $curl = null)
{
- $this->curl = $curl ?? new Curl();
+ $this->curl = new Curl() ?? $curl;
$this->setClient();
}
public function withConfigDir(DirectoryInterface $config): XrInterface
|