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