-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use composer test for php-related validations #315
Comments
I've had composer validate on my mind, and parallel-lint looks awesome. The problem here is it moves control over validation outside grunt configuration & execution. Can we parameterize the configuration used there to bridge in things done in GDT, or do you see this as a "select PHP-native mode" as a project configuration? Example use case: #310 |
We can wrap this in a compatibility mode config, but here are the parts to pay attention to:
The thing these all have in common is that grunt wants to invoke these commands. It can do them via composer perhaps instead of using the grunt-plugin, which seems pretty good to me. We will probably need to have a few different |
Coming back to this after a while, I'm not exactly sure what the best path forward here is. Having too many grunt to composer command mappings seems a bit unmaintainable, unless we can achieve it solely with grunt config... |
Over in #312 there is a partial fix for the
error that occurs when too many files exist in the project to be passed in as arguments to
phpcs
. That fix works. However, there is now a related error where that occurs for thephplint
portion ofgrunt validate:phpcs
. There isn't a workaround for that that I'm aware of.Given that, I would propose we switch to using
composer test
for php-related validations. This would look something like the following in thecomposer.json
file:this
test
script could eventually be extended to include the other components ofgrunt test
, such as phpunit and behat.The text was updated successfully, but these errors were encountered: