From eaeedb4f1cd9951045a10192acb595ddd41cfc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Mert?= Date: Wed, 16 Dec 2015 00:12:35 +0200 Subject: [PATCH] Yaml lint --- Resources/config/form_types.yml | 70 +++++++++++++++++---------------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/Resources/config/form_types.yml b/Resources/config/form_types.yml index 1183073..7b25b59 100644 --- a/Resources/config/form_types.yml +++ b/Resources/config/form_types.yml @@ -1,33 +1,37 @@ -parameters: - jb_fileuploader.form.type.file_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\FileAjaxType - jb_fileuploader.form.type.image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\ImageAjaxType - jb_fileuploader.form.type.crop_image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropImageAjaxType - jb_fileuploader.form.type.crop.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropType - -services: - jb_fileuploader.form.type.file_ajax: - class: %jb_fileuploader.form.type.file_ajax.class% - scope: request - arguments: - - @jb_fileuploader.file_history.manager - tags: - - { name: form.type, alias: jb_file_ajax } - - jb_fileuploader.form.type.image_ajax: - class: %jb_fileuploader.form.type.image_ajax.class% - scope: request - parent: jb_fileuploader.form.type.file_ajax - tags: - - { name: form.type, alias: jb_image_ajax } - - jb_fileuploader.form.type.crop_image_ajax: - class: %jb_fileuploader.form.type.crop_image_ajax.class% - scope: request - parent: jb_fileuploader.form.type.image_ajax - tags: - - { name: form.type, alias: jb_crop_image_ajax } - - jb_fileuploader.form.type.crop: - class: %jb_fileuploader.form.type.crop.class% - tags: - - { name: form.type, alias: jb_fileuploader_crop } +parameters: + jb_fileuploader.form.type.crop.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropType + jb_fileuploader.form.type.crop_image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\CropImageAjaxType + jb_fileuploader.form.type.file_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\FileAjaxType + jb_fileuploader.form.type.image_ajax.class: Jb\Bundle\FileUploaderBundle\Form\Type\ImageAjaxType +services: + jb_fileuploader.form.type.crop: + class: "%jb_fileuploader.form.type.crop.class%" + tags: + - + alias: jb_fileuploader_crop + name: form.type + jb_fileuploader.form.type.crop_image_ajax: + class: "%jb_fileuploader.form.type.crop_image_ajax.class%" + parent: jb_fileuploader.form.type.image_ajax + scope: request + tags: + - + alias: jb_crop_image_ajax + name: form.type + jb_fileuploader.form.type.file_ajax: + arguments: + - "@jb_fileuploader.file_history.manager" + class: "%jb_fileuploader.form.type.file_ajax.class%" + scope: request + tags: + - + alias: jb_file_ajax + name: form.type + jb_fileuploader.form.type.image_ajax: + class: "%jb_fileuploader.form.type.image_ajax.class%" + parent: jb_fileuploader.form.type.file_ajax + scope: request + tags: + - + alias: jb_image_ajax + name: form.type