diff --git a/config/packages/routing.yaml b/config/packages/routing.yaml index b45c1cec..4b766ce5 100644 --- a/config/packages/routing.yaml +++ b/config/packages/routing.yaml @@ -5,3 +5,8 @@ framework: # Configure how to generate URLs in non-HTTP contexts, such as CLI commands. # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands #default_uri: http://localhost + +when@prod: + framework: + router: + strict_requirements: null diff --git a/config/packages/test/twig.yaml b/config/packages/test/twig.yaml deleted file mode 100644 index 8c6e0b40..00000000 --- a/config/packages/test/twig.yaml +++ /dev/null @@ -1,2 +0,0 @@ -twig: - strict_variables: true diff --git a/config/packages/translation.yaml b/config/packages/translation.yaml index da9057d3..8bf580ea 100644 --- a/config/packages/translation.yaml +++ b/config/packages/translation.yaml @@ -5,3 +5,10 @@ framework: fallbacks: - '%partdb.locale%' - 'en' + providers: + # crowdin: + # dsn: '%env(CROWDIN_DSN)%' + # loco: + # dsn: '%env(LOCO_DSN)%' + # lokalise: + # dsn: '%env(LOKALISE_DSN)%' diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 4995106c..a677d446 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -15,3 +15,7 @@ twig: label_profile_dropdown_helper: '@App\Services\LabelSystem\LabelProfileDropdownHelper' error_page_admin_email: '%partdb.error_pages.admin_email%' error_page_show_help: '%partdb.error_pages.show_help%' + +when@test: + twig: + strict_variables: true \ No newline at end of file diff --git a/symfony.lock b/symfony.lock index 0b669996..711c6a39 100644 --- a/symfony.lock +++ b/symfony.lock @@ -590,12 +590,12 @@ "version": "v4.4.2" }, "symfony/monolog-bundle": { - "version": "3.3", + "version": "3.7", "recipe": { "repo": "github.com/symfony/recipes", "branch": "master", - "version": "3.3", - "ref": "d7249f7d560f6736115eee1851d02a65826f0a56" + "version": "3.7", + "ref": "a7bace7dbc5a7ed5608dbe2165e0774c87175fe6" }, "files": [ "./config/packages/dev/monolog.yaml", @@ -668,15 +668,14 @@ "version": "v5.2.1" }, "symfony/routing": { - "version": "5.1", + "version": "5.3", "recipe": { "repo": "github.com/symfony/recipes", "branch": "master", - "version": "5.1", - "ref": "b4f3e7c95e38b606eef467e8a42a8408fc460c43" + "version": "5.3", + "ref": "44633353926a0382d7dfb0530922c5c0b30fae11" }, "files": [ - "./config/packages/prod/routing.yaml", "./config/packages/routing.yaml", "./config/routes.yaml" ] @@ -724,12 +723,12 @@ "version": "v4.3.4" }, "symfony/translation": { - "version": "3.3", + "version": "5.3", "recipe": { "repo": "github.com/symfony/recipes", "branch": "master", - "version": "3.3", - "ref": "2ad9d2545bce8ca1a863e50e92141f0b9d87ffcd" + "version": "5.3", + "ref": "da64f5a2b6d96f5dc24914517c0350a5f91dee43" }, "files": [ "./config/packages/translation.yaml", @@ -743,15 +742,14 @@ "version": "v4.2.3" }, "symfony/twig-bundle": { - "version": "5.0", + "version": "5.3", "recipe": { "repo": "github.com/symfony/recipes", "branch": "master", - "version": "5.0", - "ref": "fab9149bbaa4d5eca054ed93f9e1b66cc500895d" + "version": "5.3", + "ref": "3dd530739a4284e3272274c128dbb7a8140a66f1" }, "files": [ - "./config/packages/test/twig.yaml", "./config/packages/twig.yaml", "./templates/base.html.twig" ] @@ -762,7 +760,7 @@ "repo": "github.com/symfony/recipes", "branch": "master", "version": "4.3", - "ref": "d902da3e4952f18d3bf05aab29512eb61cabd869" + "ref": "3eb8df139ec05414489d55b97603c5f6ca0c44cb" }, "files": [ "./config/packages/test/validator.yaml",