You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Manuel Bohninger (JIRA)" <ji...@apache.org> on 2019/02/20 11:07:00 UTC
[jira] [Created] (NETBEANS-2149) Space-Formatting of == and === in
PHP does not match "Binary Operators"
Manuel Bohninger created NETBEANS-2149:
------------------------------------------
Summary: Space-Formatting of == and === in PHP does not match "Binary Operators"
Key: NETBEANS-2149
URL: https://issues.apache.org/jira/browse/NETBEANS-2149
Project: NetBeans
Issue Type: Bug
Affects Versions: 10.0
Reporter: Manuel Bohninger
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;
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists