Skip to content

Update phpstan to 2 #103

Update phpstan to 2

Update phpstan to 2 #103

Triggered via push November 13, 2024 22:30
Status Success
Total duration 36s
Artifacts

tests.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 20 warnings
tests (8.4, 7.2.*)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.22 -> satisfiable by vimeo/psalm[5.22.0, ..., 5.x-dev]. - vimeo/psalm[5.22.0, ..., 5.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
tests (8.4, 7.2.*)
Process completed with exit code 2.
tests (8.4, 5.4.*)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.22 -> satisfiable by vimeo/psalm[5.22.0, ..., 5.26.1]. - vimeo/psalm[5.22.0, ..., 5.26.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
tests (8.4, 5.4.*)
Process completed with exit code 2.
tests (8.4, 7.1.*)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.22 -> satisfiable by vimeo/psalm[5.22.0, ..., 5.26.1]. - vimeo/psalm[5.22.0, ..., 5.26.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
tests (8.4, 7.1.*)
Process completed with exit code 2.
tests (8.4, 6.4.*)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.22 -> satisfiable by vimeo/psalm[5.22.0, ..., 5.26.1]. - vimeo/psalm[5.22.0, ..., 5.26.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
tests (8.4, 6.4.*)
Process completed with exit code 2.
tests (8.4, 7.0.*)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.22 -> satisfiable by vimeo/psalm[5.22.0, ..., 5.26.1]. - vimeo/psalm[5.22.0, ..., 5.26.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
tests (8.4, 7.0.*)
Process completed with exit code 2.
tests (8.2, 5.4.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.2, 5.4.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.3, 5.4.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.3, 5.4.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.2, 6.4.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.2, 6.4.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.3, 6.4.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.3, 6.4.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.3, 7.1.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.3, 7.1.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.2, 7.2.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.2, 7.2.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.3, 7.2.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.3, 7.2.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.2, 7.1.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.2, 7.1.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.2, 7.0.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.2, 7.0.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className
tests (8.3, 7.0.*): src/DependencyInjection/CompilerPass/SorterConfigPass.php#L32
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ $container->getParameterBag()->remove('budgegeria_intl.sorter'); foreach ($sorterConfigs as $serviceSuffix => $sorterConfig) { /** @phpstan-var string $locale */ - $locale = $sorterConfig['locale'] ?? $defaultLocale; + $locale = $defaultLocale ?? $sorterConfig['locale']; unset($sorterConfig['locale']); $factory = $container->getDefinition('budgegeria_intl_bundle.sorter.factory.standard'); $builderDefinition = new Definition(Builder::class, [$locale, $factory]);
tests (8.3, 7.0.*): src/DependencyInjection/Configuration.php#L52
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $sorterChildren->scalarNode($sorterConfigNames)->end(); } $sorterChildren->scalarNode('locale')->end(); - $sorterChildren->end()->end()->end()->end(); + } /** * @phpstan-param class-string $className