junichi11 opened a new pull request, #6896: URL: https://github.com/apache/netbeans/pull/6896
### Improve magic methods generation - Add `__debugInfo()` - Add parameter and return types - Add/Fix unit tests - https://www.php.net/manual/en/language.oop5.magic.php ### Generate __toString() magic method with all fields #6783 - #6783 - Add/Fix unit tests Example: ```php class Person { public string $name; private int $age; protected string $phoneNumber; private string $emailAddress; } ``` Result: ```php class Person { public string $name; private int $age; protected string $phoneNumber; private string $emailAddress; public function __toString(): string { return "Person[name=" . $this->name . ", age=" . $this->age . ", phoneNumber=" . $this->phoneNumber . ", emailAddress=" . $this->emailAddress . "]"; } } ``` -- 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
