1 | <?php |
||
21 | final class Application extends SymfonyApplication |
||
22 | { |
||
23 | private const LOGO = <<<'ASCII' |
||
24 | |||
25 | ____ __ ______ _____ |
||
26 | / __ \/ / / / __ \ / ___/_________ ____ ___ _____ |
||
27 | / /_/ / /_/ / /_/ / \__ \/ ___/ __ \/ __ \/ _ \/ ___/ |
||
28 | / ____/ __ / ____/ ___/ / /__/ /_/ / /_/ / __/ / |
||
29 | /_/ /_/ /_/_/ /____/\___/\____/ .___/\___/_/ |
||
30 | /_/ |
||
31 | |||
32 | |||
33 | ASCII; |
||
34 | |||
35 | private $releaseDate; |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function __construct(string $name = 'Box', string $version = null, string $releaseDate = '@release-date@') |
||
54 | |||
55 | /** |
||
56 | * @inheritdoc |
||
57 | */ |
||
58 | public function getLongVersion(): string |
||
69 | |||
70 | /** |
||
71 | * @inheritdoc |
||
72 | */ |
||
73 | public function getHelp(): string |
||
77 | } |
||
78 |
This check looks for variables that are accessed but have not been defined. It raises an issue if it finds another variable that has a similar name.
The variable may have been renamed without also renaming all references.