1 | <?php declare(strict_types=1); |
||
2 | /** |
||
3 | * This source file is subject to the license that is bundled with this package in the file LICENSE. |
||
4 | */ |
||
5 | |||
6 | namespace PhUml\Console; |
||
7 | |||
8 | use PhUml\Console\Commands\GenerateClassDiagramCommand; |
||
9 | use PhUml\Console\Commands\GenerateDotFileCommand; |
||
10 | use PhUml\Console\Commands\GenerateStatisticsCommand; |
||
11 | use Symfony\Component\Console\Application; |
||
0 ignored issues
–
show
|
|||
12 | |||
13 | /** |
||
14 | * Console application to generate UML class diagrams and the statistics of an OO codebase |
||
15 | * |
||
16 | * It provides 3 commands |
||
17 | * |
||
18 | * 1. `phuml:diagram` to generate a class diagram in `png` format |
||
19 | * 2. `phuml:statistics` to generate a text file with statistics |
||
20 | * 3. `phuml:dot` to generate a text file with a digraph in DOT format ready to create a class diagram |
||
21 | */ |
||
22 | final class PhUmlApplication extends Application |
||
23 | { |
||
24 | 17 | public function __construct() |
|
25 | { |
||
26 | // This will be replaced by Box with a version number if it's a PHAR, 1.6.1 for instance |
||
27 | 17 | parent::__construct('phUML', '@package_version@'); |
|
28 | 17 | $this->add(new GenerateClassDiagramCommand()); |
|
29 | 17 | $this->add(new GenerateStatisticsCommand()); |
|
30 | 17 | $this->add(new GenerateDotFileCommand()); |
|
31 | } |
||
32 | } |
||
33 |
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