Skip to content

Use single quotes in yaml files #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-platform/core/2.1/etc/packages/api_platform.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
api_platform:
loader_paths:
annotation: ["%kernel.project_dir%/src/Entity"]
annotation: ['%kernel.project_dir%/src/Entity']
8 changes: 4 additions & 4 deletions doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ 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:
# handlers:
# buffered:
# type: buffer
# handler: easylog
# channels: ["!event"]
# channels: ['!event']
# level: debug
# easylog:
# type: service
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
easy_admin_bundle:
resource: "@EasyAdminBundle/Controller/AdminController.php"
resource: '@EasyAdminBundle/Controller/AdminController.php'
prefix: /admin
type: annotation
Original file line number Diff line number Diff line change
@@ -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)%'
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
4 changes: 2 additions & 2 deletions symfony/framework-bundle/3.3/etc/packages/framework.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
framework:
secret: "%env(APP_SECRET)%"
secret: '%env(APP_SECRET)%'
#default_locale: en
#csrf_protection: null
#http_method_override: true
#trusted_hosts: null
# 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:
Expand Down
2 changes: 1 addition & 1 deletion symfony/framework-bundle/3.3/etc/routing.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions symfony/swiftmailer-bundle/2.5/etc/packages/swiftmailer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
swiftmailer:
url: "%env(MAILER_URL)%"
spool: { type: "memory" }
url: '%env(MAILER_URL)%'
spool: { type: 'memory' }
6 changes: 3 additions & 3 deletions symfony/twig-bundle/3.3/etc/packages/twig.yaml
Original file line number Diff line number Diff line change
@@ -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%'
2 changes: 1 addition & 1 deletion symfony/twig-bundle/3.3/etc/routing/dev/twig.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
_errors:
resource: "@TwigBundle/Resources/config/routing/errors.xml"
resource: '@TwigBundle/Resources/config/routing/errors.xml'
prefix: /_errors
Original file line number Diff line number Diff line change
@@ -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