junichi11 opened a new issue, #7041:
URL: https://github.com/apache/netbeans/issues/7041

   ### Apache NetBeans version
   
   Apache NetBeans 20
   
   ### What happened
   
   "()" is inserted.
   i.e. 
   ```php
   use function Vendor\Package\myFunction()
   ```
   
   ### Language / Project Type / NetBeans Component
   
   PHP editor
   
   ### How to reproduce
   
   Example:
   ```php
   <?php
   namespace ExampleA;
   
   function myFunction(): void {
   }
   
   namespace ExampleB;
   
   use function ExampleA\myFunction^; // CC here
   ```
   
   Actual result:
   
   ```php
   <?php
   namespace ExampleA;
   
   function myFunction(): void {
   }
   
   namespace ExampleB;
   
   use function ExampleA\myFunction(); // "()" is added
   ```
   
   Expected result:
   
   ```php
   <?php
   namespace ExampleA;
   
   function myFunction(): void {
   }
   
   namespace ExampleB;
   
   use function ExampleA\myFunction; // "()" is not added
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu 22.04
   
   ### JDK
   
   JDK 19
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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

Reply via email to