[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

@ -36,41 +36,41 @@ services:
cache: cache:
class: phpbb\cache\service class: phpbb\cache\service
arguments: arguments:
- @cache.driver - '@cache.driver'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
cache.driver: cache.driver:
class: %cache.driver.class% class: '%cache.driver.class%'
class_loader: class_loader:
class: phpbb\class_loader class: phpbb\class_loader
arguments: arguments:
- phpbb\ - phpbb\
- %core.root_path%includes/ - '%core.root_path%includes/'
- %core.php_ext% - '%core.php_ext%'
calls: calls:
- [register, []] - [register, []]
- [set_cache, [@cache.driver]] - [set_cache, ['@cache.driver']]
class_loader.ext: class_loader.ext:
class: phpbb\class_loader class: phpbb\class_loader
arguments: arguments:
- \ - \
- %core.root_path%ext/ - '%core.root_path%ext/'
- %core.php_ext% - '%core.php_ext%'
calls: calls:
- [register, []] - [register, []]
- [set_cache, [@cache.driver]] - [set_cache, ['@cache.driver']]
config: config:
class: phpbb\config\db class: phpbb\config\db
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- %tables.config% - '%tables.config%'
config.php: config.php:
synthetic: true synthetic: true
@ -78,37 +78,37 @@ services:
config_text: config_text:
class: phpbb\config\db_text class: phpbb\config\db_text
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.config_text% - '%tables.config_text%'
controller.helper: controller.helper:
class: phpbb\controller\helper class: phpbb\controller\helper
arguments: arguments:
- @template - '@template'
- @user - '@user'
- @config - '@config'
- @symfony_request - '@symfony_request'
- @request - '@request'
- @routing.helper - '@routing.helper'
controller.resolver: controller.resolver:
class: phpbb\controller\resolver class: phpbb\controller\resolver
arguments: arguments:
- @service_container - '@service_container'
- %core.root_path% - '%core.root_path%'
- @template - '@template'
ext.manager: ext.manager:
class: phpbb\extension\manager class: phpbb\extension\manager
arguments: arguments:
- @service_container - '@service_container'
- @dbal.conn - '@dbal.conn'
- @config - '@config'
- @filesystem - '@filesystem'
- %tables.ext% - '%tables.ext%'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @cache.driver - '@cache.driver'
file_downloader: file_downloader:
class: phpbb\file_downloader class: phpbb\file_downloader
@ -116,45 +116,45 @@ services:
file_locator: file_locator:
class: phpbb\routing\file_locator class: phpbb\routing\file_locator
arguments: arguments:
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
group_helper: group_helper:
class: phpbb\group\helper class: phpbb\group\helper
arguments: arguments:
- @language - '@language'
log: log:
class: phpbb\log\log class: phpbb\log\log
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- @auth - '@auth'
- @dispatcher - '@dispatcher'
- %core.root_path% - '%core.root_path%'
- %core.adm_relative_path% - '%core.adm_relative_path%'
- %core.php_ext% - '%core.php_ext%'
- %tables.log% - '%tables.log%'
path_helper: path_helper:
class: phpbb\path_helper class: phpbb\path_helper
arguments: arguments:
- @symfony_request - '@symfony_request'
- @filesystem - '@filesystem'
- @request - '@request'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %core.adm_relative_path% - '%core.adm_relative_path%'
plupload: plupload:
class: phpbb\plupload\plupload class: phpbb\plupload\plupload
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @config - '@config'
- @request - '@request'
- @user - '@user'
- @php_ini - '@php_ini'
- @mimetype.guesser - '@mimetype.guesser'
upload_imagesize: upload_imagesize:
class: FastImageSize\FastImageSize class: FastImageSize\FastImageSize
@ -163,7 +163,7 @@ services:
class: phpbb\version_helper class: phpbb\version_helper
scope: prototype scope: prototype
arguments: arguments:
- @cache - '@cache'
- @config - '@config'
- @file_downloader - '@file_downloader'
- @user - '@user'

View file

@ -3,38 +3,38 @@ services:
class: phpbb\attachment\delete class: phpbb\attachment\delete
scope: prototype scope: prototype
arguments: arguments:
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @dispatcher - '@dispatcher'
- @filesystem - '@filesystem'
- @attachment.resync - '@attachment.resync'
- %core.root_path% - '%core.root_path%'
attachment.manager: attachment.manager:
class: phpbb\attachment\manager class: phpbb\attachment\manager
scope: prototype scope: prototype
arguments: arguments:
- @attachment.delete - '@attachment.delete'
- @attachment.resync - '@attachment.resync'
- @attachment.upload - '@attachment.upload'
attachment.resync: attachment.resync:
class: phpbb\attachment\resync class: phpbb\attachment\resync
scope: prototype scope: prototype
arguments: arguments:
- @dbal.conn - '@dbal.conn'
attachment.upload: attachment.upload:
class: phpbb\attachment\upload class: phpbb\attachment\upload
scope: prototype scope: prototype
arguments: arguments:
- @auth - '@auth'
- @cache - '@cache'
- @config - '@config'
- @files.upload - '@files.upload'
- @language - '@language'
- @mimetype.guesser - '@mimetype.guesser'
- @dispatcher - '@dispatcher'
- @plupload - '@plupload'
- @user - '@user'
- %core.root_path% - '%core.root_path%'

View file

@ -7,63 +7,63 @@ services:
auth.provider_collection: auth.provider_collection:
class: phpbb\auth\provider_collection class: phpbb\auth\provider_collection
arguments: arguments:
- @service_container - '@service_container'
- @config - '@config'
tags: tags:
- { name: service_collection, tag: auth.provider } - { name: service_collection, tag: auth.provider }
auth.provider.db: auth.provider.db:
class: phpbb\auth\provider\db class: phpbb\auth\provider\db
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @config - '@config'
- @passwords.manager - '@passwords.manager'
- @request - '@request'
- @user - '@user'
- @service_container - '@service_container'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: auth.provider } - { name: auth.provider }
auth.provider.apache: auth.provider.apache:
class: phpbb\auth\provider\apache class: phpbb\auth\provider\apache
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @config - '@config'
- @passwords.manager - '@passwords.manager'
- @request - '@request'
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: auth.provider } - { name: auth.provider }
auth.provider.ldap: auth.provider.ldap:
class: phpbb\auth\provider\ldap class: phpbb\auth\provider\ldap
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @config - '@config'
- @passwords.manager - '@passwords.manager'
- @user - '@user'
tags: tags:
- { name: auth.provider } - { name: auth.provider }
auth.provider.oauth: auth.provider.oauth:
class: phpbb\auth\provider\oauth\oauth class: phpbb\auth\provider\oauth\oauth
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @config - '@config'
- @passwords.manager - '@passwords.manager'
- @request - '@request'
- @user - '@user'
- %tables.auth_provider_oauth_token_storage% - '%tables.auth_provider_oauth_token_storage%'
- %tables.auth_provider_oauth_account_assoc% - '%tables.auth_provider_oauth_account_assoc%'
- @auth.provider.oauth.service_collection - '@auth.provider.oauth.service_collection'
- %tables.users% - '%tables.users%'
- @service_container - '@service_container'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: auth.provider } - { name: auth.provider }
@ -71,30 +71,30 @@ services:
auth.provider.oauth.service_collection: auth.provider.oauth.service_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: auth.provider.oauth.service } - { name: service_collection, tag: auth.provider.oauth.service }
auth.provider.oauth.service.bitly: auth.provider.oauth.service.bitly:
class: phpbb\auth\provider\oauth\service\bitly class: phpbb\auth\provider\oauth\service\bitly
arguments: arguments:
- @config - '@config'
- @request - '@request'
tags: tags:
- { name: auth.provider.oauth.service } - { name: auth.provider.oauth.service }
auth.provider.oauth.service.facebook: auth.provider.oauth.service.facebook:
class: phpbb\auth\provider\oauth\service\facebook class: phpbb\auth\provider\oauth\service\facebook
arguments: arguments:
- @config - '@config'
- @request - '@request'
tags: tags:
- { name: auth.provider.oauth.service } - { name: auth.provider.oauth.service }
auth.provider.oauth.service.google: auth.provider.oauth.service.google:
class: phpbb\auth\provider\oauth\service\google class: phpbb\auth\provider\oauth\service\google
arguments: arguments:
- @config - '@config'
- @request - '@request'
tags: tags:
- { name: auth.provider.oauth.service } - { name: auth.provider.oauth.service }

View file

@ -2,26 +2,26 @@ services:
avatar.manager: avatar.manager:
class: phpbb\avatar\manager class: phpbb\avatar\manager
arguments: arguments:
- @config - '@config'
- @avatar.driver_collection - '@avatar.driver_collection'
# ----- Avatar drivers ----- # ----- Avatar drivers -----
avatar.driver_collection: avatar.driver_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: avatar.driver } - { name: service_collection, tag: avatar.driver }
avatar.driver.gravatar: avatar.driver.gravatar:
class: phpbb\avatar\driver\gravatar class: phpbb\avatar\driver\gravatar
arguments: arguments:
- @config - '@config'
- @upload_imagesize - '@upload_imagesize'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @path_helper - '@path_helper'
- @cache.driver - '@cache.driver'
calls: calls:
- [set_name, [avatar.driver.gravatar]] - [set_name, [avatar.driver.gravatar]]
tags: tags:
@ -30,12 +30,12 @@ services:
avatar.driver.local: avatar.driver.local:
class: phpbb\avatar\driver\local class: phpbb\avatar\driver\local
arguments: arguments:
- @config - '@config'
- @upload_imagesize - '@upload_imagesize'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @path_helper - '@path_helper'
- @cache.driver - '@cache.driver'
calls: calls:
- [set_name, [avatar.driver.local]] - [set_name, [avatar.driver.local]]
tags: tags:
@ -44,12 +44,12 @@ services:
avatar.driver.remote: avatar.driver.remote:
class: phpbb\avatar\driver\remote class: phpbb\avatar\driver\remote
arguments: arguments:
- @config - '@config'
- @upload_imagesize - '@upload_imagesize'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @path_helper - '@path_helper'
- @cache.driver - '@cache.driver'
calls: calls:
- [set_name, [avatar.driver.remote]] - [set_name, [avatar.driver.remote]]
tags: tags:
@ -58,14 +58,14 @@ services:
avatar.driver.upload: avatar.driver.upload:
class: phpbb\avatar\driver\upload class: phpbb\avatar\driver\upload
arguments: arguments:
- @config - '@config'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @filesystem - '@filesystem'
- @path_helper - '@path_helper'
- @dispatcher - '@dispatcher'
- @files.factory - '@files.factory'
- @cache.driver - '@cache.driver'
calls: calls:
- [set_name, [avatar.driver.upload]] - [set_name, [avatar.driver.upload]]
tags: tags:

View file

@ -2,15 +2,15 @@ services:
captcha.factory: captcha.factory:
class: phpbb\captcha\factory class: phpbb\captcha\factory
arguments: arguments:
- @service_container - '@service_container'
- @captcha.plugins.service_collection - '@captcha.plugins.service_collection'
# ----- Captcha plugins ----- # ----- Captcha plugins -----
# Scope MUST be prototype for all the plugins to work. # Scope MUST be prototype for all the plugins to work.
captcha.plugins.service_collection: captcha.plugins.service_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: captcha.plugins } - { name: service_collection, tag: captcha.plugins }
@ -42,9 +42,9 @@ services:
class: phpbb\captcha\plugins\qa class: phpbb\captcha\plugins\qa
scope: prototype scope: prototype
arguments: arguments:
- %tables.captcha_qa_questions% - '%tables.captcha_qa_questions%'
- %tables.captcha_qa_answers% - '%tables.captcha_qa_answers%'
- %tables.captcha_qa_confirm% - '%tables.captcha_qa_confirm%'
calls: calls:
- [set_name, [core.captcha.plugins.qa]] - [set_name, [core.captcha.plugins.qa]]
tags: tags:

View file

