Skip to content

Commit

Permalink
Merge pull request #288 from symfony-cmf/sf7
Browse files Browse the repository at this point in the history
allow symfony 7
  • Loading branch information
dbu authored May 4, 2024
2 parents 801c982 + 530bae6 commit 672024c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
test:
name: 'PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies}}'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
SYMFONY_PHPUNIT_VERSION: 9
SYMFONY_DEPRECATIONS_HELPER: "/.*each.*/"
Expand All @@ -27,6 +27,7 @@ jobs:
- php-version: '8.2'
- php-version: '8.3'
symfony-version: 6.4.*
- php-version: '8.3'

steps:
- name: Checkout project
Expand All @@ -44,7 +45,7 @@ jobs:
composer global config --no-plugins allow-plugins.symfony/flex true
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: --prefer-dist
Expand Down
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ Changelog
3.0.0 (unreleased)
-----

* Support Symfony 6
* Use DateTimeInterface instead of DateTime.
* Adjust to doctrine and twig BC breaks. If you extended classes or customized services, check for old `Twig_*` classes or `Doctrine\Common\Persistence` namespace.
* Support Symfony 6 & 7
* Drop support for old Symfony versions
* Supprt PHP 8.1 - 8.3
* Drop support for old PHP versions
* Use DateTimeInterface instead of DateTime.
* Adjust to doctrine and twig BC breaks. If you extended classes or customized services, check for old `Twig_*` classes or `Doctrine\Common\Persistence` namespace.

2.1.1
-----
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
],
"require": {
"php": "^8.1",
"symfony/framework-bundle": "^6.4",
"symfony/security-core": "^6.4"
"symfony/framework-bundle": "^6.4 || ^7.0",
"symfony/security-core": "^6.4 || ^7.0"
},
"require-dev": {
"ext-dom": "*",
Expand All @@ -28,18 +28,18 @@
"doctrine/doctrine-bundle": "^2.0",
"doctrine/phpcr-bundle": "^3.0",
"doctrine/phpcr-odm": "^1.4 || ^2.0 ",
"symfony/browser-kit": "^6.4",
"symfony/form": "^6.4",
"symfony/monolog-bridge": "^6.4",
"symfony/browser-kit": "^6.4 || ^7.0",
"symfony/form": "^6.4 || ^7.0",
"symfony/monolog-bridge": "^6.4 || ^7.0",
"symfony/monolog-bundle": "^3.0",
"symfony/phpunit-bridge": "^7.0.3",
"symfony/security-bundle": "^6.4",
"symfony/templating": "^6.4",
"symfony/translation": "^6.4",
"symfony/twig-bundle": "^6.4",
"symfony/validator": "^6.4",
"symfony/yaml": "^6.4",
"symfony/asset": "^6.4"
"symfony/security-bundle": "^6.4 || ^7.0",
"symfony/templating": "^6.4 || ^7.0",
"symfony/translation": "^6.4 || ^7.0",
"symfony/twig-bundle": "^6.4 || ^7.0",
"symfony/validator": "^6.4 || ^7.0",
"symfony/yaml": "^6.4 || ^7.0",
"symfony/asset": "^6.4 || ^7.0"
},
"suggest": {
"symfony/twig-bundle": "To get access to the CMF twig extension",
Expand Down

0 comments on commit 672024c

Please sign in to comment.