| 1 | <?php |
||
| 11 | class Application extends \Symfony\Component\Console\Application |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Configuration |
||
| 15 | */ |
||
| 16 | public $configuration; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var IssuesCollector |
||
| 20 | */ |
||
| 21 | protected $issuesCollector; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var Compiler |
||
| 25 | */ |
||
| 26 | public $compiler; |
||
| 27 | |||
| 28 | const VERSION = '0.6.2'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Starts the application. |
||
| 32 | */ |
||
| 33 | 887 | public function __construct() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Returns the version as a string. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | * @codeCoverageIgnore |
||
| 51 | */ |
||
| 52 | protected function getStringVersion() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Returns CV Version. |
||
| 64 | * |
||
| 65 | * @return string|null |
||
| 66 | * @codeCoverageIgnore |
||
| 67 | */ |
||
| 68 | protected function getCVVersion() |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Get the configuration object. |
||
| 96 | * |
||
| 97 | * @return Configuration |
||
| 98 | */ |
||
| 99 | 51 | public function getConfiguration() |
|
| 103 | |||
| 104 | /** |
||
| 105 | * Get the IssuesCollector object. |
||
| 106 | * |
||
| 107 | * @return IssuesCollector |
||
| 108 | */ |
||
| 109 | 51 | public function getIssuesCollector() |
|
| 113 | } |
||
| 114 |
In PHP, under loose comparison (like
==, or!=, orswitchconditions), values of different types might be equal.For
stringvalues, the empty string''is a special case, in particular the following results might be unexpected: