-
Notifications
You must be signed in to change notification settings - Fork 177
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
Update PHPUnit to version 7 #5351
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests all worked
@johnsaigle PHPUnit 8.4 is the latest version |
@kongtiaowang Yes I know. I opened this PR as a way to be able to install If your PR gets merged before this one, I'll close it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the "composer update phpunit/phpunit phpunit/php-code-coverage phpunit/php-timer phpunit/php-token-stream phpunit/phpunit-mock-objects" part of the instructions.. why would devs need to manually update those after this PR?
(And more importantly, this has conflicts with composer.lock now)
@driusan I meant those are the commands I ran to create this PR. Devs don't have to run them. |
PHPunit 8.4 is not stable in Travis, I will close my PR. |
composer.json
Outdated
@@ -15,8 +15,8 @@ | |||
"bjeavons/zxcvbn-php": "^0.4" | |||
}, | |||
"require-dev" : { | |||
"squizlabs/php_codesniffer" : "3.5.1", | |||
"phpunit/phpunit" : "6.5.*", | |||
"squizlabs/php_codesniffer" : "2.9.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is PHPCS being downgraded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a rebase issue. I think this was issued before the PHPCS update. I'll change it.
I'll merge this once it passes Travis |
Brief summary of changes
Commands run
git checkout aces/major
make dev
composer update phpunit/phpunit phpunit/php-code-coverage phpunit/php-timer phpunit/php-token-stream phpunit/phpunit-mock-objects
(PHPUnit dependencies were iteratively added to the above command until composer was certain that the requirements could be satisfied.Required in order to install
phpstan
static analysis toolLinks to related tickets (GitHub, Redmine, ...)