| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 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(" "); |
||
| 46 | $output->writeln("<fg=black;bg=green>Application was successfully updated from {$previousVersion} to {$manager->getManifest()->findRecent(Version::create($previousVersion))->getVersion()->__toString()}</>"); |
||
| 47 | $output->writeln(" "); |
||
| 48 | } else { |
||
| 49 | $output->writeln("<fg=black;bg=green>Application is up-to-date ({$previousVersion})</>"); |
||
| 50 | } |
||
| 52 | } |
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