File tree 2 files changed +21
-1
lines changed
2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ swiftmailer/swiftmailer:^5.4.6
2
+ egulias/email-validator:^2.1.10
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ main ()
23
23
populatePHPVersions
24
24
25
25
tearDownRegisterFunction reset_submodules
26
+ tearDownRegisterFunction reset_composer_json
26
27
27
28
runTests
28
29
}
@@ -181,7 +182,24 @@ install_lowest ()
181
182
reset_submodules
182
183
${INSTALL_GIT_SUB_MODULE}
183
184
184
- ${DOCKER_COMPOSE_EXEC} ${c_service} ${COMPOSER_UPDATE} --prefer-lowest
185
+ cp " ${ROOT_DIR} /composer.json" " ${ROOT_DIR} /composer.json~"
186
+
187
+ if test 80 -le ` echo " ${c_service} " | sed ' s/^php//' ` ; then
188
+ c_depFlags=` cat ${ROOT_DIR} /require_for_php8.txt`
189
+
190
+ ${DOCKER_COMPOSE_EXEC} ${c_service} ${COMPOSER_REQUIRE} ${c_depFlags} --prefer-lowest --update-with-all-dependencies
191
+ else
192
+ ${DOCKER_COMPOSE_EXEC} ${c_service} ${COMPOSER_UPDATE} --prefer-lowest
193
+ fi
194
+
195
+ reset_composer_json
196
+ }
197
+
198
+ reset_composer_json ()
199
+ {
200
+ if test -f " ${ROOT_DIR} /composer.json~" ; then
201
+ mv " ${ROOT_DIR} /composer.json~" " ${ROOT_DIR} /composer.json"
202
+ else : ; fi
185
203
}
186
204
187
205
reset_submodules ()
You can’t perform that action at this time.
0 commit comments