From b39aa6303e7976a00c8bf85992cb847225b1795c Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Wed, 3 May 2017 10:24:53 -0400 Subject: [PATCH] Use single quotes in yaml files --- api-platform/core/2.1/etc/packages/api_platform.yaml | 2 +- doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml | 8 ++++---- .../1.0/etc/packages/dev/easy-log-handler.yaml | 4 ++-- .../easyadmin-bundle/1.16/etc/routing/easy_admin.yaml | 2 +- .../2.3/etc/packages/lexik_jwt_authentication.yaml | 6 +++--- .../4.0/etc/packages/dev/security-checker.yaml | 2 +- symfony/framework-bundle/3.3/etc/packages/framework.yaml | 4 ++-- symfony/framework-bundle/3.3/etc/routing.yaml | 2 +- .../swiftmailer-bundle/2.5/etc/packages/swiftmailer.yaml | 4 ++-- symfony/twig-bundle/3.3/etc/packages/twig.yaml | 6 +++--- symfony/twig-bundle/3.3/etc/routing/dev/twig.yaml | 2 +- .../3.3/etc/routing/dev/web_profiler.yaml | 4 ++-- 12 files changed, 23 insertions(+), 23 deletions(-) diff --git a/api-platform/core/2.1/etc/packages/api_platform.yaml b/api-platform/core/2.1/etc/packages/api_platform.yaml index 28d113e5..6de1f72f 100644 --- a/api-platform/core/2.1/etc/packages/api_platform.yaml +++ b/api-platform/core/2.1/etc/packages/api_platform.yaml @@ -1,3 +1,3 @@ api_platform: loader_paths: - annotation: ["%kernel.project_dir%/src/Entity"] + annotation: ['%kernel.project_dir%/src/Entity'] diff --git a/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml index 3ec65570..aa9ddbb7 100644 --- a/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml @@ -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 diff --git a/easycorp/easy-log-handler/1.0/etc/packages/dev/easy-log-handler.yaml b/easycorp/easy-log-handler/1.0/etc/packages/dev/easy-log-handler.yaml index 4de221de..225ef39a 100644 --- a/easycorp/easy-log-handler/1.0/etc/packages/dev/easy-log-handler.yaml +++ b/easycorp/easy-log-handler/1.0/etc/packages/dev/easy-log-handler.yaml @@ -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 diff --git a/javiereguiluz/easyadmin-bundle/1.16/etc/routing/easy_admin.yaml b/javiereguiluz/easyadmin-bundle/1.16/etc/routing/easy_admin.yaml index 2dd58d79..1014c71d 100644 --- a/javiereguiluz/easyadmin-bundle/1.16/etc/routing/easy_admin.yaml +++ b/javiereguiluz/easyadmin-bundle/1.16/etc/routing/easy_admin.yaml @@ -1,4 +1,4 @@ easy_admin_bundle: - resource: "@EasyAdminBundle/Controller/AdminController.php" + resource: '@EasyAdminBundle/Controller/AdminController.php' prefix: /admin type: annotation diff --git a/lexik/jwt-authentication-bundle/2.3/etc/packages/lexik_jwt_authentication.yaml b/lexik/jwt-authentication-bundle/2.3/etc/packages/lexik_jwt_authentication.yaml index bfc8351e..3aeaee4e 100644 --- a/lexik/jwt-authentication-bundle/2.3/etc/packages/lexik_jwt_authentication.yaml +++ b/lexik/jwt-authentication-bundle/2.3/etc/packages/lexik_jwt_authentication.yaml @@ -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)%' diff --git a/sensiolabs/security-checker/4.0/etc/packages/dev/security-checker.yaml b/sensiolabs/security-checker/4.0/etc/packages/dev/security-checker.yaml index cbcdb414..87c9a453 100644 --- a/sensiolabs/security-checker/4.0/etc/packages/dev/security-checker.yaml +++ b/sensiolabs/security-checker/4.0/etc/packages/dev/security-checker.yaml @@ -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 } diff --git a/symfony/framework-bundle/3.3/etc/packages/framework.yaml b/symfony/framework-bundle/3.3/etc/packages/framework.yaml index f1c71a54..da36e56c 100644 --- a/symfony/framework-bundle/3.3/etc/packages/framework.yaml +++ b/symfony/framework-bundle/3.3/etc/packages/framework.yaml @@ -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: diff --git a/symfony/framework-bundle/3.3/etc/routing.yaml b/symfony/framework-bundle/3.3/etc/routing.yaml index 2db1805c..8dbc5187 100644 --- a/symfony/framework-bundle/3.3/etc/routing.yaml +++ b/symfony/framework-bundle/3.3/etc/routing.yaml @@ -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: diff --git a/symfony/swiftmailer-bundle/2.5/etc/packages/swiftmailer.yaml b/symfony/swiftmailer-bundle/2.5/etc/packages/swiftmailer.yaml index 9381bbbb..cae65084 100644 --- a/symfony/swiftmailer-bundle/2.5/etc/packages/swiftmailer.yaml +++ b/symfony/swiftmailer-bundle/2.5/etc/packages/swiftmailer.yaml @@ -1,3 +1,3 @@ swiftmailer: - url: "%env(MAILER_URL)%" - spool: { type: "memory" } + url: '%env(MAILER_URL)%' + spool: { type: 'memory' } diff --git a/symfony/twig-bundle/3.3/etc/packages/twig.yaml b/symfony/twig-bundle/3.3/etc/packages/twig.yaml index dc748d5d..3b315dcc 100644 --- a/symfony/twig-bundle/3.3/etc/packages/twig.yaml +++ b/symfony/twig-bundle/3.3/etc/packages/twig.yaml @@ -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%' diff --git a/symfony/twig-bundle/3.3/etc/routing/dev/twig.yaml b/symfony/twig-bundle/3.3/etc/routing/dev/twig.yaml index 52d2c636..1f7fd33e 100644 --- a/symfony/twig-bundle/3.3/etc/routing/dev/twig.yaml +++ b/symfony/twig-bundle/3.3/etc/routing/dev/twig.yaml @@ -1,3 +1,3 @@ _errors: - resource: "@TwigBundle/Resources/config/routing/errors.xml" + resource: '@TwigBundle/Resources/config/routing/errors.xml' prefix: /_errors diff --git a/symfony/web-profiler-bundle/3.3/etc/routing/dev/web_profiler.yaml b/symfony/web-profiler-bundle/3.3/etc/routing/dev/web_profiler.yaml index ce3155d4..c82beff2 100644 --- a/symfony/web-profiler-bundle/3.3/etc/routing/dev/web_profiler.yaml +++ b/symfony/web-profiler-bundle/3.3/etc/routing/dev/web_profiler.yaml @@ -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