@ -2,220 +2,220 @@ services:
console.exception_subscriber: console.exception_subscriber:
class: phpbb\console\exception_subscriber class: phpbb\console\exception_subscriber
arguments: arguments:
- @language - '@language'
- %debug.exceptions% - '%debug.exceptions%'
tags: tags:
- { name: kernel.event_subscriber } - { name: kernel.event_subscriber }
console.command_collection: console.command_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: console.command } - { name: service_collection, tag: console.command }
console.command.cache.purge: console.command.cache.purge:
class: phpbb\console\command\cache\purge class: phpbb\console\command\cache\purge
arguments: arguments:
- @user - '@user'
- @cache.driver - '@cache.driver'
- @dbal.conn - '@dbal.conn'
- @auth - '@auth'
- @log - '@log'
- @config - '@config'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.config.delete: console.command.config.delete:
class: phpbb\console\command\config\delete class: phpbb\console\command\config\delete
arguments: arguments:
- @user - '@user'
- @config - '@config'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.config.increment: console.command.config.increment:
class: phpbb\console\command\config\increment class: phpbb\console\command\config\increment
arguments: arguments:
- @user - '@user'
- @config - '@config'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.config.get: console.command.config.get:
class: phpbb\console\command\config\get class: phpbb\console\command\config\get
arguments: arguments:
- @user - '@user'
- @config - '@config'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.config.set: console.command.config.set:
class: phpbb\console\command\config\set class: phpbb\console\command\config\set
arguments: arguments:
- @user - '@user'
- @config - '@config'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.config.set_atomic: console.command.config.set_atomic:
class: phpbb\console\command\config\set_atomic class: phpbb\console\command\config\set_atomic
arguments: arguments:
- @user - '@user'
- @config - '@config'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.cron.list: console.command.cron.list:
class: phpbb\console\command\cron\cron_list class: phpbb\console\command\cron\cron_list
arguments: arguments:
- @user - '@user'
- @cron.manager - '@cron.manager'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.cron.run: console.command.cron.run:
class: phpbb\console\command\cron\run class: phpbb\console\command\cron\run
arguments: arguments:
- @user - '@user'
- @cron.manager - '@cron.manager'
- @cron.lock_db - '@cron.lock_db'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.db.list: console.command.db.list:
class: phpbb\console\command\db\list_command class: phpbb\console\command\db\list_command
arguments: arguments:
- @user - '@user'
- @migrator - '@migrator'
- @ext.manager - '@ext.manager'
- @config - '@config'
- @cache - '@cache'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.db.migrate: console.command.db.migrate:
class: phpbb\console\command\db\migrate class: phpbb\console\command\db\migrate
arguments: arguments:
- @user - '@user'
- @language - '@language'
- @migrator - '@migrator'
- @ext.manager - '@ext.manager'
- @config - '@config'
- @cache - '@cache'
- @log - '@log'
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.db.revert: console.command.db.revert:
class: phpbb\console\command\db\revert class: phpbb\console\command\db\revert
arguments: arguments:
- @user - '@user'
- @language - '@language'
- @migrator - '@migrator'
- @ext.manager - '@ext.manager'
- @config - '@config'
- @cache - '@cache'
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.dev.migration_tips: console.command.dev.migration_tips:
class: phpbb\console\command\dev\migration_tips class: phpbb\console\command\dev\migration_tips
arguments: arguments:
- @user - '@user'
- @ext.manager - '@ext.manager'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.extension.disable: console.command.extension.disable:
class: phpbb\console\command\extension\disable class: phpbb\console\command\extension\disable
arguments: arguments:
- @user - '@user'
- @ext.manager - '@ext.manager'
- @log - '@log'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.extension.enable: console.command.extension.enable:
class: phpbb\console\command\extension\enable class: phpbb\console\command\extension\enable
arguments: arguments:
- @user - '@user'
- @ext.manager - '@ext.manager'
- @log - '@log'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.extension.purge: console.command.extension.purge:
class: phpbb\console\command\extension\purge class: phpbb\console\command\extension\purge
arguments: arguments:
- @user - '@user'
- @ext.manager - '@ext.manager'
- @log - '@log'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.extension.show: console.command.extension.show:
class: phpbb\console\command\extension\show class: phpbb\console\command\extension\show
arguments: arguments:
- @user - '@user'
- @ext.manager - '@ext.manager'
- @log - '@log'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.fixup.recalculate_email_hash: console.command.fixup.recalculate_email_hash:
class: phpbb\console\command\fixup\recalculate_email_hash class: phpbb\console\command\fixup\recalculate_email_hash
arguments: arguments:
- @user - '@user'
- @dbal.conn - '@dbal.conn'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.reparser.list: console.command.reparser.list:
class: phpbb\console\command\reparser\list_all class: phpbb\console\command\reparser\list_all
arguments: arguments:
- @user - '@user'
- @text_reparser_collection - '@text_reparser_collection'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.reparser.reparse: console.command.reparser.reparse:
class: phpbb\console\command\reparser\reparse class: phpbb\console\command\reparser\reparse
arguments: arguments:
- @user - '@user'
- @text_reparser.lock - '@text_reparser.lock'
- @text_reparser_collection - '@text_reparser_collection'
- @text_reparser.manager - '@text_reparser.manager'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.thumbnail.delete: console.command.thumbnail.delete:
class: phpbb\console\command\thumbnail\delete class: phpbb\console\command\thumbnail\delete
arguments: arguments:
- @user - '@user'
- @dbal.conn - '@dbal.conn'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.thumbnail.generate: console.command.thumbnail.generate:
class: phpbb\console\command\thumbnail\generate class: phpbb\console\command\thumbnail\generate
arguments: arguments:
- @user - '@user'
- @dbal.conn - '@dbal.conn'
- @cache - '@cache'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: console.command } - { name: console.command }
console.command.thumbnail.recreate: console.command.thumbnail.recreate:
class: phpbb\console\command\thumbnail\recreate class: phpbb\console\command\thumbnail\recreate
arguments: arguments:
- @user - '@user'
tags: tags:
- { name: console.command } - { name: console.command }

View file

@ -2,71 +2,71 @@ services:
content.visibility: content.visibility:
class: phpbb\content_visibility class: phpbb\content_visibility
arguments: arguments:
- @auth - '@auth'
- @config - '@config'
- @dispatcher - '@dispatcher'
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %tables.forums% - '%tables.forums%'
- %tables.posts% - '%tables.posts%'
- %tables.topics% - '%tables.topics%'
- %tables.users% - '%tables.users%'
groupposition.legend: groupposition.legend:
class: phpbb\groupposition\legend class: phpbb\groupposition\legend
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @user - '@user'
groupposition.teampage: groupposition.teampage:
class: phpbb\groupposition\teampage class: phpbb\groupposition\teampage
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- @cache.driver - '@cache.driver'
message.form.admin: message.form.admin:
class: phpbb\message\admin_form class: phpbb\message\admin_form
arguments: arguments:
- @auth - '@auth'
- @config - '@config'
- @config_text - '@config_text'
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
message.form.topic: message.form.topic:
class: phpbb\message\topic_form class: phpbb\message\topic_form
arguments: arguments:
- @auth - '@auth'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
message.form.user: message.form.user:
class: phpbb\message\user_form class: phpbb\message\user_form
arguments: arguments:
- @auth - '@auth'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
pagination: pagination:
class: phpbb\pagination class: phpbb\pagination
arguments: arguments:
- @template - '@template'
- @user - '@user'
- @controller.helper - '@controller.helper'
- @dispatcher - '@dispatcher'
viewonline_helper: viewonline_helper:
class: phpbb\viewonline_helper class: phpbb\viewonline_helper
arguments: arguments:
- @filesystem - '@filesystem'

View file

@ -2,32 +2,32 @@ services:
cron.manager: cron.manager:
class: phpbb\cron\manager class: phpbb\cron\manager
arguments: arguments:
- @cron.task_collection - '@cron.task_collection'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
cron.lock_db: cron.lock_db:
class: phpbb\lock\db class: phpbb\lock\db
arguments: arguments:
- cron_lock - cron_lock
- @config - '@config'
- @dbal.conn - '@dbal.conn'
# ----- Cron tasks ----- # ----- Cron tasks -----
cron.task_collection: cron.task_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: cron.task } - { name: service_collection, tag: cron.task }
cron.task.core.prune_all_forums: cron.task.core.prune_all_forums:
class: phpbb\cron\task\core\prune_all_forums class: phpbb\cron\task\core\prune_all_forums
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
calls: calls:
- [set_name, [cron.task.core.prune_all_forums]] - [set_name, [cron.task.core.prune_all_forums]]
tags: tags:
@ -36,10 +36,10 @@ services:
cron.task.core.prune_forum: cron.task.core.prune_forum:
class: phpbb\cron\task\core\prune_forum class: phpbb\cron\task\core\prune_forum
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
calls: calls:
- [set_name, [cron.task.core.prune_forum]] - [set_name, [cron.task.core.prune_forum]]
tags: tags:
@ -48,12 +48,12 @@ services:
cron.task.core.prune_shadow_topics: cron.task.core.prune_shadow_topics:
class: phpbb\cron\task\core\prune_shadow_topics class: phpbb\cron\task\core\prune_shadow_topics
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @log - '@log'
- @user - '@user'
calls: calls:
- [set_name, [cron.task.core.prune_shadow_topics]] - [set_name, [cron.task.core.prune_shadow_topics]]
tags: tags:
@ -62,8 +62,8 @@ services:
cron.task.core.prune_notifications: cron.task.core.prune_notifications:
class: phpbb\cron\task\core\prune_notifications class: phpbb\cron\task\core\prune_notifications
arguments: arguments:
- @config - '@config'
- @notification_manager - '@notification_manager'
calls: calls:
- [set_name, [cron.task.core.prune_notifications]] - [set_name, [cron.task.core.prune_notifications]]
tags: tags:
@ -72,9 +72,9 @@ services:
cron.task.core.queue: cron.task.core.queue:
class: phpbb\cron\task\core\queue class: phpbb\cron\task\core\queue
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @config - '@config'
calls: calls:
- [set_name, [cron.task.core.queue]] - [set_name, [cron.task.core.queue]]
tags: tags:
@ -83,8 +83,8 @@ services:
cron.task.core.tidy_cache: cron.task.core.tidy_cache:
class: phpbb\cron\task\core\tidy_cache class: phpbb\cron\task\core\tidy_cache
arguments: arguments:
- @config - '@config'
- @cache.driver - '@cache.driver'
calls: calls:
- [set_name, [cron.task.core.tidy_cache]] - [set_name, [cron.task.core.tidy_cache]]
tags: tags:
@ -93,9 +93,9 @@ services:
cron.task.core.tidy_database: cron.task.core.tidy_database:
class: phpbb\cron\task\core\tidy_database class: phpbb\cron\task\core\tidy_database
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @config - '@config'
calls: calls:
- [set_name, [cron.task.core.tidy_database]] - [set_name, [cron.task.core.tidy_database]]
tags: tags:
@ -104,8 +104,8 @@ services:
cron.task.core.tidy_plupload: cron.task.core.tidy_plupload:
class: phpbb\cron\task\core\tidy_plupload class: phpbb\cron\task\core\tidy_plupload
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @config - '@config'
calls: calls:
- [set_name, [cron.task.core.tidy_plupload]] - [set_name, [cron.task.core.tidy_plupload]]
tags: tags:
@ -114,13 +114,13 @@ services:
cron.task.core.tidy_search: cron.task.core.tidy_search:
class: phpbb\cron\task\core\tidy_search class: phpbb\cron\task\core\tidy_search
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @auth - '@auth'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @user - '@user'
- @dispatcher - '@dispatcher'
calls: calls:
- [set_name, [cron.task.core.tidy_search]] - [set_name, [cron.task.core.tidy_search]]
tags: tags:
@ -129,8 +129,8 @@ services:
cron.task.core.tidy_sessions: cron.task.core.tidy_sessions:
class: phpbb\cron\task\core\tidy_sessions class: phpbb\cron\task\core\tidy_sessions
arguments: arguments:
- @config - '@config'
- @user - '@user'
calls: calls:
- [set_name, [cron.task.core.tidy_sessions]] - [set_name, [cron.task.core.tidy_sessions]]
tags: tags:
@ -139,9 +139,9 @@ services:
cron.task.core.tidy_warnings: cron.task.core.tidy_warnings:
class: phpbb\cron\task\core\tidy_warnings class: phpbb\cron\task\core\tidy_warnings
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @config - '@config'
calls: calls:
- [set_name, [cron.task.core.tidy_warnings]] - [set_name, [cron.task.core.tidy_warnings]]
tags: tags:
@ -150,11 +150,11 @@ services:
cron.task.text_reparser.pm_text: cron.task.text_reparser.pm_text:
class: phpbb\cron\task\text_reparser\reparser class: phpbb\cron\task\text_reparser\reparser
arguments: arguments:
- @config - '@config'
- @config_text - '@config_text'
- @text_reparser.lock - '@text_reparser.lock'
- @text_reparser.manager - '@text_reparser.manager'
- @text_reparser_collection - '@text_reparser_collection'
calls: calls:
- [set_name, [cron.task.text_reparser.pm_text]] - [set_name, [cron.task.text_reparser.pm_text]]
- [set_reparser, [text_reparser.pm_text]] - [set_reparser, [text_reparser.pm_text]]
@ -164,11 +164,11 @@ services:
cron.task.text_reparser.poll_option: cron.task.text_reparser.poll_option:
class: phpbb\cron\task\text_reparser\reparser class: phpbb\cron\task\text_reparser\reparser
arguments: arguments:
- @config - '@config'
- @config_text - '@config_text'
- @text_reparser.lock - '@text_reparser.lock'
- @text_reparser.manager - '@text_reparser.manager'
- @text_reparser_collection - '@text_reparser_collection'
calls: calls:
- [set_name, [cron.task.text_reparser.poll_option]] - [set_name, [cron.task.text_reparser.poll_option]]
- [set_reparser, [text_reparser.poll_option]] - [set_reparser, [text_reparser.poll_option]]
@ -178,11 +178,11 @@ services:
cron.task.text_reparser.poll_title: cron.task.text_reparser.poll_title:
class: phpbb\cron\task\text_reparser\reparser class: phpbb\cron\task\text_reparser\reparser
arguments: arguments:
- @config - '@config'
- @config_text - '@config_text'
- @text_reparser.lock - '@text_reparser.lock'
- @text_reparser.manager - '@text_reparser.manager'
- @text_reparser_collection - '@text_reparser_collection'
calls: calls:
- [set_name, [cron.task.text_reparser.poll_title]] - [set_name, [cron.task.text_reparser.poll_title]]
- [set_reparser, [text_reparser.poll_title]] - [set_reparser, [text_reparser.poll_title]]
@ -192,11 +192,11 @@ services:
cron.task.text_reparser.post_text: cron.task.text_reparser.post_text:
class: phpbb\cron\task\text_reparser\reparser class: phpbb\cron\task\text_reparser\reparser
arguments: arguments:
- @config - '@config'
- @config_text - '@config_text'
- @text_reparser.lock - '@text_reparser.lock'
- @text_reparser.manager - '@text_reparser.manager'
- @text_reparser_collection - '@text_reparser_collection'
calls: calls:
- [set_name, [cron.task.text_reparser.post_text]] - [set_name, [cron.task.text_reparser.post_text]]
- [set_reparser, [text_reparser.post_text]] - [set_reparser, [text_reparser.post_text]]
@ -206,11 +206,11 @@ services:
cron.task.text_reparser.user_signature: cron.task.text_reparser.user_signature:
class: phpbb\cron\task\text_reparser\reparser class: phpbb\cron\task\text_reparser\reparser
arguments: arguments:
- @config - '@config'
- @config_text - '@config_text'
- @text_reparser.lock - '@text_reparser.lock'
- @text_reparser.manager - '@text_reparser.manager'
- @text_reparser_collection - '@text_reparser_collection'
calls: calls:
- [set_name, [cron.task.text_reparser.user_signature]] - [set_name, [cron.task.text_reparser.user_signature]]
- [set_reparser, [text_reparser.user_signature]] - [set_reparser, [text_reparser.user_signature]]

