Skip to content

[PhpUnitBridge] Allow configuring removed deps and phpunit versions #20256

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

Merged
merged 1 commit into from
Oct 21, 2016

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Oct 20, 2016

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets -
License MIT
Doc PR symfony/symfony-docs#7074

Allowing greater reuse of the wrapper.

@fabpot
Copy link
Member

fabpot commented Oct 20, 2016

There is probably a doc to update somewhere, right?

@@ -16,7 +16,7 @@
error_reporting(-1);

// PHPUnit 4.8 does not support PHP 7, while 5.1 requires PHP 5.6+
$PHPUNIT_VERSION = PHP_VERSION_ID >= 50600 ? '5.1' : '4.8';
Copy link
Member

Choose a reason for hiding this comment

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

I suggest using 5.3 rather than 5.1, as 5.1 is EOLed (and then, we should start working on making our testsuite compatible with 5.4+ to use supported PHPunit versions)

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated to 5.3, all good.

@nicolas-grekas
Copy link
Member Author

Just tried with phpunit 5.3, I have a failure locally.
Status: needs work

@nicolas-grekas
Copy link
Member Author

Failing test spotted, fixed in #20265
Status: needs review

@fabpot
Copy link
Member

fabpot commented Oct 21, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit fb1c5b8 into symfony:master Oct 21, 2016
fabpot added a commit that referenced this pull request Oct 21, 2016
…unit versions (nicolas-grekas)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[PhpUnitBridge] Allow configuring removed deps and phpunit versions

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | symfony/symfony-docs#7074

Allowing greater reuse of the wrapper.

Commits
-------

fb1c5b8 [PhpUnitBridge] Allow configuring removed deps and phpunit versions
@nicolas-grekas nicolas-grekas deleted the phpunit-config branch October 21, 2016 21:01
xabbuh added a commit to symfony/symfony-docs that referenced this pull request Oct 26, 2016
…iguration env vars (nicolas-grekas)

This PR was merged into the master branch.

Discussion
----------

[PhpUnitBridge] Doc for @expectedDeprecation & new configuration env vars

Related to symfony/symfony#20255 & symfony/symfony#20256

Commits
-------

a1682de [PhpUnitBridge] Doc for @expectedDeprecation & new configuration env vars
@fabpot fabpot mentioned this pull request Oct 27, 2016
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.

4 participants