qmegas opened a new issue, #7458:
URL: https://github.com/apache/netbeans/issues/7458
### Apache NetBeans version
Apache NetBeans 22
### What happened
Three standard magic methods `__debugInfo`, `__serialize` & `__unserialize`
are not known for Netbeans, so it get warning about PSR-1 violation.
### Language / Project Type / NetBeans Component
_No response_
### How to reproduce
Example class:
```php
class Foo
{
public function __debugInfo(): array
{
}
public function __serialize(): array
{
}
public function __unserialize(array $data): void
{
}
}
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 10
### JDK
v19
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
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