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

Add support for PHPUnit 6, drop PHPUnit 4 #3182

Closed
wants to merge 6 commits into from

Conversation

keradus
Copy link
Member

@keradus keradus commented Oct 28, 2017

No description provided.

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",
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@keradus keradus force-pushed the 2.7_phpunit branch 2 times, most recently from 28b0656 to 0f88fd6 Compare October 29, 2017 11:45
@keradus keradus removed the RTM Ready To Merge label Oct 31, 2017
Copy link
Member

@localheinz localheinz left a 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
Copy link
Member

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?

Copy link
Member Author

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

@keradus keradus added this to the 2.7.2 milestone Oct 31, 2017
@keradus keradus closed this in 07c6356 Oct 31, 2017
@keradus keradus deleted the 2.7_phpunit branch October 31, 2017 21:23
@@ -5,7 +5,6 @@ clone_folder: C:\projects\php-cs-fixer

environment:
matrix:
- php_ver: 7.1.2
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref #3188

@julienfalque
Copy link
Member

Arf, already merged, but 👍 anyway :)

@keradus
Copy link
Member Author

keradus commented Nov 3, 2017

done by #3201

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

Successfully merging this pull request may close these issues.

None yet

5 participants