From 4662a40865e798ffd8c165cc3d36aaad9700db58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Mert?= Date: Mon, 28 Dec 2015 20:45:25 +0200 Subject: [PATCH] Yaml lint --- Resources/config/resolvers.yml | 12 ++++----- Resources/config/routing.yml | 2 +- Resources/config/services.yml | 44 ++++++++++++++++----------------- Resources/config/validators.yml | 10 ++++---- 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Resources/config/resolvers.yml b/Resources/config/resolvers.yml index 24cd314..89c19c4 100644 --- a/Resources/config/resolvers.yml +++ b/Resources/config/resolvers.yml @@ -7,27 +7,27 @@ parameters: services: jb_fileuploader.resolver.aws3.prototype: - class: %jb_fileuploader.resolver.aws3.prototype.class% + class: "%jb_fileuploader.resolver.aws3.prototype.class%" scope: request abstract: true jb_fileuploader.resolver.cdn.prototype: - class: %jb_fileuploader.resolver.cdn.prototype.class% + class: "%jb_fileuploader.resolver.cdn.prototype.class%" scope: request abstract: true jb_fileuploader.resolver.asset.prototype: - class: %jb_fileuploader.resolver.asset.prototype.class% + class: "%jb_fileuploader.resolver.asset.prototype.class%" scope: request arguments: - - @templating.helper.assets + - "@templating.helper.assets" abstract: true jb_fileuploader.resolver.imagine.prototype: - class: %jb_fileuploader.resolver.imagine.prototype.class% + class: "%jb_fileuploader.resolver.imagine.prototype.class%" scope: request arguments: - - @liip_imagine.cache.manager + - "@liip_imagine.cache.manager" abstract: true jb_fileuploader.resolver_chain: diff --git a/Resources/config/routing.yml b/Resources/config/routing.yml index b8f48ea..f01349e 100644 --- a/Resources/config/routing.yml +++ b/Resources/config/routing.yml @@ -1,3 +1,3 @@ jb_image_crop_endpoint: path: /_jbfileuploader/crop/{endpoint} - defaults: { _controller: JbFileUploaderBundle:Crop:filter } + defaults: { _controller: "JbFileUploaderBundle:Crop:filter" } diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 169eb36..661fc5f 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -9,39 +9,39 @@ parameters: services: jb_fileuploader.file_ajax.upload_listener: - class: %jb_fileuploader.file_ajax.upload_listener.class% + class: "%jb_fileuploader.file_ajax.upload_listener.class%" scope: request arguments: - - @jb_fileuploader.file_history.manager + - "@jb_fileuploader.file_history.manager" tags: - { name: kernel.event_listener, event: oneup_uploader.post_persist, method: onUpload } jb_fileuploader.file_ajax.validation_listener: - class: %jb_fileuploader.file_ajax.validation_listener.class% + class: "%jb_fileuploader.file_ajax.validation_listener.class%" arguments: - - @jb_fileuploader.validator.manager + - "@jb_fileuploader.validator.manager" tags: - { name: kernel.event_listener, event: oneup_uploader.validation, method: onValidate } jb_fileuploader.file_history.manager: - class: %jb_fileuploader.file_history.manager.class% + class: "%jb_fileuploader.file_history.manager.class%" scope: request arguments: - - @doctrine.orm.entity_manager - - @security.context - - @jb_fileuploader.resolver_chain - - @jb_fileuploader.endpoint_configuration + - "@doctrine.orm.entity_manager" + - "@security.context" + - "@jb_fileuploader.resolver_chain" + - "@jb_fileuploader.endpoint_configuration" jb_fileuploader.endpoint_configuration: - class: %jb_fileuploader.endpoint_configuration.class% + class: "%jb_fileuploader.endpoint_configuration.class%" arguments: - - %jb_fileuploader.endpoints% + - "%jb_fileuploader.endpoints%" jb_fileuploader.twig_extension.crop: - class: %jb_fileuploader.twig_extension.crop.class% + class: "%jb_fileuploader.twig_extension.crop.class%" arguments: - - @router - - %jb_fileuploader.crop_route% + - "@router" + - "%jb_fileuploader.crop_route%" tags: - { name: twig.extension } @@ -49,15 +49,15 @@ services: class: "%jb_fileuploader.croper.class%" scope: request arguments: - - @jb_fileuploader.crop.manager - - @jb_fileuploader.resolver_chain - - @jb_fileuploader.endpoint_configuration - - @jb_fileuploader.validator.manager + - "@jb_fileuploader.crop.manager" + - "@jb_fileuploader.resolver_chain" + - "@jb_fileuploader.endpoint_configuration" + - "@jb_fileuploader.validator.manager" jb_fileuploader.crop.manager: class: "%jb_fileuploader.crop.manager.class%" arguments: - - @liip_imagine.data.manager - - @liip_imagine.filter.manager - - @knp_gaufrette.filesystem_map - - @jb_fileuploader.endpoint_configuration + - "@liip_imagine.data.manager" + - "@liip_imagine.filter.manager" + - "@knp_gaufrette.filesystem_map" + - "@jb_fileuploader.endpoint_configuration" diff --git a/Resources/config/validators.yml b/Resources/config/validators.yml index f885d23..951f893 100644 --- a/Resources/config/validators.yml +++ b/Resources/config/validators.yml @@ -9,8 +9,8 @@ services: jb_fileuploader.validator.manager: class: "%jb_fileuploader.validator.manager.class%" arguments: - - @jb_fileuploader.validator_chain - - @jb_fileuploader.endpoint_configuration + - "@jb_fileuploader.validator_chain" + - "@jb_fileuploader.endpoint_configuration" jb_fileuploader.validator_chain: class: "%jb_fileuploader.validator_chain.class%" @@ -26,9 +26,9 @@ services: - { name: jb_fileuploader.validator, alias: Crop } jb_fileupload.file_owner.validator: - class: %jb_fileupload.file_owner.validator.class% + class: "%jb_fileupload.file_owner.validator.class%" arguments: - - @doctrine.orm.entity_manager - - @security.token_storage + - "@doctrine.orm.entity_manager" + - "@security.token_storage" tags: - { name: validator.constraint_validator, alias: jb_file_owner }