1 | <?php |
||
17 | class Class_Method_Deprecated extends PersistentListItem implements Invocation_Warner { |
||
18 | /** |
||
19 | * Old declaration. |
||
20 | * |
||
21 | * @var object |
||
22 | */ |
||
23 | public $old_declaration; |
||
24 | /** |
||
25 | * New declaration. |
||
26 | * |
||
27 | * @var object |
||
28 | */ |
||
29 | public $new_declaration; |
||
30 | |||
31 | /** |
||
32 | * Class_Method_Deprecated constructor. |
||
33 | * |
||
34 | * @param object $old_declaration Old declaration. |
||
35 | * @param object $new_declaration New declaration. |
||
36 | */ |
||
37 | public function __construct( $old_declaration, $new_declaration ) { |
||
41 | |||
42 | /** |
||
43 | * Return array of declaration items. |
||
44 | * |
||
45 | * @return array |
||
46 | */ |
||
47 | public function to_csv_array() { |
||
55 | |||
56 | /** |
||
57 | * Returns type of issue. |
||
58 | * |
||
59 | * @return string 'method_deprecated' |
||
60 | */ |
||
61 | public function type() { |
||
64 | |||
65 | /** |
||
66 | * Display name of issue. |
||
67 | * |
||
68 | * @return string |
||
69 | */ |
||
70 | public function display_name() { |
||
73 | |||
74 | /** |
||
75 | * Find warnings. |
||
76 | * |
||
77 | * @param object $invocation Invocation. |
||
78 | * @param object $warnings Warnings. |
||
79 | */ |
||
80 | public function find_invocation_warnings( $invocation, $warnings ) { |
||
87 | } |
||
88 |