1 | <?php |
||
7 | trait Taggable |
||
8 | { |
||
9 | protected $tags = []; |
||
|
|||
10 | protected $tagLoaded = false; |
||
11 | |||
12 | /** |
||
13 | * @BeforeScenario |
||
14 | */ |
||
15 | public function storeTags($event) |
||
29 | |||
30 | protected function hasTag($name) |
||
34 | |||
35 | protected function hasTags(array $names) |
||
45 | |||
46 | protected function getTagContent($name) |
||
59 | |||
60 | protected function getTags() |
||
64 | } |
||
65 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.