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