You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Czukowski (Jira)" <ji...@apache.org> on 2019/12/12 07:19:00 UTC
[jira] [Created] (NETBEANS-3585) No syntax warnings when PHP traits
are used
Czukowski created NETBEANS-3585:
-----------------------------------
Summary: No syntax warnings when PHP traits are used
Key: NETBEANS-3585
URL: https://issues.apache.org/jira/browse/NETBEANS-3585
Project: NetBeans
Issue Type: Bug
Components: php - Code Analysis, php - Editor
Affects Versions: 11.2
Reporter: Czukowski
Attachments: TraitUsingTrait.zip
Please see the attached project consisting of only a single file.
For me, NetBeans does not produce its usual syntax warning hint (underlining with a red line) about a number of errors on the implementing class, only in a small tooltip at the bottom of the NetBeans window, where the status bar is.
In another instance (with a real code), I have a different issue of not being able to get rid of the syntax warning about not implemented abstract method, despite it being implemented in a trait (and the code actually working). In the attached project I've tried to achieve a minimal reproducible code set, with a similar dependency tree, but was unable to yet, and instead I've got no warning hint at all, not sure if this is a related or a totally different issue.
It didn't seem to do any difference between having everything in one file and having each class/interface/trait in their own files.
A tooltip in the status bar seems to be there in both cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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