Skip to content

Commit 1a04dbe

Browse files
committed
fix: require php-http/message-factory to avoid an error with sylius 1.11
1 parent a741d6e commit 1a04dbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ setup_application:
7070
(cd ${APP_DIR} && ${COMPOSER} config minimum-stability dev)
7171
(cd ${APP_DIR} && ${COMPOSER} config --no-plugins allow-plugins true)
7272
(cd ${APP_DIR} && ${COMPOSER} require --no-install --no-scripts --no-progress sylius/sylius="~${SYLIUS_VERSION}") # Make sure to install the required version of sylius because the sylius-standard has a soft constraint
73+
@if [ ${SYLIUS_VERSION} == '1.11.0' ]; then\
74+
(cd ${APP_DIR} && ${COMPOSER} require --no-install --no-scripts --no-progress php-http/message-factory)\
75+
fi
7376
$(MAKE) ${APP_DIR}/.php-version ${APP_DIR}/php.ini
7477
(cd ${APP_DIR} && ${COMPOSER} install --no-interaction)
7578
$(MAKE) apply_dist

0 commit comments

Comments
 (0)