Skip to content

Fix bagdes in README #91

Fix bagdes in README

Fix bagdes in README #91

Triggered via pull request May 26, 2024 06:37
Status Success
Total duration 5m 10s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
3s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Lint symfony container
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / Lint twig files
Matrix: run / Lint XLIFF files
Matrix: run / Lint YML files
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
run / Lint composer.json (8.3)
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/.
run / Coding Standards (8.3)
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/.
run / Static Code Analysis (8.3)
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/.
run / Code Coverage (8.3)
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/.
run / Mutation Tests (8.3)
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/.
run / Mutation Tests (8.3): src/Action/SitemapXMLAction.php#L30
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $response = new Response($this->generator->toXML()); $response->headers->set('Content-Type', 'text/xml'); - $response->setPublic(); + return $response; } }
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L39
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ } final public function execute(BlockContextInterface $blockContext, ?Response $response = null): Response { - $responseSettings = ['menu' => $this->getMenu($blockContext), 'menu_options' => $this->getMenuOptions($blockContext->getSettings()), 'block' => $blockContext->getBlock(), 'context' => $blockContext]; + $responseSettings = ['menu' > $this->getMenu($blockContext), 'menu_options' => $this->getMenuOptions($blockContext->getSettings()), 'block' => $blockContext->getBlock(), 'context' => $blockContext]; $template = $blockContext->getTemplate(); if ('private' === $blockContext->getSetting('cache_policy')) { return $this->renderResponse($template, $responseSettings, $response)->setTtl(0)->setPrivate();
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L40
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ } final public function execute(BlockContextInterface $blockContext, ?Response $response = null): Response { - $responseSettings = ['menu' => $this->getMenu($blockContext), 'menu_options' => $this->getMenuOptions($blockContext->getSettings()), 'block' => $blockContext->getBlock(), 'context' => $blockContext]; + $responseSettings = ['menu' => $this->getMenu($blockContext), 'menu_options' > $this->getMenuOptions($blockContext->getSettings()), 'block' => $blockContext->getBlock(), 'context' => $blockContext]; $template = $blockContext->getTemplate(); if ('private' === $blockContext->getSetting('cache_policy')) { return $this->renderResponse($template, $responseSettings, $response)->setTtl(0)->setPrivate();
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L41
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ } final public function execute(BlockContextInterface $blockContext, ?Response $response = null): Response { - $responseSettings = ['menu' => $this->getMenu($blockContext), 'menu_options' => $this->getMenuOptions($blockContext->getSettings()), 'block' => $blockContext->getBlock(), 'context' => $blockContext]; + $responseSettings = ['menu' => $this->getMenu($blockContext), 'menu_options' => $this->getMenuOptions($blockContext->getSettings()), 'block' > $blockContext->getBlock(), 'context' => $blockContext]; $template = $blockContext->getTemplate(); if ('private' === $blockContext->getSetting('cache_policy')) { return $this->renderResponse($template, $responseSettings, $response)->setTtl(0)->setPrivate();
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L47
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ { $responseSettings = ['menu' => $this->getMenu($blockContext), 'menu_options' => $this->getMenuOptions($blockContext->getSettings()), 'block' => $blockContext->getBlock(), 'context' => $blockContext]; $template = $blockContext->getTemplate(); - if ('private' === $blockContext->getSetting('cache_policy')) { + if ('private' !== $blockContext->getSetting('cache_policy')) { return $this->renderResponse($template, $responseSettings, $response)->setTtl(0)->setPrivate(); } return $this->renderResponse($template, $responseSettings, $response);
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L75
Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ { $resolver->setDefaults(['cache_policy' => 'public', 'template' => '@SonataBlock/Block/block_core_menu.html.twig', 'safe_labels' => false, 'current_class' => 'active', 'first_class' => false, 'last_class' => false, 'current_uri' => null, 'menu_class' => 'list-group', 'children_class' => 'list-group-item', 'menu_template' => '@NucleosSeo/Block/breadcrumb.html.twig', 'include_homepage_link' => true, 'context' => null]); } - protected function getMenu(BlockContextInterface $blockContext): ItemInterface + private function getMenu(BlockContextInterface $blockContext): ItemInterface { $settings = $blockContext->getSettings(); $menu = $this->factory->createItem('breadcrumb');
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L80
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $settings = $blockContext->getSettings(); $menu = $this->factory->createItem('breadcrumb'); - $menu->setChildrenAttribute('class', 'breadcrumb'); + $menu->setCurrent(true); $menu->setUri($settings['current_uri']); if (true === $settings['include_homepage_link']) {
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L81
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ $settings = $blockContext->getSettings(); $menu = $this->factory->createItem('breadcrumb'); $menu->setChildrenAttribute('class', 'breadcrumb'); - $menu->setCurrent(true); + $menu->setCurrent(false); $menu->setUri($settings['current_uri']); if (true === $settings['include_homepage_link']) { $menu->addChild('nucleos_seo_homepage_breadcrumb', ['uri' => '/']);
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L81
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $settings = $blockContext->getSettings(); $menu = $this->factory->createItem('breadcrumb'); $menu->setChildrenAttribute('class', 'breadcrumb'); - $menu->setCurrent(true); + $menu->setUri($settings['current_uri']); if (true === $settings['include_homepage_link']) { $menu->addChild('nucleos_seo_homepage_breadcrumb', ['uri' => '/']);
run / Mutation Tests (8.3): src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L82
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $menu = $this->factory->createItem('breadcrumb'); $menu->setChildrenAttribute('class', 'breadcrumb'); $menu->setCurrent(true); - $menu->setUri($settings['current_uri']); + if (true === $settings['include_homepage_link']) { $menu->addChild('nucleos_seo_homepage_breadcrumb', ['uri' => '/']); }
run / Test: PHP 8.2, Symfony 6.4, 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/.
run / Test: PHP 8.3, Symfony 6.4, 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/.
run / Test: PHP 8.2, Symfony 7.0, 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/.
run / Test: PHP 8.3, Symfony 7.0, 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/.
run / Test: PHP 8.2, Symfony 7.0, 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/.
run / Test: PHP 8.2, Symfony 6.4, 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/.
run / Test: PHP 8.3, Symfony 6.4, 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/.
run / Test: PHP 8.3, Symfony 7.0, 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/.