View file

@ -2,12 +2,12 @@ services:
dbal.conn: dbal.conn:
class: phpbb\db\driver\factory class: phpbb\db\driver\factory
arguments: arguments:
- @service_container - '@service_container'
dbal.conn.driver: dbal.conn.driver:
class: %dbal.driver.class% class: '%dbal.driver.class%'
calls: calls:
- [sql_connect, [%dbal.dbhost%, %dbal.dbuser%, %dbal.dbpasswd%, %dbal.dbname%, %dbal.dbport%, false, %dbal.new_link%]] - [sql_connect, ['%dbal.dbhost%', '%dbal.dbuser%', '%dbal.dbpasswd%', '%dbal.dbname%', '%dbal.dbport%', false, '%dbal.new_link%']]
# ----- DB Tools ----- # ----- DB Tools -----
dbal.tools.factory: dbal.tools.factory:
@ -15,20 +15,20 @@ services:
dbal.tools: dbal.tools:
class: phpbb\db\tools\tools_interface class: phpbb\db\tools\tools_interface
factory: ["@dbal.tools.factory", get] factory: ['@dbal.tools.factory', get]
arguments: arguments:
- @dbal.conn.driver - '@dbal.conn.driver'
# ----- DB Extractor ----- # ----- DB Extractor -----
dbal.extractor.factory: dbal.extractor.factory:
class: phpbb\db\extractor\factory class: phpbb\db\extractor\factory
arguments: arguments:
- @dbal.conn.driver - '@dbal.conn.driver'
- @service_container - '@service_container'
dbal.extractor: dbal.extractor:
class: phpbb\db\extractor\extractor_interface class: phpbb\db\extractor\extractor_interface
factory: ["@dbal.extractor.factory", get] factory: ['@dbal.extractor.factory', get]
# ----- DB Extractors for different drivers ----- # ----- DB Extractors for different drivers -----
# Scope MUST be prototype for all the handlers to work correctly. # Scope MUST be prototype for all the handlers to work correctly.
@ -36,46 +36,46 @@ services:
class: phpbb\db\extractor\mssql_extractor class: phpbb\db\extractor\mssql_extractor
scope: prototype scope: prototype
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @request - '@request'
- @dbal.conn.driver - '@dbal.conn.driver'
dbal.extractor.extractors.mysql_extractor: dbal.extractor.extractors.mysql_extractor:
class: phpbb\db\extractor\mysql_extractor class: phpbb\db\extractor\mysql_extractor
scope: prototype scope: prototype
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @request - '@request'
- @dbal.conn.driver - '@dbal.conn.driver'
dbal.extractor.extractors.oracle_extractor: dbal.extractor.extractors.oracle_extractor:
class: phpbb\db\extractor\oracle_extractor class: phpbb\db\extractor\oracle_extractor
scope: prototype scope: prototype
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @request - '@request'
- @dbal.conn.driver - '@dbal.conn.driver'
dbal.extractor.extractors.postgres_extractor: dbal.extractor.extractors.postgres_extractor:
class: phpbb\db\extractor\postgres_extractor class: phpbb\db\extractor\postgres_extractor
scope: prototype scope: prototype
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @request - '@request'
- @dbal.conn.driver - '@dbal.conn.driver'
dbal.extractor.extractors.sqlite3_extractor: dbal.extractor.extractors.sqlite3_extractor:
class: phpbb\db\extractor\sqlite3_extractor class: phpbb\db\extractor\sqlite3_extractor
scope: prototype scope: prototype
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @request - '@request'
- @dbal.conn.driver - '@dbal.conn.driver'
dbal.extractor.extractors.sqlite_extractor: dbal.extractor.extractors.sqlite_extractor:
class: phpbb\db\extractor\sqlite_extractor class: phpbb\db\extractor\sqlite_extractor
scope: prototype scope: prototype
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- @request - '@request'
- @dbal.conn.driver - '@dbal.conn.driver'

View file

@ -2,13 +2,13 @@ services:
dispatcher: dispatcher:
class: phpbb\event\dispatcher class: phpbb\event\dispatcher
arguments: arguments:
- @service_container - '@service_container'
kernel_exception_subscriber: kernel_exception_subscriber:
class: phpbb\event\kernel_exception_subscriber class: phpbb\event\kernel_exception_subscriber
arguments: arguments:
- @template - '@template'
- @language - '@language'
tags: tags:
- { name: kernel.event_subscriber } - { name: kernel.event_subscriber }

View file

@ -2,112 +2,112 @@ services:
phpbb.feed.controller: phpbb.feed.controller:
class: phpbb\feed\controller\feed class: phpbb\feed\controller\feed
arguments: arguments:
- @template.twig.environment - '@template.twig.environment'
- @symfony_request - '@symfony_request'
- @controller.helper - '@controller.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @service_container - '@service_container'
- @feed.helper - '@feed.helper'
- @user - '@user'
- @auth - '@auth'
- %core.php_ext% - '%core.php_ext%'
feed.helper: feed.helper:
class: phpbb\feed\helper class: phpbb\feed\helper
arguments: arguments:
- @config - '@config'
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
feed.forum: feed.forum:
class: phpbb\feed\forum class: phpbb\feed\forum
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'
feed.forums: feed.forums:
class: phpbb\feed\forums class: phpbb\feed\forums
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'
feed.news: feed.news:
class: phpbb\feed\news class: phpbb\feed\news
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'
feed.overall: feed.overall:
class: phpbb\feed\overall class: phpbb\feed\overall
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'
feed.topic: feed.topic:
class: phpbb\feed\topic class: phpbb\feed\topic
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'
feed.topics: feed.topics:
class: phpbb\feed\topics class: phpbb\feed\topics
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'
feed.topics_active: feed.topics_active:
class: phpbb\feed\topics_active class: phpbb\feed\topics_active
scope: prototype scope: prototype
arguments: arguments:
- @feed.helper - '@feed.helper'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @auth - '@auth'
- @content.visibility - '@content.visibility'
- %core.php_ext% - '%core.php_ext%'

View file

@ -2,55 +2,55 @@ services:
files.factory: files.factory:
class: phpbb\files\factory class: phpbb\files\factory
arguments: arguments:
- @service_container - '@service_container'
files.filespec: files.filespec:
class: phpbb\files\filespec class: phpbb\files\filespec
scope: prototype scope: prototype
arguments: arguments:
- @filesystem - '@filesystem'
- @language - '@language'
- @php_ini - '@php_ini'
- @upload_imagesize - '@upload_imagesize'
- %core.root_path% - '%core.root_path%'
- @mimetype.guesser - '@mimetype.guesser'
- @plupload - '@plupload'
files.upload: files.upload:
class: phpbb\files\upload class: phpbb\files\upload
scope: prototype scope: prototype
arguments: arguments:
- @filesystem - '@filesystem'
- @files.factory - '@files.factory'
- @language - '@language'
- @php_ini - '@php_ini'
- @request - '@request'
files.types.form: files.types.form:
class: phpbb\files\types\form class: phpbb\files\types\form
scope: prototype scope: prototype
arguments: arguments:
- @files.factory - '@files.factory'
- @language - '@language'
- @php_ini - '@php_ini'
- @plupload - '@plupload'
- @request - '@request'
files.types.local: files.types.local:
class: phpbb\files\types\form class: phpbb\files\types\form
scope: prototype scope: prototype
arguments: arguments:
- @files.factory - '@files.factory'
- @language - '@language'
- @php_ini - '@php_ini'
- @request - '@request'
files.types.remote: files.types.remote:
class: phpbb\files\types\remote class: phpbb\files\types\remote
scope: prototype scope: prototype
arguments: arguments:
- @files.factory - '@files.factory'
- @language - '@language'
- @php_ini - '@php_ini'
- @request - '@request'
- %core.root_path% - '%core.root_path%'

View file

@ -2,26 +2,26 @@ services:
phpbb.help.manager: phpbb.help.manager:
class: phpbb\help\manager class: phpbb\help\manager
arguments: arguments:
- @dispatcher - '@dispatcher'
- @language - '@language'
- @template - '@template'
phpbb.help.controller.bbcode: phpbb.help.controller.bbcode:
class: phpbb\help\controller\bbcode class: phpbb\help\controller\bbcode
arguments: arguments:
- @controller.helper - '@controller.helper'
- @phpbb.help.manager - '@phpbb.help.manager'
- @template - '@template'
- @language - '@language'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
phpbb.help.controller.faq: phpbb.help.controller.faq:
class: phpbb\help\controller\faq class: phpbb\help\controller\faq
arguments: arguments:
- @controller.helper - '@controller.helper'
- @phpbb.help.manager - '@phpbb.help.manager'
- @template - '@template'
- @language - '@language'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'

View file

@ -2,6 +2,6 @@ services:
hook_finder: hook_finder:
class: phpbb\hook\finder class: phpbb\hook\finder
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- @cache.driver - '@cache.driver'

View file

@ -2,16 +2,16 @@ services:
http_kernel: http_kernel:
class: Symfony\Component\HttpKernel\HttpKernel class: Symfony\Component\HttpKernel\HttpKernel
arguments: arguments:
- @dispatcher - '@dispatcher'
- @controller.resolver - '@controller.resolver'
- @request_stack - '@request_stack'
# WARNING: The Symfony request does not escape the input and should be used very carefully # WARNING: The Symfony request does not escape the input and should be used very carefully
# prefer the phpbb request (service @request) as possible # prefer the phpbb request (service @request) as possible
symfony_request: symfony_request:
class: phpbb\symfony_request class: phpbb\symfony_request
arguments: arguments:
- @request - '@request'
request_stack: request_stack:
class: Symfony\Component\HttpFoundation\RequestStack class: Symfony\Component\HttpFoundation\RequestStack
@ -20,4 +20,4 @@ services:
class: phpbb\request\request class: phpbb\request\request
arguments: arguments:
- null - null
- %core.disable_super_globals% - '%core.disable_super_globals%'

View file

@ -2,21 +2,21 @@ services:
language.helper.language_file: language.helper.language_file:
class: phpbb\language\language_file_helper class: phpbb\language\language_file_helper
arguments: arguments:
- %core.root_path% - '%core.root_path%'
language: language:
class: phpbb\language\language class: phpbb\language\language
arguments: arguments:
- @language.loader - '@language.loader'
language.loader_abstract: language.loader_abstract:
abstract: true abstract: true
class: phpbb\language\language_file_loader class: phpbb\language\language_file_loader
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
language.loader: language.loader:
parent: language.loader_abstract parent: language.loader_abstract
calls: calls:
- [set_extension_manager, ["@ext.manager"]] - [set_extension_manager, ['@ext.manager']]

