Skip to content

Commit baee86b

Browse files
AntoineTessonclaude
andcommitted
Restore Symfony 8 support
The previous commit incorrectly removed Symfony 8 support. The real issue was the outdated test XML config format (now fixed). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 047bbd4 commit baee86b

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
matrix:
1717
php: ['8.2', '8.3', '8.4']
1818
symfony: ['6.4.*', '7.1.*', '7.2.*']
19+
include:
20+
- php: '8.3'
21+
symfony: '8.0.*'
22+
- php: '8.4'
23+
symfony: '8.0.*'
1924

2025
steps:
2126
- uses: actions/checkout@v4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
A Symfony Barcode & QR Code Generator Bundle with Twig extension.
77

8-
**Supports PHP 8.2+ and Symfony 6.4 / 7.x**
8+
**Supports PHP 8.2+ and Symfony 6.4 / 7.x / 8.x**
99

1010
## Features
1111

@@ -149,7 +149,7 @@ file_put_contents('/tmp/barcode.png', base64_decode($barcode));
149149
## Requirements
150150

151151
- PHP 8.2+
152-
- Symfony 6.4+ / 7.x
152+
- Symfony 6.4+ / 7.x / 8.x
153153
- GD extension (for PNG output)
154154
- bcmath extension (for Intelligent Mail barcodes)
155155

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"qr code",
1212
"barcode",
1313
"symfony6",
14-
"symfony7"
14+
"symfony7",
15+
"symfony8"
1516
],
1617
"license": "Apache-2.0",
1718
"authors": [
@@ -23,14 +24,14 @@
2324
],
2425
"require": {
2526
"php": ">=8.2",
26-
"symfony/framework-bundle": "^6.4 || ^7.0",
27-
"symfony/twig-bundle": "^6.4 || ^7.0",
28-
"symfony/options-resolver": "^6.4 || ^7.0",
27+
"symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0",
28+
"symfony/twig-bundle": "^6.4 || ^7.0 || ^8.0",
29+
"symfony/options-resolver": "^6.4 || ^7.0 || ^8.0",
2930
"twig/twig": "^3.0"
3031
},
3132
"require-dev": {
3233
"phpunit/phpunit": "^10.5 || ^11.0",
33-
"symfony/phpunit-bridge": "^6.4 || ^7.0"
34+
"symfony/phpunit-bridge": "^6.4 || ^7.0 || ^8.0"
3435
},
3536
"autoload": {
3637
"psr-4": {

0 commit comments

Comments
 (0)