-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
Error running tests while trying to start contribuiting on the project #813
Comments
More info: Before I've ran phpunit, I've ran
|
Upgrade to at least PHP 7.4 to contribute. Also, your PHPUnit seems out of date when running the tests, but that blame goes to the documentation that is not explicitly specifying you are supposed to run the phpunit version installed via Composer. So running it would require |
Oh! thanks SvenRtbg for your research & reply!! I've updated to PHP 7.4 and currently phpunit works just fine. BUT, all this errors when running php unit appears to be from broken tests, ¿is this normal or is my environment still a little broken?
|
You are still using that old PHPUnit version.
|
Oh, Accidentally I've posted the old call, but later I've fixed it, see again that the prompt says I'm using PHPUnit 9.5.20 instead of my original PHPUnit 7.1.5 but some errors still appear |
The output states:
Is that normal? |
That is weird that you got an error, seems like a failure you can ignore (sadly, I have no explanation). All the other (skipped and warning) are OK. |
The error message states there is an issue when moving a file. If write permissions are ok, maybe the length of the path or filename is a problem on your particular filesystem.
|
UPD. nevermind, root of problem was in windows line separator It seems the problem with tests still exists, but I have more errors here on the fresh project master branch. WSL2, PHP8.1
|
Hi! I have read the documentation for contribuiting https://php-di.org/contributing.html and followed them step-by-step, but I've stall at the "Run tests" part.
Because when I ran phpunit, this errror arises:
The text was updated successfully, but these errors were encountered: