diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index eae4d6a..579f01e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 - name: Validate composer.json diff --git a/CHANGELOG.md b/CHANGELOG.md index c9a53d3..d1f2be8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -## vx.x.x +## v1.9.3 +* Add Symfony 7 compatibility + +## v1.9.0 * Drop support for PHP 7.2 and 7.3 ## v1.7.1 diff --git a/composer.json b/composer.json index 019183a..77a40bb 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": ">=7.4", - "symfony/framework-bundle": "^4.4|^5.1|^6.0", + "symfony/framework-bundle": "^4.4|^5.1|^6.0|^7.0", "knplabs/knp-snappy": "^1.4.3" }, "autoload": { @@ -31,12 +31,12 @@ } }, "require-dev": { - "symfony/asset": "^4.4|^5.1|^6.0", - "symfony/finder": "^4.4|^5.1|^6.0", - "symfony/phpunit-bridge": "^4.4|^5.1|^6.0", - "symfony/security-csrf": "^4.4|^5.1|^6.0", - "symfony/templating": "^4.4|^5.1|^6.0", - "symfony/validator": "^4.4|^5.1|^6.0", - "symfony/yaml": "^4.4|^5.1|^6.0" + "symfony/asset": "^4.4|^5.1|^6.0|^7.0", + "symfony/finder": "^4.4|^5.1|^6.0|^7.0", + "symfony/phpunit-bridge": "^6.4|^7.0", + "symfony/security-csrf": "^4.4|^5.1|^6.0|^7.0", + "symfony/templating": "^4.4|^5.1|^6.0|^7.0", + "symfony/validator": "^4.4|^5.1|^6.0|^7.0", + "symfony/yaml": "^4.4|^5.1|^6.0|^7.0" } } diff --git a/tests/fixtures/config/base.yml b/tests/fixtures/config/base.yml index 2c18b8b..59d8909 100644 --- a/tests/fixtures/config/base.yml +++ b/tests/fixtures/config/base.yml @@ -1,5 +1,8 @@ framework: secret: ThisIsNotReallyASecretSoPleaseChangeIt router: { resource: "%kernel.project_dir%/config/routing.yml", utf8: true } - validation: { enabled: true, enable_annotations: false } + validation: { enabled: true } + #validation: { enabled: true, enable_annotations: false, email_validation_mode: html5 } http_method_override: false + #handle_all_throwables: true + #php_errors: { log: true }