Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | protected function execute(InputInterface $input, OutputInterface $output) |
||
40 | { |
||
41 | $manager = new Manager(Manifest::loadFile(self::MANIFEST_FILE_URL)); |
||
42 | $previousVersion = $this->getApplication()->getVersion(); |
||
43 | |||
44 | if($manager->update($this->getApplication()->getVersion(), true)) { |
||
45 | $output->writeln("<fg=black;bg=green>Application was successfully updated from {$previousVersion} to {$manager->getManifest()->findRecent(Version::create($previousVersion))->getVersion()->__toString()}</>"); |
||
46 | } else { |
||
47 | $output->writeln("<fg=black;bg=green>Application is up-to-date ({$previousVersion})</>"); |
||
48 | } |
||
50 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths