1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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