mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Use single quotes in yaml files
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
api_platform:
|
api_platform:
|
||||||
loader_paths:
|
loader_paths:
|
||||||
annotation: ["%kernel.project_dir%/src/Entity"]
|
annotation: ['%kernel.project_dir%/src/Entity']
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
doctrine:
|
doctrine:
|
||||||
dbal:
|
dbal:
|
||||||
url: "%env(DATABASE_URL)%"
|
url: '%env(DATABASE_URL)%'
|
||||||
orm:
|
orm:
|
||||||
auto_generate_proxy_classes: "%kernel.debug%"
|
auto_generate_proxy_classes: '%kernel.debug%'
|
||||||
naming_strategy: doctrine.orm.naming_strategy.underscore
|
naming_strategy: doctrine.orm.naming_strategy.underscore
|
||||||
auto_mapping: true
|
auto_mapping: true
|
||||||
mappings:
|
mappings:
|
||||||
App:
|
App:
|
||||||
is_bundle: false
|
is_bundle: false
|
||||||
type: annotation
|
type: annotation
|
||||||
dir: "%kernel.project_dir%/src/Entity"
|
dir: '%kernel.project_dir%/src/Entity'
|
||||||
prefix: "App\\Entity\\"
|
prefix: 'App\Entity\'
|
||||||
alias: App
|
alias: App
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ services:
|
|||||||
easycorp.easylog.handler:
|
easycorp.easylog.handler:
|
||||||
class: EasyCorp\EasyLog\EasyLogHandler
|
class: EasyCorp\EasyLog\EasyLogHandler
|
||||||
public: false
|
public: false
|
||||||
arguments: ["%kernel.logs_dir%/%kernel.environment%.log"]
|
arguments: ['%kernel.logs_dir%/%kernel.environment%.log']
|
||||||
|
|
||||||
#// FIXME: How to add this configuration automatically without messing up with the monolog configuration?
|
#// FIXME: How to add this configuration automatically without messing up with the monolog configuration?
|
||||||
#monolog:
|
#monolog:
|
||||||
@@ -10,7 +10,7 @@ services:
|
|||||||
# buffered:
|
# buffered:
|
||||||
# type: buffer
|
# type: buffer
|
||||||
# handler: easylog
|
# handler: easylog
|
||||||
# channels: ["!event"]
|
# channels: ['!event']
|
||||||
# level: debug
|
# level: debug
|
||||||
# easylog:
|
# easylog:
|
||||||
# type: service
|
# type: service
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
easy_admin_bundle:
|
easy_admin_bundle:
|
||||||
resource: "@EasyAdminBundle/Controller/AdminController.php"
|
resource: '@EasyAdminBundle/Controller/AdminController.php'
|
||||||
prefix: /admin
|
prefix: /admin
|
||||||
type: annotation
|
type: annotation
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
lexik_jwt_authentication:
|
lexik_jwt_authentication:
|
||||||
private_key_path: "%env(JWT_PRIVATE_KEY_PATH)%"
|
private_key_path: '%env(JWT_PRIVATE_KEY_PATH)%'
|
||||||
public_key_path: "%env(JWT_PUBLIC_KEY_PATH)%"
|
public_key_path: '%env(JWT_PUBLIC_KEY_PATH)%'
|
||||||
pass_phrase: "%env(JWT_PASSPHRASE)%"
|
pass_phrase: '%env(JWT_PASSPHRASE)%'
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ services:
|
|||||||
|
|
||||||
sensio_distribution.security_checker.command:
|
sensio_distribution.security_checker.command:
|
||||||
class: SensioLabs\Security\Command\SecurityCheckerCommand
|
class: SensioLabs\Security\Command\SecurityCheckerCommand
|
||||||
arguments: ["@sensio_distribution.security_checker"]
|
arguments: ['@sensio_distribution.security_checker']
|
||||||
tags:
|
tags:
|
||||||
- { name: console.command }
|
- { name: console.command }
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
framework:
|
framework:
|
||||||
secret: "%env(APP_SECRET)%"
|
secret: '%env(APP_SECRET)%'
|
||||||
#default_locale: en
|
#default_locale: en
|
||||||
#csrf_protection: null
|
#csrf_protection: null
|
||||||
#http_method_override: true
|
#http_method_override: true
|
||||||
@@ -7,7 +7,7 @@ framework:
|
|||||||
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
|
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
|
||||||
#session:
|
#session:
|
||||||
# handler_id: session.handler.native_file
|
# handler_id: session.handler.native_file
|
||||||
# save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
|
# save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
|
||||||
#esi: ~
|
#esi: ~
|
||||||
#fragments: ~
|
#fragments: ~
|
||||||
php_errors:
|
php_errors:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#index:
|
#index:
|
||||||
# path: /
|
# path: /
|
||||||
# defaults: { _controller: "App\\Controller\\DefaultController::index" }
|
# defaults: { _controller: 'App\Controller\DefaultController::index' }
|
||||||
|
|
||||||
# Depends on sensio/framework-extra-bundle:^3.0 and doctrine/annotations
|
# Depends on sensio/framework-extra-bundle:^3.0 and doctrine/annotations
|
||||||
#controllers:
|
#controllers:
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
swiftmailer:
|
swiftmailer:
|
||||||
url: "%env(MAILER_URL)%"
|
url: '%env(MAILER_URL)%'
|
||||||
spool: { type: "memory" }
|
spool: { type: 'memory' }
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
twig:
|
twig:
|
||||||
paths: ["%kernel.project_dir%/templates"]
|
paths: ['%kernel.project_dir%/templates']
|
||||||
debug: "%kernel.debug%"
|
debug: '%kernel.debug%'
|
||||||
strict_variables: "%kernel.debug%"
|
strict_variables: '%kernel.debug%'
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
_errors:
|
_errors:
|
||||||
resource: "@TwigBundle/Resources/config/routing/errors.xml"
|
resource: '@TwigBundle/Resources/config/routing/errors.xml'
|
||||||
prefix: /_errors
|
prefix: /_errors
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
web_profiler_wdt:
|
web_profiler_wdt:
|
||||||
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
|
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
|
||||||
prefix: /_wdt
|
prefix: /_wdt
|
||||||
|
|
||||||
web_profiler_profiler:
|
web_profiler_profiler:
|
||||||
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
|
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
|
||||||
prefix: /_profiler
|
prefix: /_profiler
|
||||||
|
|||||||
Reference in New Issue
Block a user