Skip to content

Commit 047bbd4

Browse files
AntoineTessonclaude
andcommitted
Fix CI: remove Symfony 8 references and update test config
- Remove Symfony 8.x from composer.json (not released yet) - Update CI workflow to test Symfony 6.4, 7.1, 7.2 - Update XML test config to version 10+ format - Update README to reflect supported versions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 90e132b commit 047bbd4

4 files changed

Lines changed: 27 additions & 37 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
php: ['8.2', '8.3', '8.4']
18-
symfony: ['6.4.*', '7.0.*', '7.1.*']
19-
include:
20-
- php: '8.3'
21-
symfony: '8.0.*'
22-
- php: '8.4'
23-
symfony: '8.0.*'
18+
symfony: ['6.4.*', '7.1.*', '7.2.*']
2419

2520
steps:
2621
- 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.x**
8+
**Supports PHP 8.2+ and Symfony 6.4 / 7.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 / 8.x
152+
- Symfony 6.4+ / 7.x
153153
- GD extension (for PNG output)
154154
- bcmath extension (for Intelligent Mail barcodes)
155155

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"qrcode",
1111
"qr code",
1212
"barcode",
13-
"symfony7",
14-
"symfony8"
13+
"symfony6",
14+
"symfony7"
1515
],
1616
"license": "Apache-2.0",
1717
"authors": [
@@ -23,14 +23,14 @@
2323
],
2424
"require": {
2525
"php": ">=8.2",
26-
"symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0",
27-
"symfony/twig-bundle": "^6.4 || ^7.0 || ^8.0",
28-
"symfony/options-resolver": "^6.4 || ^7.0 || ^8.0",
26+
"symfony/framework-bundle": "^6.4 || ^7.0",
27+
"symfony/twig-bundle": "^6.4 || ^7.0",
28+
"symfony/options-resolver": "^6.4 || ^7.0",
2929
"twig/twig": "^3.0"
3030
},
3131
"require-dev": {
3232
"phpunit/phpunit": "^10.5 || ^11.0",
33-
"symfony/phpunit-bridge": "^6.4 || ^7.0 || ^8.0"
33+
"symfony/phpunit-bridge": "^6.4 || ^7.0"
3434
},
3535
"autoload": {
3636
"psr-4": {

phpunit.xml.dist

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,28 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<phpunit backupGlobals="false"
4-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
bootstrap="Tests/bootstrap.php"
55
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
106
stopOnFailure="false"
11-
bootstrap="Tests/bootstrap.php"
12-
beStrictAboutTestsThatDoNotTestAnything="true"
13-
beStrictAboutOutputDuringTests="true"
14-
>
7+
cacheDirectory=".phpunit.cache"
8+
>
159
<testsuites>
1610
<testsuite name="YellowskiesQRcodeBundle Test Suite">
1711
<directory>./Tests/</directory>
1812
</testsuite>
1913
</testsuites>
2014

21-
<filter>
22-
<whitelist>
15+
<source>
16+
<include>
2317
<directory>./</directory>
24-
<exclude>
25-
<directory>./DependencyInjection</directory>
26-
<directory>./DineshBarcode</directory>
27-
<directory>./Resources</directory>
28-
<directory>./Tests</directory>
29-
<directory>./Twig</directory>
30-
</exclude>
31-
</whitelist>
32-
</filter>
33-
</phpunit>
18+
</include>
19+
<exclude>
20+
<directory>./DependencyInjection</directory>
21+
<directory>./DineshBarcode</directory>
22+
<directory>./Resources</directory>
23+
<directory>./Tests</directory>
24+
<directory>./Twig</directory>
25+
<directory>./vendor</directory>
26+
</exclude>
27+
</source>
28+
</phpunit>

0 commit comments

Comments
 (0)