-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Make ClockMock Tests\\ namespace matching less specific #6546
Conversation
teohhanhui
commented
May 9, 2016
•
edited
Loading
edited
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | 2.8+ |
Fixed tickets | N/A |
Thanks @teohhanhui, it looks great this way! |
…ohhanhui) This PR was merged into the 2.8 branch. Discussion ---------- Make ClockMock Tests\\ namespace matching less specific | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.8+ | Fixed tickets | N/A Commits ------- 2d8f2ec Make ClockMock Tests\\ namespace matching less specific
…egin with Tests\\ (teohhanhui) This PR was submitted for the 2.8 branch but it was merged into the 3.2-dev branch instead (closes #18726). Discussion ---------- [PhpUnitBridge] Make ClockMock match namespaces that begin with Tests\\ | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes? | New feature? | no | BC breaks? | no? | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | symfony/symfony-docs#6546 See symfony/symfony-standard#969 Commits ------- 2630c13 [PhpUnitBridge] Make ClockMock match namespaces that begin with Tests\\
@wouterj Heads up, the related PR symfony/symfony#18726 was merged into master (3.2) so perhaps this should be reverted? |
@@ -207,10 +207,10 @@ Troubleshooting | |||
~~~~~~~~~~~~~~~ | |||
|
|||
The ``@group time-sensitive`` works "by convention" and assumes that the | |||
namespace of the tested class can be obtained just by removing the ``\Tests\`` | |||
namespace of the tested class can be obtained just by removing the ``Tests\`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teohhanhui This is the only change that must be revert, right? The fixes below are still valid if I don't miss anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
…in with Tests\\ (teohhanhui) This PR was merged into the 3.2-dev branch. Discussion ---------- [PhpUnitBridge] Make DnsMock match namespaces that begin with Tests\\ | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes? | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | symfony/symfony-docs#6546 Related to symfony/symfony-standard#969 Commits ------- d043305 [PhpUnitBridge] Make DnsMock match namespaces that begin with Tests\\