• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mimmi20 / navigation-helper-htmlify / 16309288731

16 Jul 2025 03:00AM UTC coverage: 100.0%. First build
16309288731

Pull #311

github

web-flow
composer(deps-dev): bump the development-dependencies group with 3 updates

Updates the requirements on [infection/infection](https://github.com/infection/infection), [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) and [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.

Updates `infection/infection` to 0.30.3
- [Release notes](https://github.com/infection/infection/releases)
- [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md)
- [Commits](https://github.com/infection/infection/compare/0.30.1...0.30.3)

Updates `phpunit/phpunit` to 12.2.7
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/12.2.7/ChangeLog-12.2.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/12.2.6...12.2.7)

Updates `rector/rector` to 2.1.1
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/2.1.0...2.1.1)

---
updated-dependencies:
- dependency-name: infection/infection
  dependency-version: 0.30.3
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: phpunit/phpunit
  dependency-version: 12.2.7
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: rector/rector
  dependency-version: 2.1.1
  dependency-type: direct:development
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #311: composer(deps-dev): bump the development-dependencies group with 3 updates

72 of 72 relevant lines covered (100.0%)

7.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/HtmlifyInterface.php
1
<?php
2

3
/**
4
 * This file is part of the mimmi20/navigation-helper-htmlify package.
5
 *
6
 * Copyright (c) 2021-2025, Thomas Mueller <mimmi20@live.de>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types = 1);
13

14
namespace Mimmi20\NavigationHelper\Htmlify;
15

16
use Laminas\I18n\Exception\RuntimeException;
17
use Laminas\Navigation\Page\AbstractPage;
18
use Laminas\View\Exception\InvalidArgumentException;
19
use Mimmi20\Mezzio\Navigation\Page\PageInterface;
20

21
interface HtmlifyInterface
22
{
23
    /**
24
     * Returns an HTML string for the given page
25
     *
26
     * @param string                     $prefix             prefix to normalize the id attribute
27
     * @param AbstractPage|PageInterface $page               page to generate HTML for
28
     * @param bool                       $escapeLabel        Whether to escape the label
29
     * @param bool                       $addClassToListItem Whether to add the page class to the list item
30
     * @param array<string, string>      $attributes
31
     * @param bool                       $convertToButton    Whether to convert a link to a button
32
     *
33
     * @return string HTML string
34
     *
35
     * @throws InvalidArgumentException
36
     * @throws RuntimeException
37
     */
38
    public function toHtml(
39
        string $prefix,
40
        AbstractPage | PageInterface $page,
41
        bool $escapeLabel = true,
42
        bool $addClassToListItem = false,
43
        array $attributes = [],
44
        bool $convertToButton = false,
45
    ): string;
46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc