Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow symfony 7 #288

Merged
merged 1 commit into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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