Skip to content

Commit

Permalink
feat: Symfony 7 support (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored Oct 24, 2023
1 parent 1eef59f commit 0554e7c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ jobs:
matrix:
php: [8.1, 8.2, 8.3]
deps: [highest]
symfony: [5.4.*, 6.3.*, 6.4.*]
symfony: [5.4.*, 6.3.*, 6.4.*, 7.0.*]
include:
- php: 8.1
deps: lowest
symfony: '*'
exclude:
- php: 8.1
symfony: 7.0.*
steps:
- uses: zenstruck/.github@php-test-symfony
with:
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"homepage": "https://github.com/zenstruck/messenger-test",
"type": "symfony-bundle",
"license": "MIT",
"keywords": ["messenger", "symfony", "test", "queue"],
"keywords": ["messenger", "symfony", "test", "queue", "dev"],
"authors": [
{
"name": "Kevin Bond",
Expand All @@ -14,17 +14,17 @@
"require": {
"php": ">=8.1",
"symfony/deprecation-contracts": "^2.2|^3.0",
"symfony/framework-bundle": "^5.4|^6.0",
"symfony/messenger": "^5.4|^6.0",
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
"symfony/messenger": "^5.4|^6.0|^7.0",
"zenstruck/assert": "^1.0"
},
"require-dev": {
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9.6.0",
"symfony/browser-kit": "^5.4|^6.0",
"symfony/clock": "^6.3",
"symfony/phpunit-bridge": "^5.4|^6.0",
"symfony/yaml": "^5.4|^6.0"
"symfony/browser-kit": "^5.4|^6.0|^7.0",
"symfony/clock": "^6.3|^7.0",
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
"symfony/yaml": "^5.4|^6.0|^7.0"
},
"suggest": {
"symfony/clock": "A PSR-20 clock implementation in order to support DelayStamp."
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="Zenstruck\Messenger\Test\Tests\Fixture\Kernel" />
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0&amp;quiet[]=indirect&amp;quiet[]=other"/>
<server name="SHELL_VERBOSITY" value="-1"/>
</php>

Expand Down

0 comments on commit 0554e7c

Please sign in to comment.