diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 72a01c8a..90ea8d80 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -42,6 +42,10 @@ jobs: dependencies: lowest allowed-to-fail: false variant: normal + - php-version: '8.2' + dependencies: highest + allowed-to-fail: false + variant: sonata-project/form-extensions:"2.0.0-alpha-1" - php-version: '8.2' dependencies: highest allowed-to-fail: false diff --git a/composer.json b/composer.json index d1a7a5ad..daa1df68 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "psr/container": "^1.0 || ^2.0", "psr/log": "^1.1 || ^2.0 || ^3.0", "sonata-project/cache": "^2.0", - "sonata-project/form-extensions": "^1.4", + "sonata-project/form-extensions": "^1.4 || ^2.0", "symfony/asset": "^4.4 || ^5.4 || ^6.2", "symfony/config": "^4.4 || ^5.4 || ^6.2", "symfony/console": "^4.4 || ^5.4 || ^6.2", diff --git a/tests/App/Controller/DemoController.php b/tests/App/Controller/DemoController.php index 342f633e..97fad1da 100644 --- a/tests/App/Controller/DemoController.php +++ b/tests/App/Controller/DemoController.php @@ -22,6 +22,7 @@ final class DemoController extends AbstractController /** * @Route("/", name="home") */ + #[Route('/', name: 'home')] public function index(): Response { return $this->render('index.html.twig');