Skip to content

Commit

Permalink
feature #12 Add support for Symfony 6 (loic425)
Browse files Browse the repository at this point in the history
This PR was merged into the 0.2-dev branch.

Discussion
----------



Commits
-------

c97013e Add support for Symfony 6
7ccd23e Bump Infection and Psalm versions
e9de04d Fix Psalm configuration
  • Loading branch information
lchrusciel authored May 30, 2022
2 parents 4761175 + e9de04d commit 3e0c532
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0]
symfony: [^4.4, ^5.2]
php: ["8.0"]
symfony: ["^5.4", "^6.0"]

steps:
- uses: actions/checkout@v2
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Restrict Symfony version
if: matrix.symfony != ''
run: |
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.17"
composer config extra.symfony.require "${{ matrix.symfony }}"
- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"php": "^8.0",
"doctrine/doctrine-migrations-bundle": "^3.0",
"doctrine/migrations": "^3.0",
"marcj/topsort": "^1.1",
"symfony/framework-bundle": "^4.4 || ^5.2"
"symfony/framework-bundle": "^5.4 || ^6.0"
},
"require-dev": {
"infection/infection": "^0.21.0",
"infection/infection": "^0.26",
"matthiasnoback/symfony-config-test": "^4.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "4.4.1"
"vimeo/psalm": "^4.23"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<psalm
resolveFromConfigFile="true"
totallyTyped="true"
errorLevel="2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down

0 comments on commit 3e0c532

Please sign in to comment.