Skip to content

Commit

Permalink
Symfony 7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBrauner committed Aug 25, 2024
1 parent 1320035 commit 5dcd0ce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Braunstetter/menu-bundle/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/Braunstetter/menu-bundle/?branch=main)
[![Build Status](https://app.travis-ci.com/Braunstetter/menu-bundle.svg?branch=main)](https://app.travis-ci.com/Braunstetter/menu-bundle)
[![Total Downloads](http://poser.pugx.org/braunstetter/menu-bundle/downloads)](https://packagist.org/packages/braunstetter/menu-bundle)
[![License](http://poser.pugx.org/braunstetter/menu-bundle/license)](https://packagist.org/packages/braunstetter/menu-bundle)
[![Total Downloads](https://poser.pugx.org/braunstetter/menu-bundle/downloads)](https://packagist.org/packages/braunstetter/menu-bundle)
[![License](https://poser.pugx.org/braunstetter/menu-bundle/license)](https://packagist.org/packages/braunstetter/menu-bundle)

## Overview
`braunstetter/menu-bundle` is a powerful tool designed to simplify the process of creating menus in your Symfony projects. It provides an easy and intuitive interface to create and configure various types of menus.
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
]
},
"require": {
"php": "^8.0",
"symfony/framework-bundle": "^5.0|^6.0",
"symfony/twig-bundle": "^5.3|^6.0",
"symfony/yaml": "^5.3|^6.0",
"symfony/string": "^5.3|^6.0",
"php": "^8.1",
"symfony/framework-bundle": "^6.0|^7.0",
"symfony/twig-bundle": "^6.0|^7.0",
"symfony/yaml": "^6.0|^7.0",
"symfony/string": "^6.0|^7.0",
"webmozart/assert": "^1.11",
"braunstetter/helper": "^0.2.5"

Expand Down
2 changes: 1 addition & 1 deletion tests/app/src/Resources/config/controller.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ services:
tags: [controller.service_arguments, controller.service_subscriber]
public: true
arguments:
- '@Twig_Environment'
- '@Twig\Environment'
5 changes: 5 additions & 0 deletions tests/app/src/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ protected function configureContainer(ContainerConfigurator $container): void
'router' => [
'utf8' => true,
],
'http_method_override' => false,
'handle_all_throwables' => true,
'php_errors' => [
'log' => true,
],
]);

$container->extension('twig', [
Expand Down

0 comments on commit 5dcd0ce

Please sign in to comment.