Skip to content

Commit 32b5bb0

Browse files
committed
Update supported versions
1 parent a98e5eb commit 32b5bb0

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php-versions: ['8.2', '8.3', '8.4']
10+
php-versions: ['8.4', '8.5']
1111
fail-fast: false
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
- uses: shivammathur/setup-php@v2
1515
with:
1616
php-version: ${{ matrix.php-versions }}
17-
extensions: gd, mbstring, pcov, zip
17+
extensions: gd, mbstring, zip
1818
ini-values: max_execution_time=600, memory_limit=-1
1919
tools: composer:v2
20-
coverage: pcov
20+
coverage: xdebug
2121
env:
2222
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323

@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
composer update --prefer-lowest
5656
vendor/bin/unit-test
57-
vendor/bin/functional-test 5.4
57+
vendor/bin/functional-test 6.4
5858
5959
- name: Archive logs
6060
if: ${{ failure() }}
@@ -64,7 +64,7 @@ jobs:
6464
path: vendor/endroid/quality/application/var/log
6565

6666
- name: Archive code coverage results
67-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@v5
6868
with:
6969
name: coverage-php-${{ matrix.php-versions }}
7070
path: tests/coverage

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2024 (c) Jeroen van den Enden
1+
Copyright 2025 (c) Jeroen van den Enden
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^8.2",
16-
"endroid/installer": "^1.2.2",
17-
"endroid/qr-code": "^6.0.1",
18-
"symfony/framework-bundle": "^5.4||^6.4||^7.0",
19-
"symfony/twig-bundle": "^5.4||^6.4||^7.0",
20-
"symfony/yaml": "^5.4||^6.4||^7.0"
15+
"php": "^8.4",
16+
"endroid/installer": "^1.5",
17+
"endroid/qr-code": "^6.1.0",
18+
"symfony/framework-bundle": "^6.4||^7.4||^8.0",
19+
"symfony/twig-bundle": "^6.4||^7.4||^8.0",
20+
"symfony/yaml": "^6.4||^7.4||^8.0"
2121
},
2222
"require-dev": {
2323
"endroid/quality": "dev-main"

src/DependencyInjection/EndroidQrCodeExtension.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ private function createBuilderDefinition(string $builderName, array $builderConf
9999

100100
$container->setDefinition($id, $builderDefinition);
101101

102-
if (method_exists($container, 'registerAliasForArgument')) {
103-
$container->registerAliasForArgument($id, BuilderInterface::class, $builderName.'QrCodeBuilder')->setPublic(false);
104-
}
102+
$container->registerAliasForArgument($id, BuilderInterface::class, $builderName.'QrCodeBuilder')->setPublic(false);
105103

106104
return $builderDefinition;
107105
}

0 commit comments

Comments
 (0)