View file

@ -3,16 +3,16 @@ services:
migrator: migrator:
class: phpbb\db\migrator class: phpbb\db\migrator
arguments: arguments:
- @service_container - '@service_container'
- @config - '@config'
- @dbal.conn - '@dbal.conn'
- @dbal.tools - '@dbal.tools'
- %tables.migrations% - '%tables.migrations%'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %core.table_prefix% - '%core.table_prefix%'
- @migrator.tool_collection - '@migrator.tool_collection'
- @migrator.helper - '@migrator.helper'
migrator.helper: migrator.helper:
class: phpbb\db\migration\helper class: phpbb\db\migration\helper
@ -21,44 +21,44 @@ services:
migrator.tool_collection: migrator.tool_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: migrator.tool } - { name: service_collection, tag: migrator.tool }
migrator.tool.config: migrator.tool.config:
class: phpbb\db\migration\tool\config class: phpbb\db\migration\tool\config
arguments: arguments:
- @config - '@config'
tags: tags:
- { name: migrator.tool } - { name: migrator.tool }
migrator.tool.config_text: migrator.tool.config_text:
class: phpbb\db\migration\tool\config_text class: phpbb\db\migration\tool\config_text
arguments: arguments:
- @config_text - '@config_text'
tags: tags:
- { name: migrator.tool } - { name: migrator.tool }
migrator.tool.module: migrator.tool.module:
class: phpbb\db\migration\tool\module class: phpbb\db\migration\tool\module
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @cache - '@cache'
- @user - '@user'
- @module.manager - '@module.manager'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %tables.modules% - '%tables.modules%'
tags: tags:
- { name: migrator.tool } - { name: migrator.tool }
migrator.tool.permission: migrator.tool.permission:
class: phpbb\db\migration\tool\permission class: phpbb\db\migration\tool\permission
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @cache - '@cache'
- @auth - '@auth'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: migrator.tool } - { name: migrator.tool }

View file

@ -2,7 +2,7 @@ services:
mimetype.guesser_collection: mimetype.guesser_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: mimetype.guessers } - { name: service_collection, tag: mimetype.guessers }
@ -19,18 +19,18 @@ services:
mimetype.content_guesser: mimetype.content_guesser:
class: phpbb\mimetype\content_guesser class: phpbb\mimetype\content_guesser
calls: calls:
- [set_priority, [%mimetype.guesser.priority.low%]] - [set_priority, ['%mimetype.guesser.priority.low%']]
tags: tags:
- { name: mimetype.guessers } - { name: mimetype.guessers }
mimetype.extension_guesser: mimetype.extension_guesser:
class: phpbb\mimetype\extension_guesser class: phpbb\mimetype\extension_guesser
calls: calls:
- [set_priority, [%mimetype.guesser.priority.lowest%]] - [set_priority, ['%mimetype.guesser.priority.lowest%']]
tags: tags:
- { name: mimetype.guessers } - { name: mimetype.guessers }
mimetype.guesser: mimetype.guesser:
class: phpbb\mimetype\guesser class: phpbb\mimetype\guesser
arguments: arguments:
- @mimetype.guesser_collection - '@mimetype.guesser_collection'

View file

@ -2,9 +2,9 @@ services:
module.manager: module.manager:
class: phpbb\module\module_manager class: phpbb\module\module_manager
arguments: arguments:
- @cache.driver - '@cache.driver'
- @dbal.conn - '@dbal.conn'
- @ext.manager - '@ext.manager'
- %tables.modules% - '%tables.modules%'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'

View file

@ -2,45 +2,45 @@ services:
notification_manager: notification_manager:
class: phpbb\notification\manager class: phpbb\notification\manager
arguments: arguments:
- @notification.type_collection - '@notification.type_collection'
- @notification.method_collection - '@notification.method_collection'
- @service_container - '@service_container'
- @user_loader - '@user_loader'
- @dispatcher - '@dispatcher'
- @dbal.conn - '@dbal.conn'
- @cache - '@cache'
- @language - '@language'
- @user - '@user'
- %tables.notification_types% - '%tables.notification_types%'
- %tables.user_notifications% - '%tables.user_notifications%'
# ----- Notification's types ----- # ----- Notification's types -----
# Scope MUST be prototype for all the plugins to work. # Scope MUST be prototype for all the plugins to work.
notification.type_collection: notification.type_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: notification.type } - { name: service_collection, tag: notification.type }
notification.type.base: notification.type.base:
abstract: true abstract: true
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- @language - '@language'
- @user - '@user'
- @auth - '@auth'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %tables.user_notifications% - '%tables.user_notifications%'
notification.type.admin_activate_user: notification.type.admin_activate_user:
class: phpbb\notification\type\admin_activate_user class: phpbb\notification\type\admin_activate_user
scope: prototype scope: prototype
parent: notification.type.base parent: notification.type.base
calls: calls:
- [set_user_loader, [@user_loader]] - [set_user_loader, ['@user_loader']]
- [set_config, [@config]] - [set_config, ['@config']]
tags: tags:
- { name: notification.type } - { name: notification.type }
@ -84,7 +84,7 @@ services:
scope: prototype scope: prototype
parent: notification.type.base parent: notification.type.base
calls: calls:
- [set_user_loader, [@user_loader]] - [set_user_loader, ['@user_loader']]
tags: tags:
- { name: notification.type } - { name: notification.type }
@ -100,8 +100,8 @@ services:
scope: prototype scope: prototype
parent: notification.type.base parent: notification.type.base
calls: calls:
- [set_user_loader, [@user_loader]] - [set_user_loader, ['@user_loader']]
- [set_config, [@config]] - [set_config, ['@config']]
tags: tags:
- { name: notification.type } - { name: notification.type }
@ -110,8 +110,8 @@ services:
scope: prototype scope: prototype
parent: notification.type.base parent: notification.type.base
calls: calls:
- [set_user_loader, [@user_loader]] - [set_user_loader, ['@user_loader']]
- [set_config, [@config]] - [set_config, ['@config']]
tags: tags:
- { name: notification.type } - { name: notification.type }
@ -127,7 +127,7 @@ services:
scope: prototype scope: prototype
parent: notification.type.post parent: notification.type.post
calls: calls:
- [set_utils, [@text_formatter.utils]] - [set_utils, ['@text_formatter.utils']]
tags: tags:
- { name: notification.type } - { name: notification.type }
@ -164,8 +164,8 @@ services:
scope: prototype scope: prototype
parent: notification.type.base parent: notification.type.base
calls: calls:
- [set_user_loader, [@user_loader]] - [set_user_loader, ['@user_loader']]
- [set_config, [@config]] - [set_config, ['@config']]
tags: tags:
- { name: notification.type } - { name: notification.type }
@ -181,7 +181,7 @@ services:
notification.method_collection: notification.method_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: notification.method } - { name: service_collection, tag: notification.method }
@ -189,13 +189,13 @@ services:
class: phpbb\notification\method\board class: phpbb\notification\method\board
scope: prototype # scope MUST be prototype for this to work! scope: prototype # scope MUST be prototype for this to work!
arguments: arguments:
- @user_loader - '@user_loader'
- @dbal.conn - '@dbal.conn'
- @cache.driver - '@cache.driver'
- @user - '@user'
- @config - '@config'
- %tables.notification_types% - '%tables.notification_types%'
- %tables.notifications% - '%tables.notifications%'
tags: tags:
- { name: notification.method } - { name: notification.method }
@ -203,11 +203,11 @@ services:
class: phpbb\notification\method\email class: phpbb\notification\method\email
scope: prototype scope: prototype
arguments: arguments:
- @user_loader - '@user_loader'
- @user - '@user'
- @config - '@config'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: notification.method } - { name: notification.method }
@ -215,10 +215,10 @@ services:
class: phpbb\notification\method\jabber class: phpbb\notification\method\jabber
scope: prototype scope: prototype
arguments: arguments:
- @user_loader - '@user_loader'
- @user - '@user'
- @config - '@config'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: notification.method } - { name: notification.method }

View file

@ -3,10 +3,10 @@ services:
passwords.manager: passwords.manager:
class: phpbb\passwords\manager class: phpbb\passwords\manager
arguments: arguments:
- @config - '@config'
- @passwords.driver_collection - '@passwords.driver_collection'
- @passwords.helper - '@passwords.helper'
- %passwords.algorithms% - '%passwords.algorithms%'
passwords.helper: passwords.helper:
class: phpbb\passwords\helper class: phpbb\passwords\helper
@ -14,111 +14,111 @@ services:
passwords.driver_helper: passwords.driver_helper:
class: phpbb\passwords\driver\helper class: phpbb\passwords\driver\helper
arguments: arguments:
- @config - '@config'
# ----- Password's drivers ----- # ----- Password's drivers -----
passwords.driver_collection: passwords.driver_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: passwords.driver } - { name: service_collection, tag: passwords.driver }
passwords.driver.bcrypt: passwords.driver.bcrypt:
class: phpbb\passwords\driver\bcrypt class: phpbb\passwords\driver\bcrypt
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.bcrypt_2y: passwords.driver.bcrypt_2y:
class: phpbb\passwords\driver\bcrypt_2y class: phpbb\passwords\driver\bcrypt_2y
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.bcrypt_wcf2: passwords.driver.bcrypt_wcf2:
class: phpbb\passwords\driver\bcrypt_wcf2 class: phpbb\passwords\driver\bcrypt_wcf2
arguments: arguments:
- @passwords.driver.bcrypt - '@passwords.driver.bcrypt'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.salted_md5: passwords.driver.salted_md5:
class: phpbb\passwords\driver\salted_md5 class: phpbb\passwords\driver\salted_md5
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.phpass: passwords.driver.phpass:
class: phpbb\passwords\driver\phpass class: phpbb\passwords\driver\phpass
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.convert_password: passwords.driver.convert_password:
class: phpbb\passwords\driver\convert_password class: phpbb\passwords\driver\convert_password
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.sha1_smf: passwords.driver.sha1_smf:
class: phpbb\passwords\driver\sha1_smf class: phpbb\passwords\driver\sha1_smf
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.sha1_wcf1: passwords.driver.sha1_wcf1:
class: phpbb\passwords\driver\sha1_wcf1 class: phpbb\passwords\driver\sha1_wcf1
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.sha1: passwords.driver.sha1:
class: phpbb\passwords\driver\sha1 class: phpbb\passwords\driver\sha1
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.md5_phpbb2: passwords.driver.md5_phpbb2:
class: phpbb\passwords\driver\md5_phpbb2 class: phpbb\passwords\driver\md5_phpbb2
arguments: arguments:
- @request - '@request'
- @passwords.driver.salted_md5 - '@passwords.driver.salted_md5'
- @passwords.driver_helper - '@passwords.driver_helper'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.md5_mybb: passwords.driver.md5_mybb:
class: phpbb\passwords\driver\md5_mybb class: phpbb\passwords\driver\md5_mybb
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }
passwords.driver.md5_vb: passwords.driver.md5_vb:
class: phpbb\passwords\driver\md5_vb class: phpbb\passwords\driver\md5_vb
arguments: arguments:
- @config - '@config'
- @passwords.driver_helper - '@passwords.driver_helper'
tags: tags:
- { name: passwords.driver } - { name: passwords.driver }

View file

@ -2,101 +2,101 @@ services:
profilefields.manager: profilefields.manager:
class: phpbb\profilefields\manager class: phpbb\profilefields\manager
arguments: arguments:
- @auth - '@auth'
- @dbal.conn - '@dbal.conn'
- @dispatcher - '@dispatcher'
- @request - '@request'
- @template - '@template'
- @profilefields.type_collection - '@profilefields.type_collection'
- @user - '@user'
- %tables.profile_fields% - '%tables.profile_fields%'
- %tables.profile_fields_language% - '%tables.profile_fields_language%'
- %tables.profile_fields_data% - '%tables.profile_fields_data%'
profilefields.lang_helper: profilefields.lang_helper:
class: phpbb\profilefields\lang_helper class: phpbb\profilefields\lang_helper
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.profile_fields_options_language% - '%tables.profile_fields_options_language%'
# ----- Profile fields types ----- # ----- Profile fields types -----
profilefields.type_collection: profilefields.type_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: profilefield.type } - { name: service_collection, tag: profilefield.type }
profilefields.type.bool: profilefields.type.bool:
class: phpbb\profilefields\type\type_bool class: phpbb\profilefields\type\type_bool
arguments: arguments:
- @profilefields.lang_helper - '@profilefields.lang_helper'
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.date: profilefields.type.date:
class: phpbb\profilefields\type\type_date class: phpbb\profilefields\type\type_date
arguments: arguments:
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.dropdown: profilefields.type.dropdown:
class: phpbb\profilefields\type\type_dropdown class: phpbb\profilefields\type\type_dropdown
arguments: arguments:
- @profilefields.lang_helper - '@profilefields.lang_helper'
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.googleplus: profilefields.type.googleplus:
class: phpbb\profilefields\type\type_googleplus class: phpbb\profilefields\type\type_googleplus
arguments: arguments:
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.int: profilefields.type.int:
class: phpbb\profilefields\type\type_int class: phpbb\profilefields\type\type_int
arguments: arguments:
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.string: profilefields.type.string:
class: phpbb\profilefields\type\type_string class: phpbb\profilefields\type\type_string
arguments: arguments:
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.text: profilefields.type.text:
class: phpbb\profilefields\type\type_text class: phpbb\profilefields\type\type_text
arguments: arguments:
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }
profilefields.type.url: profilefields.type.url:
class: phpbb\profilefields\type\type_url class: phpbb\profilefields\type\type_url
arguments: arguments:
- @request - '@request'
- @template - '@template'
- @user - '@user'
tags: tags:
- { name: profilefield.type } - { name: profilefield.type }

