@@ -7,14 +7,14 @@ discard block |
||
7 | 7 | |
8 | 8 | add('recipes', ['typo3']); |
9 | 9 | |
10 | -set('composer_config', function () { |
|
10 | +set('composer_config', function() { |
|
11 | 11 | return json_decode(file_get_contents('./composer.json'), true, 512, JSON_THROW_ON_ERROR); |
12 | 12 | }); |
13 | 13 | |
14 | 14 | /** |
15 | 15 | * DocumentRoot / WebRoot for the TYPO3 installation |
16 | 16 | */ |
17 | -set('typo3/public_dir', function () { |
|
17 | +set('typo3/public_dir', function() { |
|
18 | 18 | $composerConfig = get('composer_config'); |
19 | 19 | |
20 | 20 | if ($composerConfig['extra']['typo3/cms']['web-dir'] ?? false) { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | /** |
28 | 28 | * Path to TYPO3 cli |
29 | 29 | */ |
30 | -set('bin/typo3', function () { |
|
30 | +set('bin/typo3', function() { |
|
31 | 31 | $composerConfig = get('composer_config'); |
32 | 32 | |
33 | 33 | if ($composerConfig['config']['bin-dir'] ?? false) { |
@@ -87,11 +87,11 @@ discard block |
||
87 | 87 | */ |
88 | 88 | set('use_rsync', false); |
89 | 89 | |
90 | -set('update_code_task', function () { |
|
90 | +set('update_code_task', function() { |
|
91 | 91 | return get('use_rsync') ? 'rsync' : 'deploy:update_code'; |
92 | 92 | }); |
93 | 93 | |
94 | -task('typo3:update_code', function () { |
|
94 | +task('typo3:update_code', function() { |
|
95 | 95 | invoke(get('update_code_task')); |
96 | 96 | }); |
97 | 97 | |
@@ -130,22 +130,22 @@ discard block |
||
130 | 130 | |
131 | 131 | |
132 | 132 | desc('TYPO3 - Clear all caches'); |
133 | -task('typo3:cache:flush', function () { |
|
133 | +task('typo3:cache:flush', function() { |
|
134 | 134 | run('{{bin/php}} {{release_path}}/public/typo3 cache:flush '); |
135 | 135 | }); |
136 | 136 | |
137 | 137 | desc('TYPO3 - Cache warmup for system caches'); |
138 | -task('typo3:cache:warmup', function () { |
|
138 | +task('typo3:cache:warmup', function() { |
|
139 | 139 | run('{{bin/php}} {{release_path}}/public/typo3 cache:warmup --group system'); |
140 | 140 | }); |
141 | 141 | |
142 | 142 | desc('TYPO3 - Update the language files of all activated extensions'); |
143 | -task('typo3:language:update', function () { |
|
143 | +task('typo3:language:update', function() { |
|
144 | 144 | run('{{bin/php}} {{release_path}}/public/typo3 language:update'); |
145 | 145 | }); |
146 | 146 | |
147 | 147 | desc('TYPO3 - Set up all extensions'); |
148 | -task('typo3:extension:setup', function () { |
|
148 | +task('typo3:extension:setup', function() { |
|
149 | 149 | run('{{bin/php}} {{release_path}}/public/typo3 extension:setup'); |
150 | 150 | }); |
151 | 151 |