Skip to content
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

Can multiple directories be passed to phpcpd task? #696

Closed
ghost opened this issue Nov 7, 2019 · 1 comment
Closed

Can multiple directories be passed to phpcpd task? #696

ghost opened this issue Nov 7, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 7, 2019

I'm using version 0.14.3 of grumphp.

I'm wondering if it's possible to pass multiple directories to the phpcpd task.

My task is configured as follows:

tasks:
  phpcpd:
    directory: src/foo src/bar
    triggered_by:
      - php

But when I run grumphp, I get the following result:

The "src/foo src/bar" directory does not exist.

When I execute the following command via the command line, it correctly checks both directories:

vendor/sebastian/phpcpd/phpcpd src/foo src/bar
@veewee
Copy link
Contributor

veewee commented Nov 8, 2019

Fixed in #697

@veewee veewee closed this as completed Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant