-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45b9ba1
commit 2ea32d4
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenu__1.php
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenu__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown Menu 1</a><div class="dropdown-menu"><a class="dropdown-item" href="/app-dropdown-2-route?test=123">Dropdown Item 2 (should render a dropdown-item)</a></div></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown Menu 2</a><div class="dropdown-menu"><a class="dropdown-item" href="/app-dropdown-item-3-route">Dropdown Item 3 (should render a dropdown-item because user has permission)</a><a class="dropdown-item" href="https://disney.com">Dropdown Item 4 (should render a dropdown-item linking to Disney)</a></div></li><li class="nav-item"><a class="nav-link" href="/app-link-1-route">Link 1 (this should render a nav-link)</a></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown Menu 4</a><div class="dropdown-menu"><a class="dropdown-item" href="/app-dropdown-item-8-route">Dropdown Item 8</a><div class="dropdown-divider"></div><h6 class="dropdown-header">Divider 2 (should render a dropdown-header)</h6><a class="dropdown-item" href="/app-dropdown-item-9-route">Dropdown Item 9</a><div class="dropdown-divider"></div><a class="dropdown-item" href="/app-dropdown-item-10-route">Dropdown Item 10</a><a class="dropdown-item" href="/app-dropdown-item-11-route">Dropdown Item 11</a><div class="dropdown-divider"></div><h6 class="dropdown-header">Divider 5</h6><a class="dropdown-item" href="/app-dropdown-item-13-route">Dropdown Item 13</a></div></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,26 +3,26 @@ | |
"description": "Render Bootstrap 4 menus using Symfony", | ||
"type": "symfony-bundle", | ||
"license": "MIT", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"authors": [ | ||
{ | ||
"name": "Cameron Murphy", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1.3", | ||
"php": "^7.1.3 || ^8.0", | ||
"ext-json": "*", | ||
"symfony/config": "^4.2|^5.0", | ||
"symfony/dependency-injection": "^4.2|^5.0", | ||
"symfony/twig-bundle": "^4.2|^5.0" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^2.16", | ||
"friendsofphp/php-cs-fixer": "^2.17", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"symfony/phpunit-bridge": "^4.2|^5.0", | ||
"spatie/phpunit-snapshot-assertions": "^2.0|^3.0", | ||
"phpunit/phpunit": "^7.0|^8.0", | ||
"spatie/phpunit-snapshot-assertions": "^2.0 || ^3.0 || ^4.0", | ||
"phpunit/phpunit": "^7.0 || ^8.0", | ||
"dg/bypass-finals": "^1.1" | ||
}, | ||
"autoload": { | ||
|