junichi11 commented on PR #8340:
URL: https://github.com/apache/netbeans/pull/8340#issuecomment-2728214618

   The existing tests are executed for different purposes, so we should add 
tests for this fix.
   e.g.
   
   ```php
   function noReturn() {
   }
   
   function hasReturn() {
       return "test";
   }
   
   function emptyReturn() {
       return;
   }
   
   function multipleEmptyReturns() {
       if (true) {
           return;
       }
       return;
   }
   // ... etc.
   
   class  TestClass {
       public function noReturn() {
       }
   
       // ... etc.
   }
   
   interface TestInterface {
       public function test(); // in this case, should not add?
       // ... etc.
   }
   
   abstract class AbstractClass {
       public abstract function test(int $param);
       // ... etc.
   }
   ```
   
   Please also write examples to the description(Before & After). Thanks!


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