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
Add support for PHPUnit 6, drop PHPUnit 4 #3182
Conversation
4dacac1
to
a7486f3
Compare
composer.json
Outdated
"justinrainbow/json-schema": "^5.0", | ||
"php-cs-fixer/accessible-object": "^1.0", | ||
"phpunit/phpunit": "^4.8.35 || ^5.4.3", | ||
"phpunit/phpunit": "^5.7.23 || ^6.4.3", |
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.
Sort dependencies by the way?
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.
done
28b0656
to
0f88fd6
Compare
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.
👍 Very nice!
$this->setExpectedException( | ||
\PhpCsFixer\ConfigurationException\InvalidConfigurationException::class, | ||
$this->expectException( | ||
\PhpCsFixer\ConfigurationException\InvalidConfigurationException::class |
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.
Quick note: it appears that PhpCsFixer\ConfigurationException\InvalidConfigurationException
has already been imported, so while this out of scope of the changes suggested in this PR, what do you think about simplifying the FQCN here, as well as putting the invocation on a single line?
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.
doing it in this one place is pointless, we already have a future request to import all usages like here, that would fix issue globally
@@ -5,7 +5,6 @@ clone_folder: C:\projects\php-cs-fixer | |||
|
|||
environment: | |||
matrix: | |||
- php_ver: 7.1.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.
What was wrong with this version?
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.
it was freezing on phpunit execution
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.
ref #3188
Arf, already merged, but 👍 anyway :) |
done by #3201 |
No description provided.