8000 [PhpUnitBridge] properly clean up mocked features after tests have run by xabbuh · Pull Request #60174 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[PhpUnitBridge] properly clean up mocked features after tests have run #60174

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 8000 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
Apr 8, 2025

Conversation

xabbuh
Copy link
Member
@xabbuh xabbuh commented Apr 8, 2025
Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues
License MIT

If a test has been skipped or if it errored, the mocked PHP functions must be cleaned up as well.

@carsonbot carsonbot added this to the 7.2 milestone Apr 8, 2025
@carsonbot carsonbot changed the title [PhpUnitBridge] properly clean up mocked features after tests have run [PhpUnitBridge] properly clean up mocked features after tests have run Apr 8, 2025
If a test has been skipped or if it errored, the mocked PHP functions
must be cleaned up as well.
@xabbuh xabbuh force-pushed the phpunit-bridge-mock-cleanup branch from 77d6b8a to 9757a69 Compare April 8, 2025 11:56
@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit da62118 into symfony:7.2 Apr 8, 2025
8 of 12 checks passed
@xabbuh xabbuh deleted the phpunit-bridge-mock-cleanup branch April 8, 2025 13:44
@fabpot fabpot mentioned this pull request May 2, 2025
renovate bot added a commit to Runroom/archetype-drupal that referenced this pull request May 6, 2025
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [symfony/phpunit-bridge](https://symfony.com)
([source](https://redirect.github.com/symfony/phpunit-bridge)) | `7.2.0`
-> `7.2.6` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/symfony%2fphpunit-bridge/7.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/symfony%2fphpunit-bridge/7.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/symfony%2fphpunit-bridge/7.2.0/7.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/symfony%2fphpunit-bridge/7.2.0/7.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>symfony/phpunit-bridge (symfony/phpunit-bridge)</summary>

###
[`v7.2.6`](https://redirect.github.com/symfony/phpunit-bridge/releases/tag/v7.2.6)

[Compare
Source](https://redirect.github.com/symfony/phpunit-bridge/compare/v7.2.0...v7.2.6)

**Changelog**
(symfony/phpunit-bridge@v7.2.5...v7.2.6)

- bug
[symfony/symfony#60174](https://redirect.github.com/symfony/symfony/issues/60174)
\[PhpUnitBridge] properly clean up mocked features after tests have run
([@&#8203;xabbuh](https://redirect.github.com/xabbuh))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Runroom/archetype-drupal).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
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
0