Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Notifier] Remove PHPUnit configuration files from components without tests #39335

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 5, 2020

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Dec 5, 2020

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

@carsonbot carsonbot added this to the 5.1 milestone Dec 5, 2020
@carsonbot carsonbot changed the title Remove PHPUnit configuration files from components without tests [Notifier] Remove PHPUnit configuration files from components without tests Dec 5, 2020
@fabpot
Copy link
Member

fabpot commented Dec 5, 2020

Thank you @derrabus.

@fabpot fabpot merged commit 3eb73ef into symfony:5.1 Dec 5, 2020
@derrabus derrabus deleted the bugfix/no-tests branch December 5, 2020 17:11
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.
@wouterj
Copy link
Member

wouterj commented Dec 5, 2020

👍 thank you @derrabus !

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.