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

Infection config generator fails to handle multiple ignored directories #580

Closed
sanmai opened this issue Nov 26, 2018 · 0 comments
Closed
Labels
Milestone

Comments

@sanmai
Copy link
Member

sanmai commented Nov 26, 2018

Question Answer
Infection version dccbf01 (current master)
Test Framework version PHPUnit 5.7.27
PHP version PHP 7.2.9-1
Platform Linux
Github Repo https://github.com/pear/OLE

When excluding multiple directories, Infection generates a broken configuration which fails to pass Infection's own checks.

Any directories to exclude from within your source directories?: build
Any directories to exclude from within your source directories?: vendor
Any directories to exclude from within your source directories?: tests
Any directories to exclude from within your source directories?: coverage
Any directories to exclude from within your source directories?: 

Gets you:

"excludes": {
    "0": "vendor",
    "1": "tests",
    "2": "build",
    "5": "coverage"
}

#576 and #577 are related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants