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

[PhpUnitBridge] Fixed PHPunit 9.5 compatibility #39331

Merged
merged 1 commit into from
Dec 5, 2020

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Dec 5, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #39329
License MIT
Doc PR -

Let's see if this works 🍀

#SymfonyHackday

@carsonbot carsonbot added this to the 4.4 milestone Dec 5, 2020
@carsonbot carsonbot changed the title [PhpunitBridge] Fixed PHPunit 9.5 compatibility [PhpUnitBridge] [PhpunitBridge] Fixed PHPunit 9.5 compatibility Dec 5, 2020
@wouterj wouterj force-pushed the issue-39329/phpunit-9.5 branch from ae8f296 to 1bff367 Compare December 5, 2020 14:43
@wouterj wouterj requested a review from chalasr as a code owner December 5, 2020 14:43
@wouterj wouterj force-pushed the issue-39329/phpunit-9.5 branch from 1bff367 to 4d3e321 Compare December 5, 2020 15:07
@derrabus derrabus changed the title [PhpUnitBridge] [PhpunitBridge] Fixed PHPunit 9.5 compatibility [PhpUnitBridge] Fixed PHPunit 9.5 compatibility Dec 5, 2020
@wouterj wouterj force-pushed the issue-39329/phpunit-9.5 branch from 4d3e321 to 5134de5 Compare December 5, 2020 15:15
@fabpot
Copy link
Member

fabpot commented Dec 5, 2020

Thank you @wouterj.

@fabpot fabpot merged commit 9354958 into symfony:4.4 Dec 5, 2020
fabpot added a commit that referenced this pull request Dec 5, 2020
…nents without tests (derrabus)

This PR was merged into the 5.1 branch.

Discussion
----------

[Notifier] Remove PHPUnit configuration files from components without tests

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Follows #39331 by @wouterj.

PHPUnit 9.5 fails if we look for tests in directories that do not exist. This is very reasonable behavior, imho.

However, we do have some bridges in the Notifier component that don't provide any tests. Running PHPUnit on those bridges is pointless, which is why I'd like to remove the PHPUnit configuration from them. We can re-add the files as soon as we add tests.

#SymfonyHackday

Commits
-------

710340d Remove PHPUnit configuration files from components without tests.
derrabus added a commit that referenced this pull request Dec 5, 2020
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] Fix tests with PHPUnit 9.5

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Follow-up to #39331, #39335.

#SymfonyHackday

Commits
-------

cb66c52 [Notifier] Fix tests with PHPUnit 9.5.
This was referenced Dec 18, 2020
keradus added a commit to PHP-CS-Fixer/PHP-CS-Fixer that referenced this pull request Jan 9, 2021
This PR was merged into the 2.17 branch.

Discussion
----------

DX: unblock PHPUnit 9.5

fixed on SF: symfony/symfony#39331

Commits
-------

0080b6c DX: unblock PHPUnit 9.5
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