Skip to content

Update doctrine/orm requirement from ^2.6 to ^2.6 || ^3.0 #59

Update doctrine/orm requirement from ^2.6 to ^2.6 || ^3.0

Update doctrine/orm requirement from ^2.6 to ^2.6 || ^3.0 #59

Triggered via pull request February 9, 2024 03:55
Status Failure
Total duration 1m 33s
Artifacts

integrate.yml

on: pull_request
0️⃣ Byte-level
2s
0️⃣ Byte-level
1️⃣ Syntax errors
21s
1️⃣ Syntax errors
3️⃣ Static Analysis
23s
3️⃣ Static Analysis
4️⃣ Coding Standards
20s
4️⃣ Coding Standards
5️⃣ Mutation Testing
55s
5️⃣ Mutation Testing
6️⃣ Rector Checkstyle
16s
6️⃣ Rector Checkstyle
7️⃣ Exported files
2s
7️⃣ Exported files
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 17 warnings
6️⃣ Rector Checkstyle
Process completed with exit code 2.
3️⃣ Static Analysis: src/library/Message.php#L135
Method WebPush\Message::getTitle() never returns null so it can be removed from the return type.
3️⃣ Static Analysis
Process completed with exit code 2.
1️⃣ Syntax errors
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
6️⃣ Rector Checkstyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
4️⃣ Coding Standards
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
3️⃣ Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
5️⃣ Mutation Testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Compiler/PayloadCacheCompilerPass.php#L37
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ } private function processForService(ContainerBuilder $container, string $class, string $cache, string $parameter) : void { - if (!$container->hasDefinition($class) || !$container->hasAlias($cache)) { + if (!$container->hasDefinition($class) && !$container->hasAlias($cache)) { return; } $cacheLifetime = $container->getParameter($parameter);
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Compiler/SymfonyServiceCompilerPass.php#L18
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ { public function process(ContainerBuilder $container) : void { - if (!$container->hasDefinition('http_client')) { + if ($container->hasDefinition('http_client')) { return; } $definition = new Definition(WebPush::class, [new Reference('http_client'), new Reference(ExtensionManager::class)]);
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Compiler/SymfonyServiceCompilerPass.php#L22
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if (!$container->hasDefinition('http_client')) { return; } - $definition = new Definition(WebPush::class, [new Reference('http_client'), new Reference(ExtensionManager::class)]); + $definition = new Definition(WebPush::class, [new Reference(ExtensionManager::class)]); $definition->setPublic(true); $container->setDefinition('web_push.service', $definition); } }
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Compiler/SymfonyServiceCompilerPass.php#L26
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ return; } $definition = new Definition(WebPush::class, [new Reference('http_client'), new Reference(ExtensionManager::class)]); - $definition->setPublic(true); + $definition->setPublic(false); $container->setDefinition('web_push.service', $definition); } }
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Compiler/SymfonyServiceCompilerPass.php#L26
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ return; } $definition = new Definition(WebPush::class, [new Reference('http_client'), new Reference(ExtensionManager::class)]); - $definition->setPublic(true); + $container->setDefinition('web_push.service', $definition); } }
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Compiler/SymfonyServiceCompilerPass.php#L27
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } $definition = new Definition(WebPush::class, [new Reference('http_client'), new Reference(ExtensionManager::class)]); $definition->setPublic(true); - $container->setDefinition('web_push.service', $definition); + } }
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Configuration.php#L113
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ if (!is_int($conf)) { return true; } - return $conf < 0 || $conf > AES128GCM::PADDING_MAX; + return $conf < 0 && $conf > AES128GCM::PADDING_MAX; })->thenInvalid(sprintf('The padding must have one of the following value: none, recommended, max or an integer between 0 and %d', AES128GCM::PADDING_MAX))->end()->end()->scalarNode('cache')->defaultNull()->info('A PSR6 cache pool to enable caching feature')->end()->scalarNode('cache_lifetime')->defaultValue('now + 30min')->info('A PSR6 cache pool to enable caching feature')->end()->end()->end()->arrayNode('aesgcm')->addDefaultsIfNotSet()->children()->scalarNode('padding')->defaultValue('recommended')->info('Length of the padding: none, recommended, max or and integer')->validate()->ifTrue(static function ($conf) : bool { if (in_array($conf, ['none', 'max', 'recommended'], true)) { return false;
5️⃣ Mutation Testing: src/bundle/DependencyInjection/Configuration.php#L148
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ if (!is_int($conf)) { return true; } - return $conf < 0 || $conf > AESGCM::PADDING_MAX; + return $conf < 0 && $conf > AESGCM::PADDING_MAX; })->thenInvalid(sprintf('The padding must have one of the following value: none, recommended, max or an integer between 0 and %d', AESGCM::PADDING_MAX))->end()->end()->scalarNode('cache')->defaultNull()->info('A PSR6 cache pool to enable caching feature')->end()->scalarNode('cache_lifetime')->defaultValue('now + 30min')->info('A PSR6 cache pool to enable caching feature')->end()->end()->end()->end()->end()->end(); return $treeBuilder; } }
5️⃣ Mutation Testing: src/bundle/DependencyInjection/WebPushExtension.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $processor = new Processor(); $config = $processor->processConfiguration($this->getConfiguration($configs, $container), $configs); - $container->registerForAutoconfiguration(\WebPush\Extension::class)->addTag(ExtensionCompilerPass::TAG); + $container->registerForAutoconfiguration(Loggable::class)->addTag(LoggerSetterCompilerPass::TAG); $container->registerForAutoconfiguration(ContentEncoding::class)->addTag(PayloadContentEncodingCompilerPass::TAG); $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config/'));
5️⃣ Mutation Testing: src/bundle/DependencyInjection/WebPushExtension.php#L39
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $processor = new Processor(); $config = $processor->processConfiguration($this->getConfiguration($configs, $container), $configs); $container->registerForAutoconfiguration(\WebPush\Extension::class)->addTag(ExtensionCompilerPass::TAG); - $container->registerForAutoconfiguration(Loggable::class)->addTag(LoggerSetterCompilerPass::TAG); + $container->registerForAutoconfiguration(ContentEncoding::class)->addTag(PayloadContentEncodingCompilerPass::TAG); $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config/')); $loader->load('services.php');