View file

@ -3,30 +3,30 @@ services:
phpbb.report.controller: phpbb.report.controller:
class: phpbb\report\controller\report class: phpbb\report\controller\report
arguments: arguments:
- @config - '@config'
- @user - '@user'
- @template - '@template'
- @controller.helper - '@controller.helper'
- @request - '@request'
- @captcha.factory - '@captcha.factory'
- @phpbb.report.handler_factory - '@phpbb.report.handler_factory'
- @phpbb.report.report_reason_list_provider - '@phpbb.report.report_reason_list_provider'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
# ----- Report handler factory ----- # ----- Report handler factory -----
phpbb.report.handler_factory: phpbb.report.handler_factory:
class: phpbb\report\handler_factory class: phpbb\report\handler_factory
arguments: arguments:
- @service_container - '@service_container'
# ----- Report UI provider ----- # ----- Report UI provider -----
phpbb.report.report_reason_list_provider: phpbb.report.report_reason_list_provider:
class: phpbb\report\report_reason_list_provider class: phpbb\report\report_reason_list_provider
arguments: arguments:
- @dbal.conn.driver - '@dbal.conn.driver'
- @template - '@template'
- @user - '@user'
# ----- Report handlers ----- # ----- Report handlers -----
# Scope MUST be prototype for all the handlers to work correctly. # Scope MUST be prototype for all the handlers to work correctly.
@ -34,20 +34,20 @@ services:
class: phpbb\report\report_handler_pm class: phpbb\report\report_handler_pm
scope: prototype scope: prototype
arguments: arguments:
- @dbal.conn.driver - '@dbal.conn.driver'
- @dispatcher - '@dispatcher'
- @config - '@config'
- @auth - '@auth'
- @user - '@user'
- @notification_manager - '@notification_manager'
phpbb.report.handlers.report_handler_post: phpbb.report.handlers.report_handler_post:
class: phpbb\report\report_handler_post class: phpbb\report\report_handler_post
scope: prototype scope: prototype
arguments: arguments:
- @dbal.conn.driver - '@dbal.conn.driver'
- @dispatcher - '@dispatcher'
- @config - '@config'
- @auth - '@auth'
- @user - '@user'
- @notification_manager - '@notification_manager'

View file

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

View file

@ -1,5 +1,5 @@
parameters: parameters:
text_formatter.cache.dir: %core.root_path%cache/%core.environment%/ text_formatter.cache.dir: '%core.root_path%cache/%core.environment%/'
text_formatter.cache.parser.key: _text_formatter_parser text_formatter.cache.parser.key: _text_formatter_parser
text_formatter.cache.renderer.key: _text_formatter_renderer text_formatter.cache.renderer.key: _text_formatter_renderer
@ -10,12 +10,12 @@ services:
text_formatter.data_access: text_formatter.data_access:
class: phpbb\textformatter\data_access class: phpbb\textformatter\data_access
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.bbcodes% - '%tables.bbcodes%'
- %tables.smilies% - '%tables.smilies%'
- %tables.styles% - '%tables.styles%'
- %tables.words% - '%tables.words%'
- %core.root_path%styles/ - '%core.root_path%styles/'
text_formatter.parser: text_formatter.parser:
alias: text_formatter.s9e.parser alias: text_formatter.s9e.parser
@ -29,41 +29,41 @@ services:
text_formatter.s9e.factory: text_formatter.s9e.factory:
class: phpbb\textformatter\s9e\factory class: phpbb\textformatter\s9e\factory
arguments: arguments:
- @text_formatter.data_access - '@text_formatter.data_access'
- @cache.driver - '@cache.driver'
- @dispatcher - '@dispatcher'
- @config - '@config'
- %text_formatter.cache.dir% - '%text_formatter.cache.dir%'
- %text_formatter.cache.parser.key% - '%text_formatter.cache.parser.key%'
- %text_formatter.cache.renderer.key% - '%text_formatter.cache.renderer.key%'
text_formatter.s9e.parser: text_formatter.s9e.parser:
class: phpbb\textformatter\s9e\parser class: phpbb\textformatter\s9e\parser
arguments: arguments:
- @cache.driver - '@cache.driver'
- %text_formatter.cache.parser.key% - '%text_formatter.cache.parser.key%'
- @text_formatter.s9e.factory - '@text_formatter.s9e.factory'
- @dispatcher - '@dispatcher'
text_formatter.s9e.quote_helper: text_formatter.s9e.quote_helper:
class: phpbb\textformatter\s9e\quote_helper class: phpbb\textformatter\s9e\quote_helper
arguments: arguments:
- @user - '@user'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
text_formatter.s9e.renderer: text_formatter.s9e.renderer:
class: phpbb\textformatter\s9e\renderer class: phpbb\textformatter\s9e\renderer
arguments: arguments:
- @cache.driver - '@cache.driver'
- %text_formatter.cache.dir% - '%text_formatter.cache.dir%'
- %text_formatter.cache.renderer.key% - '%text_formatter.cache.renderer.key%'
- @text_formatter.s9e.factory - '@text_formatter.s9e.factory'
- @dispatcher - '@dispatcher'
calls: calls:
- [configure_quote_helper, [@text_formatter.s9e.quote_helper]] - [configure_quote_helper, ['@text_formatter.s9e.quote_helper']]
- [configure_smilies_path, [@config, @path_helper]] - [configure_smilies_path, ['@config', '@path_helper']]
- [configure_user, [@user, @config, @auth]] - [configure_user, ['@user', '@config', '@auth']]
text_formatter.s9e.utils: text_formatter.s9e.utils:
class: phpbb\textformatter\s9e\utils class: phpbb\textformatter\s9e\utils

View file

@ -2,90 +2,90 @@ services:
text_reparser.manager: text_reparser.manager:
class: phpbb\textreparser\manager class: phpbb\textreparser\manager
arguments: arguments:
- @config - '@config'
- @config_text - '@config_text'
- @text_reparser_collection - '@text_reparser_collection'
text_reparser.lock: text_reparser.lock:
class: phpbb\lock\db class: phpbb\lock\db
arguments: arguments:
- reparse_lock - reparse_lock
- @config - '@config'
- @dbal.conn - '@dbal.conn'
text_reparser_collection: text_reparser_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: text_reparser.plugin } - { name: service_collection, tag: text_reparser.plugin }
text_reparser.contact_admin_info: text_reparser.contact_admin_info:
class: phpbb\textreparser\plugins\contact_admin_info class: phpbb\textreparser\plugins\contact_admin_info
arguments: arguments:
- @config_text - '@config_text'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.forum_description: text_reparser.forum_description:
class: phpbb\textreparser\plugins\forum_description class: phpbb\textreparser\plugins\forum_description
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.forums% - '%tables.forums%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.forum_rules: text_reparser.forum_rules:
class: phpbb\textreparser\plugins\forum_rules class: phpbb\textreparser\plugins\forum_rules
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.forums% - '%tables.forums%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.group_description: text_reparser.group_description:
class: phpbb\textreparser\plugins\group_description class: phpbb\textreparser\plugins\group_description
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.groups% - '%tables.groups%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.pm_text: text_reparser.pm_text:
class: phpbb\textreparser\plugins\pm_text class: phpbb\textreparser\plugins\pm_text
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.privmsgs% - '%tables.privmsgs%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.poll_option: text_reparser.poll_option:
class: phpbb\textreparser\plugins\poll_option class: phpbb\textreparser\plugins\poll_option
arguments: arguments:
- @dbal.conn - '@dbal.conn'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.poll_title: text_reparser.poll_title:
class: phpbb\textreparser\plugins\poll_title class: phpbb\textreparser\plugins\poll_title
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.topics% - '%tables.topics%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.post_text: text_reparser.post_text:
class: phpbb\textreparser\plugins\post_text class: phpbb\textreparser\plugins\post_text
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.posts% - '%tables.posts%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }
text_reparser.user_signature: text_reparser.user_signature:
class: phpbb\textreparser\plugins\user_signature class: phpbb\textreparser\plugins\user_signature
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %tables.users% - '%tables.users%'
tags: tags:
- { name: text_reparser.plugin } - { name: text_reparser.plugin }

View file

@ -1,48 +1,48 @@
parameters: parameters:
core.template.cache_path: %core.root_path%cache/%core.environment%/twig/ core.template.cache_path: '%core.root_path%cache/%core.environment%/twig/'
services: services:
template.twig.environment: template.twig.environment:
class: phpbb\template\twig\environment class: phpbb\template\twig\environment
arguments: arguments:
- @config - '@config'
- @filesystem - '@filesystem'
- @path_helper - '@path_helper'
- @service_container - '@service_container'
- %core.template.cache_path% - '%core.template.cache_path%'
- @ext.manager - '@ext.manager'
- @template.twig.loader - '@template.twig.loader'
- [] - []
template.twig.lexer: template.twig.lexer:
class: phpbb\template\twig\lexer class: phpbb\template\twig\lexer
arguments: arguments:
- @template.twig.environment - '@template.twig.environment'
template.twig.loader: template.twig.loader:
class: phpbb\template\twig\loader class: phpbb\template\twig\loader
arguments: arguments:
- @filesystem - '@filesystem'
template.twig.extensions.collection: template.twig.extensions.collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: twig.extension } - { name: service_collection, tag: twig.extension }
template.twig.extensions.phpbb: template.twig.extensions.phpbb:
class: phpbb\template\twig\extension class: phpbb\template\twig\extension
arguments: arguments:
- @template_context - '@template_context'
- @language - '@language'
tags: tags:
- { name: twig.extension } - { name: twig.extension }
template.twig.extensions.routing: template.twig.extensions.routing:
class: phpbb\template\twig\extension\routing class: phpbb\template\twig\extension\routing
arguments: arguments:
- @routing.helper - '@routing.helper'
tags: tags:
- { name: twig.extension } - { name: twig.extension }
@ -52,14 +52,14 @@ services:
template: template:
class: phpbb\template\twig\twig class: phpbb\template\twig\twig
arguments: arguments:
- @path_helper - '@path_helper'
- @config - '@config'
- @template_context - '@template_context'
- @template.twig.environment - '@template.twig.environment'
- %core.template.cache_path% - '%core.template.cache_path%'
- @user - '@user'
- @template.twig.extensions.collection - '@template.twig.extensions.collection'
- @ext.manager - '@ext.manager'
template_context: template_context:
class: phpbb\template\context class: phpbb\template\context

View file

@ -2,19 +2,19 @@ services:
acl.permissions: acl.permissions:
class: phpbb\permissions class: phpbb\permissions
arguments: arguments:
- @dispatcher - '@dispatcher'
- @user - '@user'
user: user:
class: phpbb\user class: phpbb\user
arguments: arguments:
- @language - '@language'
- %datetime.class% - '%datetime.class%'
user_loader: user_loader:
class: phpbb\user_loader class: phpbb\user_loader
arguments: arguments:
- @dbal.conn - '@dbal.conn'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %tables.users% - '%tables.users%'

View file

