| 1 | <?php |
||
| 10 | class JsEmbedment extends AEmbedment |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Real constructor |
||
| 14 | */ |
||
| 15 | protected function construct() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Parsing line. |
||
| 22 | * |
||
| 23 | * @access public |
||
| 24 | * |
||
| 25 | * @param \Htsl\ReadingBuffer\Line $line |
||
| 26 | * |
||
| 27 | * @return \Htsl\Embedment\Contracts |
||
| 28 | */ |
||
| 29 | public function parseLine( Line$line ):parent |
||
| 34 | } |
||
| 35 |
This check looks for improperly formatted assignments.
Every assignment must have exactly one space before and one space after the equals operator.
To illustrate:
will have no issues, while
will report issues in lines 1 and 2.