aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/installer/container/services_update_requirements.yml
blob: 6b851de78b3889abb32500e61c22141decaab47a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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%'
            - false
        tags:
            - { name: update_requirements, order: 10 }

    installer.requirements.update_requirements:
        class: phpbb\install\module\requirements\task\check_update
        arguments:
            - '@installer.helper.container_factory'
            - '@filesystem'
            - '@installer.helper.config'
            - '@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'
        tags:
            - { name: service_collection, tag: update_requirements, class_name_aware: true }

    installer.module.requirements_update:
        class: phpbb\install\module\requirements\update_module
        parent: installer.module_base
        arguments:
            - '@installer.module.update_requirements_collection'
            - true
            - false
        tags:
            - { name: installer_update_module, order: 10 }