diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index f4ca0e7..3483120 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -23,6 +23,12 @@ jobs: symfony-version: - '6.4.*' - '7.3.*' + - '7.4.*@dev' + include: + - php-version: '8.4' + symfony-version: '8.0.*@dev' + - php-version: '8.5' + symfony-version: '8.0.*@dev' steps: - name: Checkout code @@ -35,11 +41,11 @@ jobs: with: coverage: pcov php-version: ${{ matrix.php-version }} + tools: flex - - name: Install Symfony Flex - run: | - composer config --global --no-plugins allow-plugins.symfony/flex true - composer global require --no-progress --no-scripts --no-plugins symfony/flex + - name: Configure Composer minimum-stability for dev versions + if: contains(matrix.symfony-version, 'dev') + run: composer config minimum-stability dev - name: Install Composer dependencies uses: ramsey/composer-install@v3 diff --git a/CHANGELOG-1.x.md b/CHANGELOG-1.x.md index ec36cd9..5d6d2bf 100644 --- a/CHANGELOG-1.x.md +++ b/CHANGELOG-1.x.md @@ -2,6 +2,7 @@ ----- * Test against PHP 8.4 & 8.5 +* Allow Symfony 8 1.4.0 ----- diff --git a/README.md b/README.md index 6855a8c..ddeca95 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Leapt SlugType bundle makes a form field dynamically generate the slug based on ## Requirements - PHP ^8.2 -- Symfony ^6.4 or ^7.0 +- Symfony ^6.4, ^7.0 or ^8.0 - Webpack Encore & Stimulus bridge already present in your project ## Installation diff --git a/composer.json b/composer.json index e01fb00..fed3622 100644 --- a/composer.json +++ b/composer.json @@ -13,18 +13,18 @@ ], "require": { "php": "^8.2", - "symfony/form": "^6.4 || ^7.0", - "symfony/http-kernel": "^6.4 || ^7.0", + "symfony/form": "^6.4 || ^7.0 || ^8.0", + "symfony/http-kernel": "^6.4 || ^7.0 || ^8.0", "symfony/stimulus-bundle": "^2.9", - "symfony/translation": "^6.4 || ^7.0" + "symfony/translation": "^6.4 || ^7.0 || ^8.0" }, "require-dev": { "phpstan/phpstan": "^2.1.22", "phpstan/phpstan-deprecation-rules": "^2.0.3", "phpunit/phpunit": "^11.1.3", - "symfony/asset-mapper": "^6.4 || ^7.0", - "symfony/framework-bundle": "^6.4 || ^7.0", - "symfony/twig-bundle": "^6.4 || ^7.0", + "symfony/asset-mapper": "^6.4 || ^7.0 || ^8.0", + "symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0", + "symfony/twig-bundle": "^6.4 || ^7.0 || ^8.0", "symplify/easy-coding-standard": "^12.5.24" }, "scripts": {