[jira] [Updated] (NETBEANS-2149) Space-Formatting of == and === in PHP does not match "Binary Operators"

2019-08-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-2149:
-
Labels: pull-request-available  (was: )

> 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
>  Components: php - Formatting & Indentation
>Affects Versions: 10.0, 11.1
>Reporter: Manuel Bohninger
>Assignee: Junichi Yamamoto
>Priority: Trivial
>  Labels: pull-request-available
>
> 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
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2149) Space-Formatting of == and === in PHP does not match "Binary Operators"

2019-08-15 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomáš Procházka updated NETBEANS-2149:
--
Affects Version/s: 11.1
  Component/s: php - Formatting & Indentation

> 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
>  Components: php - Formatting & Indentation
>Affects Versions: 10.0, 11.1
>Reporter: Manuel Bohninger
>Priority: Trivial
>
> 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.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists