Update dependency matthiasnoback/symfony-dependency-injection-test to v6 - autoclosed #1605
continuous-integration.yml
on: pull_request
run
/
Generate test matrix
2s
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / tests
Annotations
24 warnings
run / Generate test matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Lint composer.json (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Code Coverage (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.2, Symfony 6.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Mutation Tests (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Mutation Tests (8.3):
src/Extension/StringExtension.php#L25
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
public function getFilters(): array
{
- return [new TwigFilter('format_bytes', [StringRuntime::class, 'formatBytes']), new TwigFilter('obfuscate', [StringRuntime::class, 'obfuscate']), new TwigFilter('spamsecure', [StringRuntime::class, 'spamsecure'], ['is_safe' => ['html']])];
+ return [new TwigFilter('format_bytes', [StringRuntime::class, 'formatBytes']), new TwigFilter('obfuscate', [StringRuntime::class, 'obfuscate']), new TwigFilter('spamsecure', [StringRuntime::class, 'spamsecure'], [])];
}
}
|
run / Mutation Tests (8.3):
src/Extension/StringExtension.php#L26
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
public function getFilters(): array
{
- return [new TwigFilter('format_bytes', [StringRuntime::class, 'formatBytes']), new TwigFilter('obfuscate', [StringRuntime::class, 'obfuscate']), new TwigFilter('spamsecure', [StringRuntime::class, 'spamsecure'], ['is_safe' => ['html']])];
+ return [new TwigFilter('format_bytes', [StringRuntime::class, 'formatBytes']), new TwigFilter('obfuscate', [StringRuntime::class, 'obfuscate']), new TwigFilter('spamsecure', [StringRuntime::class, 'spamsecure'], ['is_safe' => []])];
}
}
|
run / Mutation Tests (8.3):
src/Extension/UrlAutoConverterExtension.php#L23
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
public function getFilters(): array
{
- return [new TwigFilter('converturls', [UrlAutoConverterRuntime::class, 'convertLinks'], ['is_safe' => ['html']])];
+ return [new TwigFilter('converturls', [UrlAutoConverterRuntime::class, 'convertLinks'], [])];
}
}
|
run / Mutation Tests (8.3):
src/Extension/UrlAutoConverterExtension.php#L23
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
public function getFilters(): array
{
- return [new TwigFilter('converturls', [UrlAutoConverterRuntime::class, 'convertLinks'], ['is_safe' => ['html']])];
+ return [new TwigFilter('converturls', [UrlAutoConverterRuntime::class, 'convertLinks'], ['is_safe' => []])];
}
}
|
run / Mutation Tests (8.3):
src/Runtime/RouterRuntime.php#L34
Escaped Mutant for Mutator "UnwrapTrim":
@@ @@
*/
public function splitTag(string $text, string $tag): array
{
- if ('' === trim($tag)) {
+ if ('' === $tag) {
return [$text];
}
$split = preg_split('/(?=<' . $tag . '([^>])*>)/', $text, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
|
run / Mutation Tests (8.3):
src/Runtime/RouterRuntime.php#L40
Escaped Mutant for Mutator "FalseValue":
@@ @@
return [$text];
}
$split = preg_split('/(?=<' . $tag . '([^>])*>)/', $text, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
- if (false !== $split) {
+ if (true !== $split) {
return $split;
}
return [$text];
}
}
|
run / Mutation Tests (8.3):
src/Runtime/StringRuntime.php#L42
Escaped Mutant for Mutator "TrueValue":
@@ @@
$this->mailAtText = $mailAtText;
$this->mailDotText = $mailDotText;
}
- public function formatBytes(float $bytes, bool $si = true, int $fractionDigits = 0, ?string $locale = null): string
+ public function formatBytes(float $bytes, bool $si = false, int $fractionDigits = 0, ?string $locale = null): string
{
if (null === $locale) {
$locale = Locale::getDefault();
|
run / Mutation Tests (8.3):
src/Runtime/StringRuntime.php#L42
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
$this->mailAtText = $mailAtText;
$this->mailDotText = $mailDotText;
}
- public function formatBytes(float $bytes, bool $si = true, int $fractionDigits = 0, ?string $locale = null): string
+ public function formatBytes(float $bytes, bool $si = true, int $fractionDigits = -1, ?string $locale = null): string
{
if (null === $locale) {
$locale = Locale::getDefault();
|
run / Mutation Tests (8.3):
src/Runtime/StringRuntime.php#L42
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
$this->mailAtText = $mailAtText;
$this->mailDotText = $mailDotText;
}
- public function formatBytes(float $bytes, bool $si = true, int $fractionDigits = 0, ?string $locale = null): string
+ public function formatBytes(float $bytes, bool $si = true, int $fractionDigits = 1, ?string $locale = null): string
{
if (null === $locale) {
$locale = Locale::getDefault();
|
run / Mutation Tests (8.3):
src/Runtime/StringRuntime.php#L48
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
if (null === $locale) {
$locale = Locale::getDefault();
}
- $unit = $si ? 1000 : 1024;
+ $unit = $si ? 999 : 1024;
if ($bytes < $unit) {
$prefix = '';
$number = $bytes;
|
run / Coding Standards (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.3, Symfony 6.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Static Code Analysis (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.2, Symfony 7.0, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.2, Symfony 6.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.3, Symfony 6.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.3, Symfony 7.0, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.2, Symfony 7.0, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
run / Test: PHP 8.3, Symfony 7.0, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|