Closed
Description
Having $xxx->fn
in the code is reported as a T_FN
, which is wrong.
Example:
<?php
class Test {
public function foo() {
$this->fn = 'a';
}
}
$this->fn
gives
^ array:8 [
"code" => "PHPCS_T_FN"
"type" => "T_FN"
"content" => "fn"
"line" => 7
"column" => 16
"length" => 2
"level" => 2
"conditions" => array:2 [
2 => 361
11 => 346
]
]
Related issue: slevomat/coding-standard#896