aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/installer/container/services_update_filesystem.yml
blob: 2882df4294fc1f11ab970331c467efcfb2bbb6b4 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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%
        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%
        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
        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%
        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
        tags:
            - { name: update_filesystem, order: 50 }

    installer.module.update_filesystem_collection:
        class: phpbb\di\ordered_service_collection
        arguments:
            - @service_container
        tags:
            - { name: service_collection, tag: update_filesystem, class_name_aware: true }

    installer.module.filesystem_update:
        class: phpbb\install\module\update_filesystem\module
        parent: installer.module_base
        arguments:
            - @installer.module.update_filesystem_collection
            - true
            - false
        tags:
            - { name: installer_update_module, order: 30 }