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

mimmi20 / navigation-helper-htmlify / 14163188660

31 Mar 2025 03:04AM UTC coverage: 100.0%. First build
14163188660

Pull #251

github

web-flow
composer(deps-dev): update symfony/console requirement

Updates the requirements on [symfony/console](https://github.com/symfony/console) to permit the latest version.
- [Release notes](https://github.com/symfony/console/releases)
- [Changelog](https://github.com/symfony/console/blob/7.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/console/compare/v7.2.1...v7.2.5)

---
updated-dependencies:
- dependency-name: symfony/console
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #251: composer(deps-dev): update symfony/console requirement from ^7.2.1 to ^7.2.5

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