1 | <?php |
||
8 | class PrepareTerminalWidthOption implements PrepareFormatter |
||
9 | { |
||
10 | /** var Application */ |
||
11 | protected $application; |
||
12 | |||
13 | protected $terminal; |
||
14 | |||
15 | /** var int */ |
||
16 | protected $defaultWidth; |
||
17 | |||
18 | /** var int */ |
||
19 | protected $maxWidth = PHP_INT_MAX; |
||
20 | |||
21 | /** var int */ |
||
22 | protected $minWidth = 0; |
||
23 | |||
24 | /* var boolean */ |
||
25 | protected $shouldWrap = true; |
||
26 | |||
27 | public function __construct($defaultWidth = 0) |
||
31 | |||
32 | public function setApplication(Application $application) |
||
36 | |||
37 | public function setTerminal($terminal) |
||
41 | |||
42 | public function getTerminal() |
||
49 | |||
50 | public function enableWrap($shouldWrap) |
||
54 | |||
55 | public function prepare(CommandData $commandData, FormatterOptions $options) |
||
68 | |||
69 | protected function getTerminalWidth() |
||
83 | |||
84 | protected function getTerminalWidthViaApplication() |
||
96 | |||
97 | protected function getMaxWidth(CommandData $commandData) |
||
101 | |||
102 | protected function getMinWidth(CommandData $commandData) |
||
106 | } |
||
107 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.