| 1 | <?php  | 
            ||
| 12 | class FirebaseGenerator implements GeneratorInterface  | 
            ||
| 13 | { | 
            ||
| 14 | /**  | 
            ||
| 15 | * @var RequestInterface  | 
            ||
| 16 | */  | 
            ||
| 17 | protected $request;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var Configuration  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $config;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @param RequestInterface $request  | 
            ||
| 26 | * @param Configuration $config  | 
            ||
| 27 | */  | 
            ||
| 28 | 4 | public function __construct(  | 
            |
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @param array $claims  | 
            ||
| 38 | * @return string  | 
            ||
| 39 | */  | 
            ||
| 40 | 4 | public function getToken(array $claims = [])  | 
            |
| 54 | }  | 
            ||
| 55 | |||
| 56 | 
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.