Update dependencies and routing.yml for PHP 7.4

This commit is contained in:
Tsvetan Koshutanski 2021-03-23 19:58:28 +02:00 committed by Fedor A. Fetisov
parent 62ad932aa7
commit 8edcc7e57f
2 changed files with 9 additions and 9 deletions

View File

@ -33,13 +33,13 @@
"symfony/http-foundation": "~2.8.52",
"symfony/routing": "2.6.*",
"symfony/config": "2.6.*",
"symfony/yaml": "2.6.*",
"symfony/yaml": "^5.2",
"symfony/translation": "2.6.*",
"tedivm/stash": "0.12.*",
"canteen/html5": "1.1.*",
"vierbergenlars/php-semver": "3.0.*",
"swiftmailer/swiftmailer": "~5.4.0",
"ua-parser/uap-php": "~3.4.1",
"ua-parser/uap-php": "^3.9",
"true/punycode": "~1.1"
},
"require-dev": {

View File

@ -372,7 +372,7 @@ locale_disable:
_access_check: Mibew\AccessControl\Check\PermissionsCheck
_access_permissions: [CAN_ADMINISTRATE]
requirements:
locale: "[a-z\-]{2,5}"
locale: "[a-z\\-]{2,5}"
locale_edit:
path: /operator/locale/{locale}/edit
@ -381,7 +381,7 @@ locale_edit:
_access_check: Mibew\AccessControl\Check\PermissionsCheck
_access_permissions: [CAN_ADMINISTRATE]
requirements:
locale: "[a-z\-]{2,5}"
locale: "[a-z\\-]{2,5}"
methods: [GET]
locale_edit_save:
@ -391,7 +391,7 @@ locale_edit_save:
_access_check: Mibew\AccessControl\Check\PermissionsCheck
_access_permissions: [CAN_ADMINISTRATE]
requirements:
locale: "[a-z\-]{2,5}"
locale: "[a-z\\-]{2,5}"
methods: [POST]
locale_enable:
@ -401,7 +401,7 @@ locale_enable:
_access_check: Mibew\AccessControl\Check\PermissionsCheck
_access_permissions: [CAN_ADMINISTRATE]
requirements:
locale: "[a-z\-]{2,5}"
locale: "[a-z\\-]{2,5}"
locales:
path: /operator/locale
@ -716,7 +716,7 @@ translation_edit:
_access_check: Mibew\AccessControl\Check\PermissionsCheck
_access_permissions: [CAN_ADMINISTRATE]
requirements:
string_id: "\d{1,10}"
string_id: "\\d{1,10}"
methods: [GET]
translation_edit_save:
@ -726,7 +726,7 @@ translation_edit_save:
_access_check: Mibew\AccessControl\Check\PermissionsCheck
_access_permissions: [CAN_ADMINISTRATE]
requirements:
string_id: "\d{1,10}"
string_id: "\\d{1,10}"
methods: [POST]
translation_export: