1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-30 11:40:08 +02:00

[ticket/14247] Use quotes around @ and % strings in YAML

PHPBB3-14247
This commit is contained in:
Matt Friedman
2015-12-07 13:11:22 -08:00
parent f14a9b7069
commit d9d89cad94
52 changed files with 1120 additions and 1120 deletions

View File

@@ -2,57 +2,57 @@ services:
router:
class: phpbb\routing\router
arguments:
- @service_container
- @routing.chained_resources_locator
- @routing.delegated_loader
- %core.root_path%
- %core.php_ext%
- %core.environment%
- '@service_container'
- '@routing.chained_resources_locator'
- '@routing.delegated_loader'
- '%core.root_path%'
- '%core.php_ext%'
- '%core.environment%'
router.listener:
class: Symfony\Component\HttpKernel\EventListener\RouterListener
arguments:
- @router
- '@router'
- null
- null
- @request_stack
- '@request_stack'
tags:
- { name: kernel.event_subscriber }
routing.helper:
class: phpbb\routing\helper
arguments:
- @config
- @router
- @symfony_request
- @request
- @filesystem
- %core.root_path%
- %core.php_ext%
- '@config'
- '@router'
- '@symfony_request'
- '@request'
- '@filesystem'
- '%core.root_path%'
- '%core.php_ext%'
# ---- Route loaders ----
routing.delegated_loader:
class: Symfony\Component\Config\Loader\DelegatingLoader
arguments:
- @routing.resolver
- '@routing.resolver'
routing.resolver:
class: phpbb\routing\loader_resolver
arguments:
- @routing.loader.collection
- '@routing.loader.collection'
routing.loader.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: routing.loader }
routing.loader.yaml:
class: Symfony\Component\Routing\Loader\YamlFileLoader
arguments:
- @file_locator
- '@file_locator'
tags:
- { name: routing.loader }
@@ -61,20 +61,20 @@ services:
routing.chained_resources_locator:
class: phpbb\routing\resources_locator\chained_resources_locator
arguments:
- @routing.resources_locator.collection
- '@routing.resources_locator.collection'
routing.resources_locator.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: routing.resources_locator }
routing.resources_locator.default:
class: phpbb\routing\resources_locator\default_resources_locator
arguments:
- %core.root_path%
- %core.environment%
- @ext.manager
- '%core.root_path%'
- '%core.environment%'
- '@ext.manager'
tags:
- { name: routing.resources_locator }