Skip to content

[PhpUnitBridge] bump "php" to 7.1+ and "phpunit" to 7.5+ #39419

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
Dec 13, 2020

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 5.x
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

Now that we don't maintain any branch with PHP < 7.1, we can drop support for older PHP and phpunit versions from the bridge \o/

@derrabus
Copy link
Member

derrabus commented Dec 9, 2020

I'd really love to do that, but the bridge is also used by projects outside of the Symfony org. Those projects would be locked in on 5.2 then.

@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Dec 9, 2020

Yes, but we never promised anything past our LTS versions. Having the bridge out of sync is a pain. We need to make our lives simpler from time to time, this is now :)

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

🍾

@fabpot
Copy link
Member

fabpot commented Dec 13, 2020

Thank you @nicolas-grekas.

@fabpot fabpot merged commit e2053d0 into symfony:5.x Dec 13, 2020
@nicolas-grekas nicolas-grekas deleted the pub-php71 branch December 13, 2020 09:35
nicolas-grekas added a commit that referenced this pull request Dec 14, 2020
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[PhpUnitBridge] Restore SetUpTearDownTraitForV5

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

The class `SetUpTearDownTraitForV5` removed in #39419 is still needed when using PHPUNIT 7.5 (PHP 7.1) that does not have return type:

https://github.com/sebastianbergmann/phpunit/blob/520723129e2b3fc1dc4c0953e43c9d40e1ecb352/src/Framework/TestCase.php#L407

Commits
-------

e2198a8 [PhpUnitBridge] Restore SetUpTearDownTraitForV5
nicolas-grekas added a commit to symfony/polyfill that referenced this pull request Dec 26, 2020
This PR was merged into the 1.21-dev branch.

Discussion
----------

Bump to phpunit-bridge ^5.3

See symfony/symfony#39419

Commits
-------

8e4ffb6 Bump to phpunit-bridge ^5.3
@fabpot fabpot mentioned this pull request Apr 18, 2021
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.

7 participants