Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public function optionVersion() |
||
35 | { |
||
36 | if (property_exists($this, 'version')) { |
||
37 | if ( ! empty($this->version)) { |
||
38 | output()->write( |
||
|
|||
39 | (new Format()) |
||
40 | ->setString($this->name . ' v' . $this->version . ' Copyright (c) 2011 - ' . date('Y') . ' Steeve Andrian Salim') |
||
41 | ->setNewLinesAfter(1) |
||
42 | ); |
||
43 | |||
44 | output()->write( |
||
45 | (new Format()) |
||
46 | ->setIndent(2) |
||
47 | ->setString('this framework is trademark of Steeve Andrian Salim') |
||
48 | ->setNewLinesAfter(1) |
||
49 | ); |
||
53 | } |
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.