| 1 | <?php |
||
| 8 | class DeleteImageSizesResourceCommand implements ResourceCommandInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var ResourceImageDOInterface |
||
| 12 | */ |
||
| 13 | protected $resourceDO; |
||
| 14 | /** |
||
| 15 | * @var FilesystemInterface |
||
| 16 | */ |
||
| 17 | protected $filesystem; |
||
| 18 | |||
| 19 | 3 | public function __construct(ResourceImageDOInterface $resourceDO, FilesystemInterface $filesystem) |
|
| 24 | |||
| 25 | 3 | public function __invoke() |
|
| 29 | |||
| 30 | 3 | protected function execute() |
|
| 52 | } |
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.