CI #47
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
1s
Annotations
7 warnings
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L30
Escaped Mutant for Mutator "TrueValue":
@@ @@
* @param int|string|Level|LogLevel::* $level
* @phpstan-param value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::* $level
*/
- public function __construct(LogtailClient $client, $level = Logger::DEBUG, bool $bubble = true)
+ public function __construct(LogtailClient $client, $level = Logger::DEBUG, bool $bubble = false)
{
parent::__construct($level, $bubble);
$this->client = $client;
|
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L32
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
*/
public function __construct(LogtailClient $client, $level = Logger::DEBUG, bool $bubble = true)
{
- parent::__construct($level, $bubble);
+
$this->client = $client;
// __destruct() is not called on fatal errors
register_shutdown_function(fn() => $this->saveClose());
|
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L36
Escaped Mutant for Mutator "FunctionCallRemoval":
@@ @@
{
parent::__construct($level, $bubble);
$this->client = $client;
- // __destruct() is not called on fatal errors
- register_shutdown_function(fn() => $this->saveClose());
+
}
/**
* @param array<mixed>|LogRecord $record
|
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L69
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
public function close(): void
{
- $this->flush();
+
parent::close();
}
private function saveClose(): void
|
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L71
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function close(): void
{
$this->flush();
- parent::close();
+
}
private function saveClose(): void
{
|
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L85
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
public function reset(): void
{
- $this->flush();
+
parent::reset();
}
protected function getDefaultFormatter(): FormatterInterface
|
Test for mutants (ubuntu-latest, 8.4):
src/LogtailHandler.php#L87
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function reset(): void
{
$this->flush();
- parent::reset();
+
}
protected function getDefaultFormatter(): FormatterInterface
{
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
|
1.65 KB |
|