Skip to content

Commit

Permalink
Merge pull request #84 from Bukashk0zzz/patch-1
Browse files Browse the repository at this point in the history
Add Symfony 6 support
  • Loading branch information
peter-gribanov authored Dec 27, 2021
2 parents ace12fd + f250ba5 commit 767829c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.1
php-version: 7.4
coverage: none
tools: composer:v2, cs2pr, php-cs-fixer

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
- php: '8.0'
symfony: '5.2.*'
phpstan: .phpstan/symfony_5.neon
- php: '8.0'
symfony: '6.0.*'
phpstan: .phpstan/symfony_6.neon
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .phpstan/symfony_5.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# config for Symfone 5.0 - 5.2
# config for Symfony 5.0 - 5.2

includes:
- default.neon
Expand Down
4 changes: 4 additions & 0 deletions .phpstan/symfony_6.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# config for Symfony 6.0

includes:
- symfony_5.neon
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"ext-zlib": "*",
"php": ">=7.1.0",
"geoip2/geoip2": "~2.0",
"symfony/http-kernel": "~2.8|~3.0|~4.0|~5.0",
"symfony/dependency-injection": "~2.8|~3.0|~4.0|~5.0",
"symfony/expression-language": "~2.8|~3.0|~4.0|~5.0",
"symfony/config": "~2.8|~3.0|~4.0|~5.0",
"symfony/console": "~2.8|~3.0|~4.0|~5.0",
"symfony/filesystem": "~2.8|~3.0|~4.0|~5.0"
"symfony/http-kernel": "~2.8|~3.0|~4.0|~5.0|~6.0",
"symfony/dependency-injection": "~2.8|~3.0|~4.0|~5.0|~6.0",
"symfony/expression-language": "~2.8|~3.0|~4.0|~5.0|~6.0",
"symfony/config": "~2.8|~3.0|~4.0|~5.0|~6.0",
"symfony/console": "~2.8|~3.0|~4.0|~5.0|~6.0",
"symfony/filesystem": "~2.8|~3.0|~4.0|~5.0|~6.0"
},
"require-dev": {
"phpunit/phpunit": "~7.0|~8.0|~9.0",
Expand Down

0 comments on commit 767829c

Please sign in to comment.