@ -1,77 +1,77 @@
parameters: parameters:
tables.acl_groups: %core.table_prefix%acl_groups tables.acl_groups: '%core.table_prefix%acl_groups'
tables.acl_options: %core.table_prefix%acl_options tables.acl_options: '%core.table_prefix%acl_options'
tables.acl_roles: %core.table_prefix%acl_roles tables.acl_roles: '%core.table_prefix%acl_roles'
tables.acl_roles_data: %core.table_prefix%acl_roles_data tables.acl_roles_data: '%core.table_prefix%acl_roles_data'
tables.acl_users: %core.table_prefix%acl_users tables.acl_users: '%core.table_prefix%acl_users'
tables.attachments: %core.table_prefix%attachments tables.attachments: '%core.table_prefix%attachments'
tables.auth_provider_oauth_token_storage: %core.table_prefix%oauth_tokens tables.auth_provider_oauth_token_storage: '%core.table_prefix%oauth_tokens'
tables.auth_provider_oauth_account_assoc: %core.table_prefix%oauth_accounts tables.auth_provider_oauth_account_assoc: '%core.table_prefix%oauth_accounts'
tables.banlist: %core.table_prefix%banlist tables.banlist: '%core.table_prefix%banlist'
tables.bbcodes: %core.table_prefix%bbcodes tables.bbcodes: '%core.table_prefix%bbcodes'
tables.bookmarks: %core.table_prefix%bookmarks tables.bookmarks: '%core.table_prefix%bookmarks'
tables.bots: %core.table_prefix%bots tables.bots: '%core.table_prefix%bots'
tables.captcha_qa_questions: %core.table_prefix%captcha_questions tables.captcha_qa_questions: '%core.table_prefix%captcha_questions'
tables.captcha_qa_answers: %core.table_prefix%captcha_answers tables.captcha_qa_answers: '%core.table_prefix%captcha_answers'
tables.captcha_qa_confirm: %core.table_prefix%qa_confirm tables.captcha_qa_confirm: '%core.table_prefix%qa_confirm'
tables.config: %core.table_prefix%config tables.config: '%core.table_prefix%config'
tables.config_text: %core.table_prefix%config_text tables.config_text: '%core.table_prefix%config_text'
tables.confirm: %core.table_prefix%confirm tables.confirm: '%core.table_prefix%confirm'
tables.disallow: %core.table_prefix%disallow tables.disallow: '%core.table_prefix%disallow'
tables.drafts: %core.table_prefix%drafts tables.drafts: '%core.table_prefix%drafts'
tables.ext: %core.table_prefix%ext tables.ext: '%core.table_prefix%ext'
tables.extensions: %core.table_prefix%extensions tables.extensions: '%core.table_prefix%extensions'
tables.extension_groups: %core.table_prefix%extension_groups tables.extension_groups: '%core.table_prefix%extension_groups'
tables.forums: %core.table_prefix%forums tables.forums: '%core.table_prefix%forums'
tables.forums_access: %core.table_prefix%forums_access tables.forums_access: '%core.table_prefix%forums_access'
tables.forums_track: %core.table_prefix%forums_track tables.forums_track: '%core.table_prefix%forums_track'
tables.forums_watch: %core.table_prefix%forums_watch tables.forums_watch: '%core.table_prefix%forums_watch'
tables.groups: %core.table_prefix%groups tables.groups: '%core.table_prefix%groups'
tables.icons: %core.table_prefix%icons tables.icons: '%core.table_prefix%icons'
tables.lang: %core.table_prefix%lang tables.lang: '%core.table_prefix%lang'
tables.log: %core.table_prefix%log tables.log: '%core.table_prefix%log'
tables.login_attempts: %core.table_prefix%login_attempts tables.login_attempts: '%core.table_prefix%login_attempts'
tables.migrations: %core.table_prefix%migrations tables.migrations: '%core.table_prefix%migrations'
tables.moderator_cache: %core.table_prefix%moderator_cache tables.moderator_cache: '%core.table_prefix%moderator_cache'
tables.modules: %core.table_prefix%modules tables.modules: '%core.table_prefix%modules'
tables.notification_types: %core.table_prefix%notification_types tables.notification_types: '%core.table_prefix%notification_types'
tables.notifications: %core.table_prefix%notifications tables.notifications: '%core.table_prefix%notifications'
tables.poll_options: %core.table_prefix%poll_options tables.poll_options: '%core.table_prefix%poll_options'
tables.poll_votes: %core.table_prefix%poll_votes tables.poll_votes: '%core.table_prefix%poll_votes'
tables.posts: %core.table_prefix%posts tables.posts: '%core.table_prefix%posts'
tables.privmsgs: %core.table_prefix%privmsgs tables.privmsgs: '%core.table_prefix%privmsgs'
tables.privmsgs_folder: %core.table_prefix%privmsgs_folder tables.privmsgs_folder: '%core.table_prefix%privmsgs_folder'
tables.privmsgs_rules: %core.table_prefix%privmsgs_rules tables.privmsgs_rules: '%core.table_prefix%privmsgs_rules'
tables.privmsgs_to: %core.table_prefix%privmsgs_to tables.privmsgs_to: '%core.table_prefix%privmsgs_to'
tables.profile_fields: %core.table_prefix%profile_fields tables.profile_fields: '%core.table_prefix%profile_fields'
tables.profile_fields_data: %core.table_prefix%profile_fields_data tables.profile_fields_data: '%core.table_prefix%profile_fields_data'
tables.profile_fields_options_language: %core.table_prefix%profile_fields_lang tables.profile_fields_options_language: '%core.table_prefix%profile_fields_lang'
tables.profile_fields_language: %core.table_prefix%profile_lang tables.profile_fields_language: '%core.table_prefix%profile_lang'
tables.ranks: %core.table_prefix%ranks tables.ranks: '%core.table_prefix%ranks'
tables.reports: %core.table_prefix%reports tables.reports: '%core.table_prefix%reports'
tables.reports_reasons: %core.table_prefix%reports_reasons tables.reports_reasons: '%core.table_prefix%reports_reasons'
tables.search_results: %core.table_prefix%search_results tables.search_results: '%core.table_prefix%search_results'
tables.search_wordlist: %core.table_prefix%search_wordlist tables.search_wordlist: '%core.table_prefix%search_wordlist'
tables.search_wordmatch: %core.table_prefix%search_wordmatch tables.search_wordmatch: '%core.table_prefix%search_wordmatch'
tables.sessions: %core.table_prefix%sessions tables.sessions: '%core.table_prefix%sessions'
tables.sessions_keys: %core.table_prefix%sessions_keys tables.sessions_keys: '%core.table_prefix%sessions_keys'
tables.sitelist: %core.table_prefix%sitelist tables.sitelist: '%core.table_prefix%sitelist'
tables.smilies: %core.table_prefix%smilies tables.smilies: '%core.table_prefix%smilies'
tables.sphinx: %core.table_prefix%sphinx tables.sphinx: '%core.table_prefix%sphinx'
tables.styles: %core.table_prefix%styles tables.styles: '%core.table_prefix%styles'
tables.styles_template: %core.table_prefix%styles_template tables.styles_template: '%core.table_prefix%styles_template'
tables.styles_template_data: %core.table_prefix%styles_template_data tables.styles_template_data: '%core.table_prefix%styles_template_data'
tables.styles_theme: %core.table_prefix%styles_theme tables.styles_theme: '%core.table_prefix%styles_theme'
tables.styles_imageset: %core.table_prefix%styles_imageset tables.styles_imageset: '%core.table_prefix%styles_imageset'
tables.styles_imageset_data: %core.table_prefix%styles_imageset_data tables.styles_imageset_data: '%core.table_prefix%styles_imageset_data'
tables.teampage: %core.table_prefix%teampage tables.teampage: '%core.table_prefix%teampage'
tables.topics: %core.table_prefix%topics tables.topics: '%core.table_prefix%topics'
tables.topics_posted: %core.table_prefix%topics_posted tables.topics_posted: '%core.table_prefix%topics_posted'
tables.topics_track: %core.table_prefix%topics_track tables.topics_track: '%core.table_prefix%topics_track'
tables.topics_watch: %core.table_prefix%topics_watch tables.topics_watch: '%core.table_prefix%topics_watch'
tables.user_group: %core.table_prefix%user_group tables.user_group: '%core.table_prefix%user_group'
tables.user_notifications: %core.table_prefix%user_notifications tables.user_notifications: '%core.table_prefix%user_notifications'
tables.users: %core.table_prefix%users tables.users: '%core.table_prefix%users'
tables.warnings: %core.table_prefix%warnings tables.warnings: '%core.table_prefix%warnings'
tables.words: %core.table_prefix%words tables.words: '%core.table_prefix%words'
tables.zebra: %core.table_prefix%zebra tables.zebra: '%core.table_prefix%zebra'

View file

@ -3,7 +3,7 @@ phpbb_report_pm_controller:
methods: [GET, POST] methods: [GET, POST]
defaults: defaults:
_controller: phpbb.report.controller:handle _controller: phpbb.report.controller:handle
mode: "pm" mode: 'pm'
requirements: requirements:
id: \d+ id: \d+
@ -12,6 +12,6 @@ phpbb_report_post_controller:
methods: [GET, POST] methods: [GET, POST]
defaults: defaults:
_controller: phpbb.report.controller:handle _controller: phpbb.report.controller:handle
mode: "post" mode: 'post'
requirements: requirements:
id: \d+ id: \d+

View file

@ -5,11 +5,11 @@
# defaults: { _controller: foo_sevice:method } # defaults: { _controller: foo_sevice:method }
# #
# The above will be accessed via app.php?controller=foo and it will # The above will be accessed via app.php?controller=foo and it will
# instantiate the "foo_service" service and call the "method" method. # instantiate the 'foo_service' service and call the 'method' method.
# #
phpbb_feed_routing: phpbb_feed_routing:
resource: "feed.yml" resource: feed.yml
prefix: /feed prefix: /feed
phpbb_feed_index: phpbb_feed_index:
@ -17,8 +17,8 @@ phpbb_feed_index:
defaults: { _controller: phpbb.feed.controller:overall } defaults: { _controller: phpbb.feed.controller:overall }
phpbb_help_routing: phpbb_help_routing:
resource: "help.yml" resource: help.yml
prefix: /help prefix: /help
phpbb_report_routing: phpbb_report_routing:
resource: "report.yml" resource: report.yml

View file

@ -1,2 +1,2 @@
core.default: core.default:
resource: "../../default/routing/routing.yml" resource: ../../default/routing/routing.yml

View file

@ -10,9 +10,9 @@ imports:
services: services:
cache.driver: cache.driver:
class: %cache.driver.class% class: '%cache.driver.class%'
arguments: arguments:
- "%core.root_path%/cache/installer/" - '%core.root_path%/cache/installer/'
config: config:
class: phpbb\config\config class: phpbb\config\config
@ -22,22 +22,22 @@ services:
controller.resolver: controller.resolver:
class: phpbb\controller\resolver class: phpbb\controller\resolver
arguments: arguments:
- @service_container - '@service_container'
- %core.root_path% - '%core.root_path%'
- @template - '@template'
file_locator: file_locator:
class: phpbb\routing\file_locator class: phpbb\routing\file_locator
arguments: arguments:
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
kernel_exception_subscriber: kernel_exception_subscriber:
class: phpbb\install\event\kernel_exception_subscriber class: phpbb\install\event\kernel_exception_subscriber
arguments: arguments:
- @phpbb.installer.controller.helper - '@phpbb.installer.controller.helper'
- @language - '@language'
- @template - '@template'
tags: tags:
- { name: kernel.event_subscriber } - { name: kernel.event_subscriber }
@ -47,48 +47,48 @@ services:
path_helper: path_helper:
class: phpbb\path_helper class: phpbb\path_helper
arguments: arguments:
- @symfony_request - '@symfony_request'
- @filesystem - '@filesystem'
- @request - '@request'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
routing.resources_locator.default: routing.resources_locator.default:
class: phpbb\routing\resources_locator\installer_resources_locator class: phpbb\routing\resources_locator\installer_resources_locator
arguments: arguments:
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
- %core.environment% - '%core.environment%'
tags: tags:
- { name: routing.resources_locator } - { name: routing.resources_locator }
template: template:
class: phpbb\template\twig\twig class: phpbb\template\twig\twig
arguments: arguments:
- @path_helper - '@path_helper'
- @config - '@config'
- @template_context - '@template_context'
- @template.twig.environment - '@template.twig.environment'
- %core.template.cache_path% - '%core.template.cache_path%'
- null - null
- @template.twig.extensions.collection - '@template.twig.extensions.collection'
template.twig.environment: template.twig.environment:
class: phpbb\template\twig\environment class: phpbb\template\twig\environment
arguments: arguments:
- @config - '@config'
- @filesystem - '@filesystem'
- @path_helper - '@path_helper'
- @service_container - '@service_container'
- %core.template.cache_path% - '%core.template.cache_path%'
- null - null
- @template.twig.loader - '@template.twig.loader'
- [] - []
console.exception_subscriber: console.exception_subscriber:
class: phpbb\console\exception_subscriber class: phpbb\console\exception_subscriber
arguments: arguments:
- @language - '@language'
- %debug.exceptions% - '%debug.exceptions%'
tags: tags:
- { name: kernel.event_subscriber } - { name: kernel.event_subscriber }

View file

