diff --git a/Makefile b/Makefile index d10b6c7..4d10791 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ COMPOSER=symfony composer CONSOLE=${SYMFONY} console export COMPOSE_PROJECT_NAME=menu PLUGIN_NAME=sylius-${COMPOSE_PROJECT_NAME}-plugin -COMPOSE=docker-compose +COMPOSE=docker compose YARN=yarn ### @@ -194,7 +194,7 @@ docker.logs: ## Logs the docker containers .PHONY: docker.logs docker.dc: ARGS=ps -docker.dc: ## Run docker-compose command. Use ARGS="" to pass parameters to docker-compose. +docker.dc: ## Run docker compose command. Use ARGS="" to pass parameters to docker compose. cd ${APP_DIR} && ${COMPOSE} ${ARGS} .PHONY: docker.dc diff --git a/src/Resources/config/validation/MenuItemTranslation.yaml b/src/Resources/config/validation/MenuItemTranslation.yaml index 9662b50..add1b35 100644 --- a/src/Resources/config/validation/MenuItemTranslation.yaml +++ b/src/Resources/config/validation/MenuItemTranslation.yaml @@ -15,5 +15,5 @@ MonsieurBiz\SyliusMenuPlugin\Entity\MenuItemTranslation: - Url: protocols: [http, https] relativeProtocol: true - - Regex: '`^(#|/[^/])`' + - Regex: '`^(#|/[^/]|tel:|mailto:)`' groups: [monsieurbiz_menu]