phpcr / phpcr-shell

PHPCR Shell
MIT License
69 stars 19 forks source link

Fix namespace error in composer 2 #207

Closed alexander-schranz closed 3 years ago

alexander-schranz commented 3 years ago

composer dump-autoload --optimize will warn with:

Class Validator located in ./vendor/phpcr/phpcr-shell/src/PHPCR/Shell/Query/Validator.php does not comply with psr-0 autoloading standard. Skipping.
dantleech commented 3 years ago

Thanks @alexander-schranz

alexander-schranz commented 3 years ago

@dantleech thx for merging. Possible to backport this to the 1.1.x version to avoid warnings for older symfony versions also?

dantleech commented 3 years ago

is there any reason for consumers not to use 1.2?

alexander-schranz commented 3 years ago

@dantleech 1.2 requires symfony 5 and if a project requires an older version of symfony like when having sulu 1.6 or 2.0 you will get still this warnings as there 1.1.x will be installed.

dantleech commented 3 years ago

Tagged 1.1.2 and 1.2.1

alexander-schranz commented 3 years ago

@dantleech Thank you! 🎉 🍻

Thank you