Skip to content

Commit

Permalink
Allow Symfony 7 packages (Case 170245) (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianSchmick authored Apr 23, 2024
1 parent b6d0964 commit 719eb1d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest }
- { php-version: 7.4, symfony-locked-version: 5.3.*, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.2, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.3, symfony-locked-version: none, dependency-version: prefer-stable }
name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }})
steps:
- uses: actions/checkout@v3
Expand Down
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@
"ext-json": "*",
"ext-mbstring": "*",
"psr/log": "^1.0.2",
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/config": "^4.4|^5.0|^6.0|^7.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0|^7.0",
"symfony/deprecation-contracts": "^2.5|^3.0",
"symfony/form": "^4.4|^5.0|^6.0",
"symfony/http-foundation": "^5.3|^6.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0",
"symfony/form": "^4.4|^5.0|^6.0|^7.0",
"symfony/http-foundation": "^5.3|^6.0|^7.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0|^7.0",
"thunderer/shortcode": "^0.6.5|^0.7",
"twig/twig": "^1.34|^2.0|^3.0"
},

"require-dev": {
"phpunit/phpunit": "^8.5|^9.5",
"symfony/browser-kit": "^4.4|^5.4",
"symfony/expression-language": "^4.4|^5.0|^6.0",
"symfony/framework-bundle": "^5.3|^6.0",
"symfony/browser-kit": "^4.4|^5.4|^6.0|^7.0",
"symfony/expression-language": "^4.4|^5.0|^6.0|^7.0",
"symfony/framework-bundle": "^5.3|^6.0|^7.0",
"symfony/phpunit-bridge": ">= 6.0",
"symfony/routing": "^4.4|^5.0|^6.0",
"symfony/twig-bundle": "^4.4|^5.0|^6.0",
"symfony/yaml": "^4.4|^5.0|^6.0"
"symfony/routing": "^4.4|^5.0|^6.0|^7.0",
"symfony/twig-bundle": "^4.4|^5.0|^6.0|^7.0",
"symfony/yaml": "^4.4|^5.0|^6.0|^7.0"
},

"autoload": {
Expand Down
5 changes: 5 additions & 0 deletions tests/Fixtures/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ webfactory_shortcode:
description: "Description for the 'test-shortcode-guide' shortcode"
example: "test-shortcode-guide test=true"
test-config-invalid-controller: 'Foo\Bar::baz'

services:
Webfactory\ShortcodeBundle\Tests\Fixtures\Controller\:
resource: '../Controller/'
tags: [ 'controller.service_arguments' ]

0 comments on commit 719eb1d

Please sign in to comment.