Skip to content

Commit

Permalink
Merge pull request #12 from jbouzekri/yamllint
Browse files Browse the repository at this point in the history
Yaml Lint
  • Loading branch information
hmert committed Dec 28, 2015
2 parents 594d539 + 4662a40 commit 2a83dc9
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
12 changes: 6 additions & 6 deletions Resources/config/resolvers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Resources/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jb_image_crop_endpoint:
path: /_jbfileuploader/crop/{endpoint}
defaults: { _controller: JbFileUploaderBundle:Crop:filter }
defaults: { _controller: "JbFileUploaderBundle:Crop:filter" }
44 changes: 22 additions & 22 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,55 +9,55 @@ 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 }

jb_fileuploader.croper:
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"
10 changes: 5 additions & 5 deletions Resources/config/validators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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%"
Expand All @@ -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 }

0 comments on commit 2a83dc9

Please sign in to comment.