Skip to content

Commit

Permalink
Add support for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronmurphy committed Jan 12, 2021
1 parent 45b9ba1 commit 2ea32d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.

This file was deleted.

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>
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 2ea32d4

Please sign in to comment.