[
https://issues.apache.org/jira/browse/NETBEANS-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666632#comment-16666632
]
Junichi Yamamoto commented on NETBEANS-1552:
--------------------------------------------
I've verified that there are no PHP syntax errors in a laravel project.
My steps:
# composer global require "laravel/installer"
# laravel new laravel-app
# Create a new NetBeans PHP project with existing source (of Step2)
> Syntax error for UVS
> --------------------
>
> Key: NETBEANS-1552
> URL: https://issues.apache.org/jira/browse/NETBEANS-1552
> Project: NetBeans
> Issue Type: Bug
> Components: php - Editor
> Affects Versions: 10.0
> Reporter: Junichi Yamamoto
> Assignee: Junichi Yamamoto
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Reproducible code:
> {code:php}
> <?php
> class UVS {
> public function isTest($param): bool {
> return true;
> }
> }
> ($test = new UVS()); // no error
> $isTest = ($test = new UVS())->isTest('test'); // error
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists