22
22
23
23
steps :
24
24
- name : " Checkout"
25
- uses : " actions/checkout@v3 "
25
+ uses : " actions/checkout@v4 "
26
26
27
27
- name : " Setup PHP, with composer and extensions"
28
28
uses : " shivammathur/setup-php@v2"
32
32
coverage : " none"
33
33
34
34
- name : " Install composer dependencies"
35
- uses : " ramsey/composer-install@v2 "
35
+ uses : " ramsey/composer-install@v3 "
36
36
with :
37
37
dependency-versions : " ${{ matrix.dependencies }}"
38
38
@@ -56,23 +56,35 @@ jobs:
56
56
- " 7.4"
57
57
- " 8.0"
58
58
- " 8.1"
59
+ - " 8.2"
60
+ - " 8.3"
61
+ - " 8.4"
59
62
60
63
dependencies :
61
64
- " lowest"
62
65
- " highest"
63
66
64
67
symfony :
65
- - " ^4.4"
66
- - " ^5.4"
67
- - " ^6.0"
68
+ - " ~4.4.0"
69
+ - " ~5.4.0"
70
+ - " ~6.4.0"
71
+ - " ~7.0.0"
72
+ - " ~7.1.0"
73
+ - " ~7.2.0"
68
74
69
75
exclude :
70
76
- php-version : " 7.4"
71
- symfony : " ^6.0"
77
+ symfony : " ~6.4.0"
78
+ - php-version : " 7.4"
79
+ symfony : " ~7.0.0"
80
+ - php-version : " 7.4"
81
+ symfony : " ~7.1.0"
82
+ - php-version : " 7.4"
83
+ symfony : " ~7.2.0"
72
84
73
85
steps :
74
86
- name : " Checkout"
75
- uses : " actions/checkout@v3 "
87
+ uses : " actions/checkout@v4 "
76
88
77
89
- name : " Setup PHP, with composer and extensions"
78
90
uses : " shivammathur/setup-php@v2"
@@ -83,17 +95,14 @@ jobs:
83
95
tools : " composer-require-checker, composer-unused, flex"
84
96
85
97
- name : " Install composer dependencies"
86
- uses : " ramsey/composer-install@v2 "
98
+ uses : " ramsey/composer-install@v3 "
87
99
env :
88
100
SYMFONY_REQUIRE : " ${{ matrix.symfony }}"
89
101
with :
90
102
dependency-versions : " ${{ matrix.dependencies }}"
91
103
92
- - name : " Run maglnet/composer-require-checker"
93
- run : " composer-require-checker check"
94
-
95
- - name : " Run composer-unused/composer-unused"
96
- run : " composer-unused"
104
+ - name : " Dependency analysis"
105
+ run : " vendor/bin/composer-dependency-analyser"
97
106
98
107
static-code-analysis :
99
108
name : " Static Code Analysis"
@@ -106,22 +115,35 @@ jobs:
106
115
- " 7.4"
107
116
- " 8.0"
108
117
- " 8.1"
118
+ - " 8.2"
119
+ - " 8.3"
120
+ - " 8.4"
109
121
110
122
dependencies :
123
+ - " lowest"
111
124
- " highest"
112
125
113
126
symfony :
114
- - " ^4.4"
115
- - " ^5.4"
116
- - " ^6.0"
127
+ - " ~4.4.0"
128
+ - " ~5.4.0"
129
+ - " ~6.4.0"
130
+ - " ~7.0.0"
131
+ - " ~7.1.0"
132
+ - " ~7.2.0"
117
133
118
134
exclude :
119
135
- php-version : " 7.4"
120
- symfony : " ^6.0"
136
+ symfony : " ~6.4.0"
137
+ - php-version : " 7.4"
138
+ symfony : " ~7.0.0"
139
+ - php-version : " 7.4"
140
+ symfony : " ~7.1.0"
141
+ - php-version : " 7.4"
142
+ symfony : " ~7.2.0"
121
143
122
144
steps :
123
145
- name : " Checkout"
124
- uses : " actions/checkout@v3 "
146
+ uses : " actions/checkout@v4 "
125
147
126
148
- name : " Setup PHP, with composer and extensions"
127
149
uses : " shivammathur/setup-php@v2"
@@ -132,7 +154,7 @@ jobs:
132
154
tools : " flex"
133
155
134
156
- name : " Install composer dependencies"
135
- uses : " ramsey/composer-install@v2 "
157
+ uses : " ramsey/composer-install@v3 "
136
158
env :
137
159
SYMFONY_REQUIRE : " ${{ matrix.symfony }}"
138
160
with :
@@ -152,23 +174,35 @@ jobs:
152
174
- " 7.4"
153
175
- " 8.0"
154
176
- " 8.1"
177
+ - " 8.2"
178
+ - " 8.3"
179
+ - " 8.4"
155
180
156
181
dependencies :
157
182
- " lowest"
158
183
- " highest"
159
184
160
185
symfony :
161
- - " ^4.4"
162
- - " ^5.4"
163
- - " ^6.0"
186
+ - " ~4.4.0"
187
+ - " ~5.4.0"
188
+ - " ~6.4.0"
189
+ - " ~7.0.0"
190
+ - " ~7.1.0"
191
+ - " ~7.2.0"
164
192
165
193
exclude :
166
194
- php-version : " 7.4"
167
- symfony : " ^6.0"
195
+ symfony : " ~6.4.0"
196
+ - php-version : " 7.4"
197
+ symfony : " ~7.0.0"
198
+ - php-version : " 7.4"
199
+ symfony : " ~7.1.0"
200
+ - php-version : " 7.4"
201
+ symfony : " ~7.2.0"
168
202
169
203
steps :
170
204
- name : " Checkout"
171
- uses : " actions/checkout@v3 "
205
+ uses : " actions/checkout@v4 "
172
206
173
207
- name : " Setup PHP, with composer and extensions"
174
208
uses : " shivammathur/setup-php@v2"
@@ -179,7 +213,7 @@ jobs:
179
213
tools : " flex"
180
214
181
215
- name : " Install composer dependencies"
182
- uses : " ramsey/composer-install@v2 "
216
+ uses : " ramsey/composer-install@v3 "
183
217
env :
184
218
SYMFONY_REQUIRE : " ${{ matrix.symfony }}"
185
219
with :
@@ -196,14 +230,14 @@ jobs:
196
230
strategy :
197
231
matrix :
198
232
php-version :
199
- - " 8.1 "
233
+ - " 8.4 "
200
234
201
235
dependencies :
202
236
- " highest"
203
237
204
238
steps :
205
239
- name : " Checkout"
206
- uses : " actions/checkout@v3 "
240
+ uses : " actions/checkout@v4 "
207
241
208
242
- name : " Setup PHP, with composer and extensions"
209
243
uses : " shivammathur/setup-php@v2"
@@ -212,21 +246,18 @@ jobs:
212
246
extensions : " ${{ env.PHP_EXTENSIONS }}"
213
247
php-version : " ${{ matrix.php-version }}"
214
248
215
- - name : " Set up problem matchers for phpunit/phpunit"
216
- run : " echo \" ::add-matcher::${{ runner.tool_cache }}/phpunit.json\" "
217
-
218
249
- name : " Install composer dependencies"
219
- uses : " ramsey/composer-install@v2 "
250
+ uses : " ramsey/composer-install@v3 "
220
251
with :
221
252
dependency-versions : " ${{ matrix.dependencies }}"
222
253
223
254
- name : " Collect code coverage with pcov and phpunit/phpunit"
224
255
run : " vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml"
225
256
226
257
- name : " Send code coverage report to Codecov.io"
227
- env :
228
- CODECOV_TOKEN : " ${{ secrets.CODECOV_TOKEN }} "
229
- run : " bash <(curl -s https://codecov.io/bash) "
258
+ uses : " codecov/codecov-action@v4 "
259
+ with :
260
+ token : " ${{ secrets.CODECOV_TOKEN }} "
230
261
231
262
mutation-tests :
232
263
name : " Mutation tests"
@@ -236,14 +267,14 @@ jobs:
236
267
strategy :
237
268
matrix :
238
269
php-version :
239
- - " 8.1 "
270
+ - " 8.4 "
240
271
241
272
dependencies :
242
273
- " highest"
243
274
244
275
steps :
245
276
- name : " Checkout"
246
- uses : " actions/checkout@v3 "
277
+ uses : " actions/checkout@v4 "
247
278
248
279
- name : " Setup PHP, with composer and extensions"
249
280
uses : " shivammathur/setup-php@v2"
@@ -253,11 +284,11 @@ jobs:
253
284
php-version : " ${{ matrix.php-version }}"
254
285
255
286
- name : " Install composer dependencies"
256
- uses : " ramsey/composer-install@v2 "
287
+ uses : " ramsey/composer-install@v3 "
257
288
with :
258
289
dependency-versions : " ${{ matrix.dependencies }}"
259
290
260
291
- name : " Run infection"
261
- run : " vendor/bin/infection --git-diff-lines "
292
+ run : " vendor/bin/infection"
262
293
env :
263
294
STRYKER_DASHBOARD_API_KEY : " ${{ secrets.STRYKER_DASHBOARD_API_KEY }}"
0 commit comments