Open luckyraul opened 1 month ago
Apache NetBeans 22
Netbeans shows warning - PSR-4 Violation. Namespace declaration doesn't correspond to current directory structure
PSR-4 Violation. Namespace declaration doesn't correspond to current directory structure
php
My composer.json
composer.json
"autoload": { "psr-4": { "Vendor\\Package\\": "src/" } },
and src/Package.php
src/Package.php
<?php namespace Vendor\Package; class Package { }
No / Don't know
MacOS
20
Apache NetBeans provided installer
No response
No
AFAIR, this(composer.json) is not supported yet.
cc: @KacerCZ
Apache NetBeans version
Apache NetBeans 22
What happened
Netbeans shows warning -
PSR-4 Violation. Namespace declaration doesn't correspond to current directory structure
Language / Project Type / NetBeans Component
php
How to reproduce
My
composer.json
and
src/Package.php
Did this work correctly in an earlier version?
No / Don't know
Operating System
MacOS
JDK
20
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No