-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Exclude tests from package distribution #2300
Comments
This does break the install process for anyone installing phpunit from github zipballs and attempting to install the dependencies using Composer, because of the explicit classmap reference in |
@alcohol If you think that this breaks something that should not be broken then please open a new ticket. Also note that this is not in any release yet. So if you it breaks something for you then because you are not using a stable release of PHPUnit. |
Currently if phpunit is installed as a project dependency, composer downloads it with tests and some other not necessary files. And some of the phpunit names get IDE code helpers messy
The solution is to instruct git/composer to ignore some of the files and folders by adding to
.gitattributes
a list of files/foldersThe text was updated successfully, but these errors were encountered: