mirror of
https://github.com/phpbb/phpbb.git
synced 2025-09-02 12:53:37 +02:00
[ticket/14247] Use quotes around @ and % strings in YAML
PHPBB3-14247
This commit is contained in:
@@ -36,41 +36,41 @@ services:
|
||||
cache:
|
||||
class: phpbb\cache\service
|
||||
arguments:
|
||||
- @cache.driver
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- '@cache.driver'
|
||||
- '@config'
|
||||
- '@dbal.conn'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
||||
cache.driver:
|
||||
class: %cache.driver.class%
|
||||
class: '%cache.driver.class%'
|
||||
|
||||
class_loader:
|
||||
class: phpbb\class_loader
|
||||
arguments:
|
||||
- phpbb\
|
||||
- %core.root_path%includes/
|
||||
- %core.php_ext%
|
||||
- '%core.root_path%includes/'
|
||||
- '%core.php_ext%'
|
||||
calls:
|
||||
- [register, []]
|
||||
- [set_cache, [@cache.driver]]
|
||||
- [set_cache, ['@cache.driver']]
|
||||
|
||||
class_loader.ext:
|
||||
class: phpbb\class_loader
|
||||
arguments:
|
||||
- \
|
||||
- %core.root_path%ext/
|
||||
- %core.php_ext%
|
||||
- '%core.root_path%ext/'
|
||||
- '%core.php_ext%'
|
||||
calls:
|
||||
- [register, []]
|
||||
- [set_cache, [@cache.driver]]
|
||||
- [set_cache, ['@cache.driver']]
|
||||
|
||||
config:
|
||||
class: phpbb\config\db
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- @cache.driver
|
||||
- %tables.config%
|
||||
- '@dbal.conn'
|
||||
- '@cache.driver'
|
||||
- '%tables.config%'
|
||||
|
||||
config.php:
|
||||
synthetic: true
|
||||
@@ -78,37 +78,37 @@ services:
|
||||
config_text:
|
||||
class: phpbb\config\db_text
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- %tables.config_text%
|
||||
- '@dbal.conn'
|
||||
- '%tables.config_text%'
|
||||
|
||||
controller.helper:
|
||||
class: phpbb\controller\helper
|
||||
arguments:
|
||||
- @template
|
||||
- @user
|
||||
- @config
|
||||
- @symfony_request
|
||||
- @request
|
||||
- @routing.helper
|
||||
- '@template'
|
||||
- '@user'
|
||||
- '@config'
|
||||
- '@symfony_request'
|
||||
- '@request'
|
||||
- '@routing.helper'
|
||||
|
||||
controller.resolver:
|
||||
class: phpbb\controller\resolver
|
||||
arguments:
|
||||
- @service_container
|
||||
- %core.root_path%
|
||||
- @template
|
||||
- '@service_container'
|
||||
- '%core.root_path%'
|
||||
- '@template'
|
||||
|
||||
ext.manager:
|
||||
class: phpbb\extension\manager
|
||||
arguments:
|
||||
- @service_container
|
||||
- @dbal.conn
|
||||
- @config
|
||||
- @filesystem
|
||||
- %tables.ext%
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @cache.driver
|
||||
- '@service_container'
|
||||
- '@dbal.conn'
|
||||
- '@config'
|
||||
- '@filesystem'
|
||||
- '%tables.ext%'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '@cache.driver'
|
||||
|
||||
file_downloader:
|
||||
class: phpbb\file_downloader
|
||||
@@ -116,45 +116,45 @@ services:
|
||||
file_locator:
|
||||
class: phpbb\routing\file_locator
|
||||
arguments:
|
||||
- @filesystem
|
||||
- %core.root_path%
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
|
||||
group_helper:
|
||||
class: phpbb\group\helper
|
||||
arguments:
|
||||
- @language
|
||||
- '@language'
|
||||
|
||||
log:
|
||||
class: phpbb\log\log
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- @user
|
||||
- @auth
|
||||
- @dispatcher
|
||||
- %core.root_path%
|
||||
- %core.adm_relative_path%
|
||||
- %core.php_ext%
|
||||
- %tables.log%
|
||||
- '@dbal.conn'
|
||||
- '@user'
|
||||
- '@auth'
|
||||
- '@dispatcher'
|
||||
- '%core.root_path%'
|
||||
- '%core.adm_relative_path%'
|
||||
- '%core.php_ext%'
|
||||
- '%tables.log%'
|
||||
|
||||
path_helper:
|
||||
class: phpbb\path_helper
|
||||
arguments:
|
||||
- @symfony_request
|
||||
- @filesystem
|
||||
- @request
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- %core.adm_relative_path%
|
||||
- '@symfony_request'
|
||||
- '@filesystem'
|
||||
- '@request'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '%core.adm_relative_path%'
|
||||
|
||||
plupload:
|
||||
class: phpbb\plupload\plupload
|
||||
arguments:
|
||||
- %core.root_path%
|
||||
- @config
|
||||
- @request
|
||||
- @user
|
||||
- @php_ini
|
||||
- @mimetype.guesser
|
||||
- '%core.root_path%'
|
||||
- '@config'
|
||||
- '@request'
|
||||
- '@user'
|
||||
- '@php_ini'
|
||||
- '@mimetype.guesser'
|
||||
|
||||
upload_imagesize:
|
||||
class: FastImageSize\FastImageSize
|
||||
@@ -163,7 +163,7 @@ services:
|
||||
class: phpbb\version_helper
|
||||
scope: prototype
|
||||
arguments:
|
||||
- @cache
|
||||
- @config
|
||||
- @file_downloader
|
||||
- @user
|
||||
- '@cache'
|
||||
- '@config'
|
||||
- '@file_downloader'
|
||||
- '@user'
|
||||
|
Reference in New Issue
Block a user