57
57
run : " tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"
58
58
59
59
test :
60
- name : " PHP ${{ matrix.php-version }} + @${{ matrix.symfony-version }} ${{ matrix.dependency-versions }} deps"
60
+ name : " PHP ${{ matrix.php-version }} + @${{ matrix.symfony-require }} ${{ matrix.dependency-versions }} deps"
61
61
62
62
runs-on : ubuntu-18.04
63
63
@@ -83,15 +83,15 @@ jobs:
83
83
- 1337:1337
84
84
85
85
env :
86
- SYMFONY_VERSION : ${{ matrix.symfony-version }}
86
+ SYMFONY_REQUIRE : ${{ matrix.symfony-require }}
87
87
MAKER_ALLOW_DEV_DEPS_IN_APP : ${{ matrix.allow-dev-deps-in-apps }}
88
88
89
89
strategy :
90
90
fail-fast : false
91
91
matrix :
92
92
php-version :
93
93
- ' 8.1'
94
- symfony-version :
94
+ symfony-require :
95
95
- ' 5.4.*'
96
96
- ' 5.4.x-dev'
97
97
- ' 6.0.x-dev'
@@ -102,11 +102,11 @@ jobs:
102
102
include :
103
103
# testing lowest PHP version with LTS
104
104
- php-version : ' 8.0.0'
105
- symfony-version : ' 5.4.*'
105
+ symfony-require : ' 5.4.*'
106
106
dependency-versions : ' lowest'
107
107
# testing lowest php version with highest 5.x stable
108
108
- php-version : ' 8.0.0'
109
- symfony-version : ' 5.4.*'
109
+ symfony-require : ' 5.4.*'
110
110
dependency-versions : ' highest'
111
111
112
112
steps :
@@ -135,6 +135,12 @@ jobs:
135
135
- name : " Add PHPUnit matcher"
136
136
run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
137
137
138
+ - name : " Allow the Flex Plugin"
139
+ run : composer global config --no-plugins allow-plugins.symfony/flex true
140
+
141
+ - name : " Require symfony/flex"
142
+ run : composer global require --no-progress --no-scripts symfony/flex
143
+
138
144
- name : " Composer install"
139
145
uses : " ramsey/composer-install@v1"
140
146
with :
0 commit comments