@ -2,37 +2,37 @@ services:
installer.file_updater.factory: installer.file_updater.factory:
class: phpbb\install\helper\file_updater\factory class: phpbb\install\helper\file_updater\factory
arguments: arguments:
- @installer.file_updater.collection - '@installer.file_updater.collection'
installer.file_updater.collection: installer.file_updater.collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: file_updater } - { name: service_collection, tag: file_updater }
installer.file_updater.compress: installer.file_updater.compress:
class: phpbb\install\helper\file_updater\compression_file_updater class: phpbb\install\helper\file_updater\compression_file_updater
arguments: arguments:
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: file_updater } - { name: file_updater }
installer.file_updater.ftp: installer.file_updater.ftp:
class: phpbb\install\helper\file_updater\ftp_file_updater class: phpbb\install\helper\file_updater\ftp_file_updater
arguments: arguments:
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: file_updater } - { name: file_updater }
installer.file_updater.file: installer.file_updater.file:
class: phpbb\install\helper\file_updater\file_updater class: phpbb\install\helper\file_updater\file_updater
arguments: arguments:
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: file_updater } - { name: file_updater }

View file

@ -2,26 +2,26 @@ services:
console.installer.command_collection: console.installer.command_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: console.installer.command } - { name: service_collection, tag: console.installer.command }
console.installer.command.install: console.installer.command.install:
class: phpbb\install\console\command\install\install class: phpbb\install\console\command\install\install
arguments: arguments:
- @language - '@language'
- @installer.helper.iohandler_factory - '@installer.helper.iohandler_factory'
- @installer.installer.install - '@installer.installer.install'
- @installer.helper.install_helper - '@installer.helper.install_helper'
tags: tags:
- { name: console.installer.command } - { name: console.installer.command }
console.installer.command.config.show: console.installer.command.config.show:
class: phpbb\install\console\command\install\config\show class: phpbb\install\console\command\install\config\show
arguments: arguments:
- @language - '@language'
- @installer.helper.iohandler_factory - '@installer.helper.iohandler_factory'
- @installer.installer.install - '@installer.installer.install'
tags: tags:
- { name: console.installer.command } - { name: console.installer.command }
@ -29,8 +29,8 @@ services:
console.installer.command.config.validate: console.installer.command.config.validate:
class: phpbb\install\console\command\install\config\validate class: phpbb\install\console\command\install\config\validate
arguments: arguments:
- @language - '@language'
- @installer.helper.iohandler_factory - '@installer.helper.iohandler_factory'
- @installer.installer.install - '@installer.installer.install'
tags: tags:
- { name: console.installer.command } - { name: console.installer.command }

View file

@ -2,50 +2,50 @@ services:
phpbb.installer.controller.welcome: phpbb.installer.controller.welcome:
class: phpbb\install\controller\installer_index class: phpbb\install\controller\installer_index
arguments: arguments:
- @phpbb.installer.controller.helper - '@phpbb.installer.controller.helper'
- @language - '@language'
- @template - '@template'
- %core.root_path% - '%core.root_path%'
phpbb.installer.controller.helper: phpbb.installer.controller.helper:
class: phpbb\install\controller\helper class: phpbb\install\controller\helper
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @language - '@language'
- @language.helper.language_file - '@language.helper.language_file'
- @installer.navigation.provider - '@installer.navigation.provider'
- @template - '@template'
- @path_helper - '@path_helper'
- @request - '@request'
- @symfony_request - '@symfony_request'
- @router - '@router'
- %core.root_path% - '%core.root_path%'
phpbb.installer.controller.install: phpbb.installer.controller.install:
class: phpbb\install\controller\install class: phpbb\install\controller\install
arguments: arguments:
- @phpbb.installer.controller.helper - '@phpbb.installer.controller.helper'
- @installer.helper.iohandler_factory - '@installer.helper.iohandler_factory'
- @installer.navigation.provider - '@installer.navigation.provider'
- @language - '@language'
- @template - '@template'
- @request - '@request'
- @installer.installer.install - '@installer.installer.install'
- @installer.helper.install_helper - '@installer.helper.install_helper'
phpbb.installer.controller.update: phpbb.installer.controller.update:
class: phpbb\install\controller\update class: phpbb\install\controller\update
arguments: arguments:
- @phpbb.installer.controller.helper - '@phpbb.installer.controller.helper'
- @installer.installer.update - '@installer.installer.update'
- @installer.helper.install_helper - '@installer.helper.install_helper'
- @installer.helper.iohandler_factory - '@installer.helper.iohandler_factory'
- @language - '@language'
- @installer.navigation.provider - '@installer.navigation.provider'
- @request - '@request'
- @template - '@template'
phpbb.installer.controller.file_downloader: phpbb.installer.controller.file_downloader:
class: phpbb\install\controller\archive_download class: phpbb\install\controller\archive_download
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'

View file

@ -2,36 +2,36 @@ services:
installer.install_data.add_bots: installer.install_data.add_bots:
class: phpbb\install\module\install_data\task\add_bots class: phpbb\install\module\install_data\task\add_bots
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @language - '@language'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: install_data_install, order: 20 } - { name: install_data_install, order: 20 }
installer.install_data.add_languages: installer.install_data.add_languages:
class: phpbb\install\module\install_data\task\add_languages class: phpbb\install\module\install_data\task\add_languages
arguments: arguments:
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @language.helper.language_file - '@language.helper.language_file'
tags: tags:
- { name: install_data_install, order: 10 } - { name: install_data_install, order: 10 }
installer.install_data.add_modules: installer.install_data.add_modules:
class: phpbb\install\module\install_data\task\add_modules class: phpbb\install\module\install_data\task\add_modules
arguments: arguments:
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.container_factory - '@installer.helper.container_factory'
tags: tags:
- { name: install_data_install, order: 30 } - { name: install_data_install, order: 30 }
installer.module.data_install_collection: installer.module.data_install_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: install_data_install, class_name_aware: true } - { name: service_collection, tag: install_data_install, class_name_aware: true }
@ -39,6 +39,6 @@ services:
class: phpbb\install\module\install_data\module class: phpbb\install\module\install_data\module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.data_install_collection - '@installer.module.data_install_collection'
tags: tags:
- { name: installer_install_module, order: 50 } - { name: installer_install_module, order: 50 }

View file

@ -2,43 +2,43 @@ services:
installer.install_database.create_schema: installer.install_database.create_schema:
class: phpbb\install\module\install_database\task\create_schema class: phpbb\install\module\install_database\task\create_schema
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.database - '@installer.helper.database'
- @filesystem - '@filesystem'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: install_database_install, order: 10 } - { name: install_database_install, order: 10 }
installer.install_database.add_default_data: installer.install_database.add_default_data:
class: phpbb\install\module\install_database\task\add_default_data class: phpbb\install\module\install_database\task\add_default_data
arguments: arguments:
- @installer.helper.database - '@installer.helper.database'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @language - '@language'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: install_database_install, order: 20 } - { name: install_database_install, order: 20 }
installer.install_database.add_config_settings: installer.install_database.add_config_settings:
class: phpbb\install\module\install_database\task\add_config_settings class: phpbb\install\module\install_database\task\add_config_settings
arguments: arguments:
- @filesystem - '@filesystem'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @language - '@language'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: install_database_install, order: 30 } - { name: install_database_install, order: 30 }
installer.module.install_database_collection: installer.module.install_database_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: install_database_install, class_name_aware: true } - { name: service_collection, tag: install_database_install, class_name_aware: true }
@ -46,6 +46,6 @@ services:
class: phpbb\install\module\install_database\module class: phpbb\install\module\install_database\module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.install_database_collection - '@installer.module.install_database_collection'
tags: tags:
- { name: installer_install_module, order: 40 } - { name: installer_install_module, order: 40 }

View file

@ -2,20 +2,20 @@ services:
installer.install_filesystem.create_config_file: installer.install_filesystem.create_config_file:
class: phpbb\install\module\install_filesystem\task\create_config_file class: phpbb\install\module\install_filesystem\task\create_config_file
arguments: arguments:
- @filesystem - '@filesystem'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.database - '@installer.helper.database'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- %installer.create_config_file.options% - '%installer.create_config_file.options%'
tags: tags:
- { name: install_filesystem_install, order: 10 } - { name: install_filesystem_install, order: 10 }
installer.module.install_filesystem_collection: installer.module.install_filesystem_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: install_filesystem_install, class_name_aware: true } - { name: service_collection, tag: install_filesystem_install, class_name_aware: true }
@ -23,6 +23,6 @@ services:
class: phpbb\install\module\install_filesystem\module class: phpbb\install\module\install_filesystem\module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.install_filesystem_collection - '@installer.module.install_filesystem_collection'
tags: tags:
- { name: installer_install_module, order: 30 } - { name: installer_install_module, order: 30 }

View file

@ -2,25 +2,25 @@ services:
installer.install_finish.populate_migrations: installer.install_finish.populate_migrations:
class: phpbb\install\module\install_finish\task\populate_migrations class: phpbb\install\module\install_finish\task\populate_migrations
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
tags: tags:
- { name: install_finish, order: 10 } - { name: install_finish, order: 10 }
installer.install_finish.notify_user: installer.install_finish.notify_user:
class: phpbb\install\module\install_finish\task\notify_user class: phpbb\install\module\install_finish\task\notify_user
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: install_finish, order: 20 } - { name: install_finish, order: 20 }
installer.module.install_finish_collection: installer.module.install_finish_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: install_finish, class_name_aware: true } - { name: service_collection, tag: install_finish, class_name_aware: true }
@ -28,6 +28,6 @@ services:
class: phpbb\install\module\install_filesystem\module class: phpbb\install\module\install_filesystem\module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.install_finish_collection - '@installer.module.install_finish_collection'
tags: tags:
- { name: installer_install_module, order: 60 } - { name: installer_install_module, order: 60 }

View file

@ -2,12 +2,12 @@ services:
installer.navigation.provider: installer.navigation.provider:
class: phpbb\install\helper\navigation\navigation_provider class: phpbb\install\helper\navigation\navigation_provider
arguments: arguments:
- @installer.navigation.service_collection - '@installer.navigation.service_collection'
installer.navigation.service_collection: installer.navigation.service_collection:
class: phpbb\di\service_collection class: phpbb\di\service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: installer.navigation } - { name: service_collection, tag: installer.navigation }
@ -20,7 +20,7 @@ services:
installer.navigation.install_navigation: installer.navigation.install_navigation:
class: phpbb\install\helper\navigation\install_navigation class: phpbb\install\helper\navigation\install_navigation
arguments: arguments:
- @installer.helper.install_helper - '@installer.helper.install_helper'
scope: prototype scope: prototype
tags: tags:
- { name: installer.navigation } - { name: installer.navigation }
@ -28,7 +28,7 @@ services:
installer.navigation.update_navigation: installer.navigation.update_navigation:
class: phpbb\install\helper\navigation\update_navigation class: phpbb\install\helper\navigation\update_navigation
arguments: arguments:
- @installer.helper.install_helper - '@installer.helper.install_helper'
scope: prototype scope: prototype
tags: tags:
- { name: installer.navigation } - { name: installer.navigation }

View file

@ -2,56 +2,56 @@ services:
installer.obtain_data.obtain_admin_data: installer.obtain_data.obtain_admin_data:
class: phpbb\install\module\obtain_data\task\obtain_admin_data class: phpbb\install\module\obtain_data\task\obtain_admin_data
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: install_obtain_data, order: 10 } - { name: install_obtain_data, order: 10 }
installer.obtain_data.obtain_board_data: installer.obtain_data.obtain_board_data:
class: phpbb\install\module\obtain_data\task\obtain_board_data class: phpbb\install\module\obtain_data\task\obtain_board_data
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @language.helper.language_file - '@language.helper.language_file'
tags: tags:
- { name: install_obtain_data, order: 50 } - { name: install_obtain_data, order: 50 }
installer.obtain_data.obtain_database_data: installer.obtain_data.obtain_database_data:
class: phpbb\install\module\obtain_data\task\obtain_database_data class: phpbb\install\module\obtain_data\task\obtain_database_data
arguments: arguments:
- @installer.helper.database - '@installer.helper.database'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: install_obtain_data, order: 20 } - { name: install_obtain_data, order: 20 }
installer.obtain_data.obtain_email_data: installer.obtain_data.obtain_email_data:
class: phpbb\install\module\obtain_data\task\obtain_email_data class: phpbb\install\module\obtain_data\task\obtain_email_data
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: install_obtain_data, order: 40 } - { name: install_obtain_data, order: 40 }
installer.obtain_data.obtain_imagick_path: installer.obtain_data.obtain_imagick_path:
class: phpbb\install\module\obtain_data\task\obtain_imagick_path class: phpbb\install\module\obtain_data\task\obtain_imagick_path
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
tags: tags:
- { name: install_obtain_data, order: 60 } - { name: install_obtain_data, order: 60 }
installer.obtain_data.obtain_server_data: installer.obtain_data.obtain_server_data:
class: phpbb\install\module\obtain_data\task\obtain_server_data class: phpbb\install\module\obtain_data\task\obtain_server_data
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: install_obtain_data, order: 30 } - { name: install_obtain_data, order: 30 }
installer.module.install_obtain_data_collection: installer.module.install_obtain_data_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: install_obtain_data, class_name_aware: true } - { name: service_collection, tag: install_obtain_data, class_name_aware: true }
@ -59,7 +59,7 @@ services:
class: phpbb\install\module\obtain_data\install_module class: phpbb\install\module\obtain_data\install_module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.install_obtain_data_collection - '@installer.module.install_obtain_data_collection'
- true - true
- false - false
tags: tags:

