[jira] [Commented] (NETBEANS-5523) False positive on using "Require" in namespace
[ https://issues.apache.org/jira/browse/NETBEANS-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17432348#comment-17432348 ] Junichi Yamamoto commented on NETBEANS-5523: Thanks. > False positive on using "Require" in namespace > -- > > Key: NETBEANS-5523 > URL: https://issues.apache.org/jira/browse/NETBEANS-5523 > Project: NetBeans > Issue Type: Wish > Components: php - Editor >Affects Versions: Next > Environment: Apache NetBeans IDE DEV (Build > dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8) >Reporter: Jayce >Assignee: Junichi Yamamoto >Priority: Trivial > Attachments: NetbeansWrong.png > > > Hi, > This line is correct: > {code:java} > namespace \Foo\Bar\Require; > {code} > Netbeans report it as a syntax error. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-5523) False positive on using "Require" in namespace
[ https://issues.apache.org/jira/browse/NETBEANS-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17432346#comment-17432346 ] Jayce commented on NETBEANS-5523: - i think it's this RFC: https://wiki.php.net/rfc/namespaced_names_as_token > False positive on using "Require" in namespace > -- > > Key: NETBEANS-5523 > URL: https://issues.apache.org/jira/browse/NETBEANS-5523 > Project: NetBeans > Issue Type: Wish > Components: php - Editor >Affects Versions: Next > Environment: Apache NetBeans IDE DEV (Build > dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8) >Reporter: Jayce >Assignee: Junichi Yamamoto >Priority: Trivial > Attachments: NetbeansWrong.png > > > Hi, > This line is correct: > {code:java} > namespace \Foo\Bar\Require; > {code} > Netbeans report it as a syntax error. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-5523) False positive on using "Require" in namespace
[ https://issues.apache.org/jira/browse/NETBEANS-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17432330#comment-17432330 ] Junichi Yamamoto commented on NETBEANS-5523: > It IS correct, I know it. It is implemented in PHP 8.0. (It is invalid in PHP 7.4 or older.) There should be documentation somewhere (e.g. rfc, PHP manual). So I asked you (Do you know where to find the documentation about it?) If you know it, please tell me. If you don't know, I'll look for it later. > False positive on using "Require" in namespace > -- > > Key: NETBEANS-5523 > URL: https://issues.apache.org/jira/browse/NETBEANS-5523 > Project: NetBeans > Issue Type: Wish > Components: php - Editor >Affects Versions: Next > Environment: Apache NetBeans IDE DEV (Build > dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8) >Reporter: Jayce >Assignee: Junichi Yamamoto >Priority: Trivial > Attachments: NetbeansWrong.png > > > Hi, > This line is correct: > {code:java} > namespace \Foo\Bar\Require; > {code} > Netbeans report it as a syntax error. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-5523) False positive on using "Require" in namespace
[ https://issues.apache.org/jira/browse/NETBEANS-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17432318#comment-17432318 ] Jayce commented on NETBEANS-5523: - That's what i said. It IS correct, but Netbeans falsely report it as incorrect, see screenshot attached > False positive on using "Require" in namespace > -- > > Key: NETBEANS-5523 > URL: https://issues.apache.org/jira/browse/NETBEANS-5523 > Project: NetBeans > Issue Type: Wish > Components: php - Editor >Affects Versions: Next > Environment: Apache NetBeans IDE DEV (Build > dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8) >Reporter: Jayce >Assignee: Junichi Yamamoto >Priority: Trivial > Attachments: NetbeansWrong.png > > > Hi, > This line is correct: > {code:java} > namespace \Foo\Bar\Require; > {code} > Netbeans report it as a syntax error. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-5523) False positive on using "Require" in namespace
[ https://issues.apache.org/jira/browse/NETBEANS-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17432218#comment-17432218 ] Junichi Yamamoto commented on NETBEANS-5523: It seems to be valid in PHP 8.0. Do you know where to find the documentation about it? > False positive on using "Require" in namespace > -- > > Key: NETBEANS-5523 > URL: https://issues.apache.org/jira/browse/NETBEANS-5523 > Project: NetBeans > Issue Type: Wish > Components: php - Editor >Affects Versions: Next > Environment: Apache NetBeans IDE DEV (Build > dev-decaf3341a9ce6147e26557e8a09fbf8a4cfc2f8) >Reporter: Jayce >Assignee: Junichi Yamamoto >Priority: Trivial > > Hi, > This line is correct: > {code:java} > namespace \Foo\Bar\Require; > {code} > Netbeans report it as a syntax error. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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