Total Complexity | 7 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Terminal |
||
9 | { |
||
10 | |||
11 | const TTY_DIM_COMMAND_0 = 'stty size'; |
||
12 | const TTY_DIM_COMMAND_1 = 'stty -a | grep rows'; |
||
13 | const _S = ' '; |
||
14 | |||
15 | /** |
||
16 | * terminal dimensions |
||
17 | * |
||
18 | * @var Dimensions |
||
19 | */ |
||
20 | protected $dimensions; |
||
21 | |||
22 | /** |
||
23 | * instanciate |
||
24 | */ |
||
25 | public function __construct() |
||
26 | { |
||
27 | $this->setDimensions(); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * setDimensions |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | protected function setDimensions(): Terminal |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * return true if microsoft platform |
||
65 | * |
||
66 | * @return boolean |
||
67 | */ |
||
68 | protected function isWindows(): bool |
||
73 |
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