View file

@ -2,18 +2,18 @@ services:
installer.requirements.check_filesystem: installer.requirements.check_filesystem:
class: phpbb\install\module\requirements\task\check_filesystem class: phpbb\install\module\requirements\task\check_filesystem
arguments: arguments:
- @filesystem - '@filesystem'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: installer_requirements, order: 10 } - { name: installer_requirements, order: 10 }
installer.requirements.check_server_environment: installer.requirements.check_server_environment:
class: phpbb\install\module\requirements\task\check_server_environment class: phpbb\install\module\requirements\task\check_server_environment
arguments: arguments:
- @installer.helper.database - '@installer.helper.database'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: installer_requirements, order: 20 } - { name: installer_requirements, order: 20 }
- { name: update_requirements, order: 20 } - { name: update_requirements, order: 20 }
@ -21,7 +21,7 @@ services:
installer.module.install_requirements_collection: installer.module.install_requirements_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: installer_requirements, class_name_aware: true } - { name: service_collection, tag: installer_requirements, class_name_aware: true }
@ -30,7 +30,7 @@ services:
class: phpbb\install\module\requirements\install_module class: phpbb\install\module\requirements\install_module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.install_requirements_collection - '@installer.module.install_requirements_collection'
- true - true
- false - false
tags: tags:

View file

@ -19,34 +19,34 @@ services:
installer.helper.config: installer.helper.config:
class: phpbb\install\helper\config class: phpbb\install\helper\config
arguments: arguments:
- @filesystem - '@filesystem'
- @php_ini - '@php_ini'
- %core.root_path% - '%core.root_path%'
installer.helper.database: installer.helper.database:
class: phpbb\install\helper\database class: phpbb\install\helper\database
arguments: arguments:
- @filesystem - '@filesystem'
- %core.root_path% - '%core.root_path%'
installer.helper.iohandler_factory: installer.helper.iohandler_factory:
class: phpbb\install\helper\iohandler\factory class: phpbb\install\helper\iohandler\factory
arguments: arguments:
- @service_container - '@service_container'
installer.helper.iohandler_abstract: installer.helper.iohandler_abstract:
abstract: true abstract: true
calls: calls:
- [set_language, ["@language"]] - [set_language, ['@language']]
installer.helper.iohandler_ajax: installer.helper.iohandler_ajax:
class: phpbb\install\helper\iohandler\ajax_iohandler class: phpbb\install\helper\iohandler\ajax_iohandler
parent: installer.helper.iohandler_abstract parent: installer.helper.iohandler_abstract
arguments: arguments:
- @path_helper - '@path_helper'
- @request - '@request'
- @template - '@template'
- @router - '@router'
installer.helper.iohandler_cli: installer.helper.iohandler_cli:
class: phpbb\install\helper\iohandler\cli_iohandler class: phpbb\install\helper\iohandler\cli_iohandler
@ -54,62 +54,62 @@ services:
installer.helper.iohandler: installer.helper.iohandler:
class: phpbb\install\helper\iohandler\iohandler_interface class: phpbb\install\helper\iohandler\iohandler_interface
factory: ["@installer.helper.iohandler_factory", get] factory: ['@installer.helper.iohandler_factory', get]
installer.helper.container_factory: installer.helper.container_factory:
class: phpbb\install\helper\container_factory class: phpbb\install\helper\container_factory
arguments: arguments:
- @language - '@language'
- @request - '@request'
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
installer.helper.install_helper: installer.helper.install_helper:
class: phpbb\install\helper\install_helper class: phpbb\install\helper\install_helper
arguments: arguments:
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
installer.helper.update_helper: installer.helper.update_helper:
class: phpbb\install\helper\update_helper class: phpbb\install\helper\update_helper
arguments: arguments:
- %core.root_path% - '%core.root_path%'
# -------- Installer -------------------------------- # -------- Installer --------------------------------
installer.module_base: installer.module_base:
abstract: true abstract: true
calls: calls:
- [setup, [@installer.helper.config, @installer.helper.iohandler]] - [setup, ['@installer.helper.config', '@installer.helper.iohandler']]
installer.installer.abstract: installer.installer.abstract:
class: phpbb\install\installer class: phpbb\install\installer
abstract: true abstract: true
arguments: arguments:
- @cache.driver - '@cache.driver'
- @installer.helper.config - '@installer.helper.config'
- @path_helper - '@path_helper'
installer.install.module_collection: installer.install.module_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: installer_install_module } - { name: service_collection, tag: installer_install_module }
installer.update.module_collection: installer.update.module_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: installer_update_module } - { name: service_collection, tag: installer_update_module }
installer.installer.install: installer.installer.install:
parent: installer.installer.abstract parent: installer.installer.abstract
calls: calls:
- [set_modules, [@installer.install.module_collection]] - [set_modules, ['@installer.install.module_collection']]
installer.installer.update: installer.installer.update:
parent: installer.installer.abstract parent: installer.installer.abstract
calls: calls:
- [set_modules, [@installer.update.module_collection]] - [set_modules, ['@installer.update.module_collection']]

View file

@ -2,19 +2,19 @@ services:
installer.update_database.update_task: installer.update_database.update_task:
class: phpbb\install\module\update_database\task\update class: phpbb\install\module\update_database\task\update
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @filesystem - '@filesystem'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @language - '@language'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: update_database_task, order: 10 } - { name: update_database_task, order: 10 }
installer.module.update_database_collection: installer.module.update_database_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: update_database_task, class_name_aware: true } - { name: service_collection, tag: update_database_task, class_name_aware: true }
@ -22,7 +22,7 @@ services:
class: phpbb\install\module\update_database\module class: phpbb\install\module\update_database\module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.update_database_collection - '@installer.module.update_database_collection'
- true - true
- false - false
tags: tags:

View file

@ -2,62 +2,62 @@ services:
installer.update_filesystem.check_task: installer.update_filesystem.check_task:
class: phpbb\install\module\update_filesystem\task\file_check class: phpbb\install\module\update_filesystem\task\file_check
arguments: arguments:
- @filesystem - '@filesystem'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: update_filesystem, order: 10 } - { name: update_filesystem, order: 10 }
installer.update_filesystem.diff_files: installer.update_filesystem.diff_files:
class: phpbb\install\module\update_filesystem\task\diff_files class: phpbb\install\module\update_filesystem\task\diff_files
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: update_filesystem, order: 20 } - { name: update_filesystem, order: 20 }
installer.update_filesystem.show_file_status: installer.update_filesystem.show_file_status:
class: phpbb\install\module\update_filesystem\task\show_file_status class: phpbb\install\module\update_filesystem\task\show_file_status
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @filesystem - '@filesystem'
- @installer.file_updater.factory - '@installer.file_updater.factory'
tags: tags:
- { name: update_filesystem, order: 30 } - { name: update_filesystem, order: 30 }
installer.update_filesystem.update_files: installer.update_filesystem.update_files:
class: phpbb\install\module\update_filesystem\task\update_files class: phpbb\install\module\update_filesystem\task\update_files
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.file_updater.factory - '@installer.file_updater.factory'
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
tags: tags:
- { name: update_filesystem, order: 40 } - { name: update_filesystem, order: 40 }
installer.update_filesystem.download_updated_files: installer.update_filesystem.download_updated_files:
class: phpbb\install\module\update_filesystem\task\download_updated_files class: phpbb\install\module\update_filesystem\task\download_updated_files
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @filesystem - '@filesystem'
tags: tags:
- { name: update_filesystem, order: 50 } - { name: update_filesystem, order: 50 }
installer.module.update_filesystem_collection: installer.module.update_filesystem_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: update_filesystem, class_name_aware: true } - { name: service_collection, tag: update_filesystem, class_name_aware: true }
@ -65,7 +65,7 @@ services:
class: phpbb\install\module\update_filesystem\module class: phpbb\install\module\update_filesystem\module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.update_filesystem_collection - '@installer.module.update_filesystem_collection'
- true - true
- false - false
tags: tags:

View file

@ -2,43 +2,43 @@ services:
installer.obtain_data.update_options: installer.obtain_data.update_options:
class: phpbb\install\module\obtain_data\task\obtain_update_settings class: phpbb\install\module\obtain_data\task\obtain_update_settings
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: update_obtain_data, order: 10 } - { name: update_obtain_data, order: 10 }
installer.obtain_data.file_updater_method: installer.obtain_data.file_updater_method:
class: phpbb\install\module\obtain_data\task\obtain_file_updater_method class: phpbb\install\module\obtain_data\task\obtain_file_updater_method
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
tags: tags:
- { name: update_obtain_data, order: 20 } - { name: update_obtain_data, order: 20 }
installer.obtain_data.update_files: installer.obtain_data.update_files:
class: phpbb\install\module\obtain_data\task\obtain_update_files class: phpbb\install\module\obtain_data\task\obtain_update_files
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: update_obtain_data, order: 30 } - { name: update_obtain_data, order: 30 }
installer.obtain_data.update_ftp_settings: installer.obtain_data.update_ftp_settings:
class: phpbb\install\module\obtain_data\task\obtain_update_ftp_data class: phpbb\install\module\obtain_data\task\obtain_update_ftp_data
arguments: arguments:
- @installer.helper.config - '@installer.helper.config'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: update_obtain_data, order: 40 } - { name: update_obtain_data, order: 40 }
installer.module.update_obtain_data_collection: installer.module.update_obtain_data_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: update_obtain_data, class_name_aware: true } - { name: service_collection, tag: update_obtain_data, class_name_aware: true }
@ -46,7 +46,7 @@ services:
class: phpbb\install\module\obtain_data\update_module class: phpbb\install\module\obtain_data\update_module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.update_obtain_data_collection - '@installer.module.update_obtain_data_collection'
- true - true
- false - false
tags: tags:

View file

@ -2,10 +2,10 @@ services:
installer.requirements.check_filesystem_update: installer.requirements.check_filesystem_update:
class: phpbb\install\module\requirements\task\check_filesystem class: phpbb\install\module\requirements\task\check_filesystem
arguments: arguments:
- @filesystem - '@filesystem'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
- false - false
tags: tags:
- { name: update_requirements, order: 10 } - { name: update_requirements, order: 10 }
@ -13,19 +13,19 @@ services:
installer.requirements.update_requirements: installer.requirements.update_requirements:
class: phpbb\install\module\requirements\task\check_update class: phpbb\install\module\requirements\task\check_update
arguments: arguments:
- @installer.helper.container_factory - '@installer.helper.container_factory'
- @filesystem - '@filesystem'
- @installer.helper.iohandler - '@installer.helper.iohandler'
- @installer.helper.update_helper - '@installer.helper.update_helper'
- %core.root_path% - '%core.root_path%'
- %core.php_ext% - '%core.php_ext%'
tags: tags:
- { name: update_requirements, order: 30 } - { name: update_requirements, order: 30 }
installer.module.update_requirements_collection: installer.module.update_requirements_collection:
class: phpbb\di\ordered_service_collection class: phpbb\di\ordered_service_collection
arguments: arguments:
- @service_container - '@service_container'
tags: tags:
- { name: service_collection, tag: update_requirements, class_name_aware: true } - { name: service_collection, tag: update_requirements, class_name_aware: true }
@ -33,7 +33,7 @@ services:
class: phpbb\install\module\requirements\update_module class: phpbb\install\module\requirements\update_module
parent: installer.module_base parent: installer.module_base
arguments: arguments:
- @installer.module.update_requirements_collection - '@installer.module.update_requirements_collection'
- true - true
- false - false
tags: tags:

View file

@ -1,2 +1,2 @@
core.default: core.default:
resource: "installer.yml" resource: installer.yml

View file

@ -2,19 +2,19 @@ phpbb_installer_index:
path: / path: /
defaults: defaults:
_controller: phpbb.installer.controller.welcome:handle _controller: phpbb.installer.controller.welcome:handle
mode: "intro" mode: 'intro'
phpbb_installer_license: phpbb_installer_license:
path: /license path: /license
defaults: defaults:
_controller: phpbb.installer.controller.welcome:handle _controller: phpbb.installer.controller.welcome:handle
mode: "license" mode: 'license'
phpbb_installer_support: phpbb_installer_support:
path: /support path: /support
defaults: defaults:
_controller: phpbb.installer.controller.welcome:handle _controller: phpbb.installer.controller.welcome:handle
mode: "support" mode: 'support'
phpbb_installer_install: phpbb_installer_install:
path: /install path: /install

View file

@ -1,2 +1,2 @@
core.default: core.default:
resource: "../../default/routing/routing.yml" resource: ../../default/routing/routing.yml

View file

@ -1,2 +1,2 @@
core.default: core.default:
resource: "../../default/routing/routing.yml" resource: ../../default/routing/routing.yml