Skip to content

Commit

Permalink
minor #941 Move Parameters to another file (TheMilek)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.12 branch.

Discussion
----------



Commits
-------
  Move Parameters to another file
  Exclude Symfony 6 build with php 8.0
  • Loading branch information
NoResponseMate authored Feb 6, 2024
2 parents 2eb9580 + bcbe2e5 commit bf7284b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
symfony: ["^5.4", "^6.0"]
node: ["16.x"]
mysql: ["5.7", "8.0"]
exclude:
-
php: "8.0"
symfony: "^6.0"

env:
APP_ENV: test_cached
Expand Down
1 change: 1 addition & 0 deletions config/packages/_sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ imports:

- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
- { resource: "@SyliusPayPalPlugin/Resources/config/config.yaml" }
- { resource: "../parameters.yaml" }

parameters:
sylius_core.public_dir: '%kernel.project_dir%/public'
Expand Down
2 changes: 2 additions & 0 deletions config/parameters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
parameters:
locale: en_US
5 changes: 0 additions & 5 deletions config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: en_US

services:
# Default configuration for services in *this* file
_defaults:
Expand Down

0 comments on commit bf7284b

Please sign in to comment.