Skip to content

Commit

Permalink
Allow symfony 7 packages (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianSchmick committed Apr 22, 2024
1 parent e29b53a commit 05dafe2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest }
- { php-version: 7.4, symfony-locked-version: 4.4.*, 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
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('webfactory_piwik');
if (method_exists($treeBuilder, 'getRootNode')) {
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"require": {
"php": ">=7.1",
"ext-json": "*",
"symfony/config": "~3.0|~4.0|~5.0|~6.0",
"symfony/dependency-injection": "~3.0|~4.0|~5.0|~6.0",
"symfony/http-kernel": "~3.0|~4.0|~5.0|~6.0",
"symfony/config": "~3.0|~4.0|~5.0|~6.0|~7.0",
"symfony/dependency-injection": "~3.0|~4.0|~5.0|~6.0|~7.0",
"symfony/http-kernel": "~3.0|~4.0|~5.0|~6.0|~7.0",
"twig/twig": "^1.34|^2.0|^3.0"
},
"require-dev": {
Expand Down

0 comments on commit 05dafe2

Please sign in to comment.