maglnet / ComposerRequireChecker

A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies
MIT License
901 stars 73 forks source link

[phing] Use non-deprecated XML syntax in build.xml #519

Closed fredden closed 9 months ago

fredden commented 9 months ago

While looking into the build failures in #515, I noticed that there is an upcoming major version of the phing tool. When exploring that a little further, I noticed that the current build.xml file has a mix of old and new syntax for the exec nodes. This pull request updates the syntax to be consistent with the current/new format. I didn't find an XSD to validate the XML against.

Ref: https://github.com/phingofficial/phing/issues/1252#issuecomment-582638955

I have also expanded the short flag -o to its long-format equivalent --optimize-autoloader for the composer install command, and added the --no-interaction flag.

maglnet commented 9 months ago

Thank you!