Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function runActualTask($params = []) |
||
27 | { |
||
28 | if ($this->mu()->getIsProjectUpgrade()) { |
||
29 | $comment = 'add license'; |
||
30 | $command = |
||
31 | 'if(! isset($data["license"])) { ' |
||
32 | . ' $data["license"] = proprietary";' |
||
33 | . '}'; |
||
34 | $this->updateJSONViaCommandLine( |
||
35 | $this->mu()->getGitRootDir(), |
||
36 | $command, |
||
37 | $comment |
||
38 | ); |
||
39 | $this->setCommitMessage('MAJOR: ' . $this->getTitle()); |
||
40 | } |
||
48 |