| 1 | <?php |
||
| 2 | class Skill extends CModel |
||
| 3 | { |
||
| 4 | public function attributeNames() |
||
| 8 | |||
| 9 | public function updateExtended() |
||
| 26 | |||
| 27 | private function minOwnedCount() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Reads the max number of items from the database that can be used and sums their skill points. |
||
| 35 | */ |
||
| 36 | private function sumSkill($limitItems, $isBait = false) |
||
| 78 | } |
||
| 79 |
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.