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

Make ClockMock Tests\\ namespace matching less specific #6546

Merged
merged 1 commit into from
May 13, 2016

Conversation

teohhanhui
Copy link
Contributor

@teohhanhui teohhanhui commented May 9, 2016

Q A
Doc fix? yes
New docs? no
Applies to 2.8+
Fixed tickets N/A

@wouterj
Copy link
Member

wouterj commented May 13, 2016

Thanks @teohhanhui, it looks great this way!

@wouterj wouterj merged commit 2d8f2ec into symfony:2.8 May 13, 2016
wouterj added a commit that referenced this pull request May 13, 2016
…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
nicolas-grekas added a commit to symfony/symfony that referenced this pull request May 30, 2016
…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\\
@teohhanhui
Copy link
Contributor Author

@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\``
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

nicolas-grekas added a commit to symfony/symfony that referenced this pull request Jun 3, 2016
…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\\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants