Merge pull request #1420 from ergebnis/dependabot/github_actions/code… #2732
integrate.yaml
on: push
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Compile Phar
Matrix: Dependency Analysis
Matrix: Mutation Tests
Matrix: Refactoring
Matrix: Security Analysis
Matrix: Static Code Analysis
Matrix: Tests
Annotations
46 warnings
Security Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Refactoring (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Code Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.0, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.3, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.3, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.2, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.0, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.0, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.1, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.1, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (7.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.4, lowest):
vendor/phpunit/phpunit/src/Util/ErrorHandler.php#L99
Constant E_STRICT is deprecated
|
Tests (8.4, lowest):
vendor/symfony/string/UnicodeString.php#L183
Symfony\Component\String\UnicodeString::join(): Implicitly marking parameter $lastGlue as nullable is deprecated, the explicit nullable type must be used instead
|
Tests (8.4, lowest):
vendor/phpunit/phpunit/src/Util/ErrorHandler.php#L99
Constant E_STRICT is deprecated
|
Tests (8.4, lowest):
vendor/symfony/string/UnicodeString.php#L263
Symfony\Component\String\UnicodeString::slice(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead
|
Tests (8.4, lowest):
vendor/phpunit/phpunit/src/Util/ErrorHandler.php#L99
Constant E_STRICT is deprecated
|
Tests (8.4, lowest):
vendor/symfony/string/UnicodeString.php#L271
Symfony\Component\String\UnicodeString::splice(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead
|
Tests (8.4, lowest):
vendor/phpunit/phpunit/src/Util/ErrorHandler.php#L99
Constant E_STRICT is deprecated
|
Tests (8.4, lowest):
vendor/symfony/string/UnicodeString.php#L286
Symfony\Component\String\UnicodeString::split(): Implicitly marking parameter $limit as nullable is deprecated, the explicit nullable type must be used instead
|
Tests (8.4, lowest):
vendor/phpunit/phpunit/src/Util/ErrorHandler.php#L99
Constant E_STRICT is deprecated
|
Tests (8.4, lowest):
vendor/symfony/string/UnicodeString.php#L286
Symfony\Component\String\UnicodeString::split(): Implicitly marking parameter $flags as nullable is deprecated, the explicit nullable type must be used instead
|
Tests (8.1, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.3, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.2, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Compile Phar (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code Coverage (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests (7.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Coding Standards (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Dependency Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation Tests (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L55
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
protected function configure() : void
{
- $this->setDescription('Normalizes composer.json according to its JSON schema (https://getcomposer.org/schema.json).');
+
$this->setDefinition([new Console\Input\InputArgument('file', Console\Input\InputArgument::OPTIONAL, 'Path to composer.json file'), new Console\Input\InputOption('diff', null, Console\Input\InputOption::VALUE_NONE, 'Show the results of normalizing'), new Console\Input\InputOption('dry-run', null, Console\Input\InputOption::VALUE_NONE, 'Show the results of normalizing, but do not modify any files'), new Console\Input\InputOption('indent-size', null, Console\Input\InputOption::VALUE_REQUIRED, 'Indent size (an integer greater than 0); should be used with the --indent-style option'), new Console\Input\InputOption('indent-style', null, Console\Input\InputOption::VALUE_REQUIRED, \sprintf('Indent style (one of "%s"); should be used with the --indent-size option', \implode('", "', \array_keys(Normalizer\Format\Indent::CHARACTERS)))), new Console\Input\InputOption('no-check-lock', null, Console\Input\InputOption::VALUE_NONE, 'Do not check if lock file is up to date'), new Console\Input\InputOption('no-update-lock', null, Console\Input\InputOption::VALUE_NONE, 'Do not update lock file if it exists')]);
}
protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) : int
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L86
Escaped Mutant for Mutator "UnwrapArrayKeys":
--- Original
+++ New
@@ @@
protected function configure() : void
{
$this->setDescription('Normalizes composer.json according to its JSON schema (https://getcomposer.org/schema.json).');
- $this->setDefinition([new Console\Input\InputArgument('file', Console\Input\InputArgument::OPTIONAL, 'Path to composer.json file'), new Console\Input\InputOption('diff', null, Console\Input\InputOption::VALUE_NONE, 'Show the results of normalizing'), new Console\Input\InputOption('dry-run', null, Console\Input\InputOption::VALUE_NONE, 'Show the results of normalizing, but do not modify any files'), new Console\Input\InputOption('indent-size', null, Console\Input\InputOption::VALUE_REQUIRED, 'Indent size (an integer greater than 0); should be used with the --indent-style option'), new Console\Input\InputOption('indent-style', null, Console\Input\InputOption::VALUE_REQUIRED, \sprintf('Indent style (one of "%s"); should be used with the --indent-size option', \implode('", "', \array_keys(Normalizer\Format\Indent::CHARACTERS)))), new Console\Input\InputOption('no-check-lock', null, Console\Input\InputOption::VALUE_NONE, 'Do not check if lock file is up to date'), new Console\Input\InputOption('no-update-lock', null, Console\Input\InputOption::VALUE_NONE, 'Do not update lock file if it exists')]);
+ $this->setDefinition([new Console\Input\InputArgument('file', Console\Input\InputArgument::OPTIONAL, 'Path to composer.json file'), new Console\Input\InputOption('diff', null, Console\Input\InputOption::VALUE_NONE, 'Show the results of normalizing'), new Console\Input\InputOption('dry-run', null, Console\Input\InputOption::VALUE_NONE, 'Show the results of normalizing, but do not modify any files'), new Console\Input\InputOption('indent-size', null, Console\Input\InputOption::VALUE_REQUIRED, 'Indent size (an integer greater than 0); should be used with the --indent-style option'), new Console\Input\InputOption('indent-style', null, Console\Input\InputOption::VALUE_REQUIRED, \sprintf('Indent style (one of "%s"); should be used with the --indent-size option', \implode('", "', Normalizer\Format\Indent::CHARACTERS))), new Console\Input\InputOption('no-check-lock', null, Console\Input\InputOption::VALUE_NONE, 'Do not check if lock file is up to date'), new Console\Input\InputOption('no-update-lock', null, Console\Input\InputOption::VALUE_NONE, 'Do not update lock file if it exists')]);
}
protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) : int
{
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L110
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) : int
{
$io = $this->getIO();
- $io->write([\sprintf('Running %s.', Version::long()), '']);
+ $io->write(['']);
$indent = null;
try {
$indentFromInput = self::indentFromInput($input);
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L110
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) : int
{
$io = $this->getIO();
- $io->write([\sprintf('Running %s.', Version::long()), '']);
+
$indent = null;
try {
$indentFromInput = self::indentFromInput($input);
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L131
Escaped Mutant for Mutator "NotIdentical":
--- Original
+++ New
@@ @@
$io->writeError(\sprintf('<error>%s</error>', $exception->getMessage()));
return 1;
}
- if (null !== $indentFromInput) {
+ if (null === $indentFromInput) {
$indent = $indentFromInput;
}
$composerFile = $input->getArgument('file');
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L146
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
$composerFile = Factory::getComposerFile();
}
$composer = $this->factory->createComposer($io, $composerFile);
- if (!$composer instanceof Composer) {
+ if (!true) {
throw Exception\ShouldNotHappen::create();
}
try {
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L161
Escaped Mutant for Mutator "NotIdentical":
--- Original
+++ New
@@ @@
$io->writeError(\sprintf('<error>%s</error>', $exception->getMessage()));
return 1;
}
- if (null !== $indentFromExtra) {
+ if (null === $indentFromExtra) {
$indent = $indentFromExtra;
}
if (null !== $indentFromInput && null !== $indentFromExtra) {
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L166
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
if (null !== $indentFromExtra) {
$indent = $indentFromExtra;
}
- if (null !== $indentFromInput && null !== $indentFromExtra) {
+ if (null !== $indentFromInput || null !== $indentFromExtra) {
$io->write('<warning>Configuration provided via options and composer extra. Using configuration from composer extra.</warning>');
}
if (false === $input->getOption('dry-run') && !\is_writable($composerFile)) {
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L173
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
if (null !== $indentFromInput && null !== $indentFromExtra) {
$io->write('<warning>Configuration provided via options and composer extra. Using configuration from composer extra.</warning>');
}
- if (false === $input->getOption('dry-run') && !\is_writable($composerFile)) {
+ if (false !== $input->getOption('dry-run') && !\is_writable($composerFile)) {
$io->writeError(\sprintf('<error>%s is not writable.</error>', $composerFile));
return 1;
}
|
Mutation Tests (7.4, locked):
src/Command/NormalizeCommand.php#L173
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
if (null !== $indentFromInput && null !== $indentFromExtra) {
$io->write('<warning>Configuration provided via options and composer extra. Using configuration from composer extra.</warning>');
}
- if (false === $input->getOption('dry-run') && !\is_writable($composerFile)) {
+ if (true === $input->getOption('dry-run') && !\is_writable($composerFile)) {
$io->writeError(\sprintf('<error>%s is not writable.</error>', $composerFile));
return 1;
}
|