Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
10.0, 11.1
Description
When formatting code the current release does not interpret == or === as a binary operator, but as an assignment Operator instead.
Autoformatting the following code:
$a=$b==$c;
$a=$b===$c;
With Spaces around "Binary Operators" only results in:
$a=$b== $c;
$a=$b=== $c;
Expected behavior would be:
$a=$b == $c;
$a=$b === $c;
Adding "Assignment Operators" results in:
$a = $b == $c;
$a = $b === $c;
Attachments
Issue Links
- links to