Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function runActualTask($params = []): ?string |
||
34 | { |
||
35 | if ($this->mu()->getIsProjectUpgrade()) { |
||
36 | $newFolder = $this->mu()->getWebRootDirLocation() . '/' . $this->publicFolderName; |
||
37 | FileSystemFixes::inst($this->mu()) |
||
38 | ->mkDir($newFolder); |
||
39 | |||
40 | $this->mu()->execMe( |
||
41 | $newFolder, |
||
42 | 'echo \'hello world\' >> hello-world.html', |
||
43 | 'adding public test file', |
||
44 | false |
||
45 | ); |
||
46 | } |
||
47 | return null; |
||
48 | } |
||
55 |