djoos / Symfony-coding-standard

Development repository for the Symfony coding standard
MIT License
401 stars 102 forks source link

Bug with AssignmentSpacing and =& #166

Closed carusogabriel closed 5 years ago

carusogabriel commented 5 years ago

When using the Sniff Symfony.Whitespace.AssignmentSpacing and the operator =&, I get an error, but the code is like:

$this->foo[$bar] =& $baz['quox'];
carusogabriel commented 5 years ago

My bad, I was confusing this with +=, *=, .= :man_facepalming:

djoos commented 5 years ago

No problem, thanks @carusogabriel!