Skip to content

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Dec 19, 2016

Q A
Branch? 2.7
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Let's do it.

@fabpot fabpot merged commit 71d059c into symfony:2.7 Dec 19, 2016
fabpot added a commit that referenced this pull request Dec 19, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

fixed obsolete getMock() usage

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Let's do it.

Commits
-------

71d059c fixed obsolete getMock() usage
@hugohenrique
Copy link
Contributor

hugohenrique commented Dec 19, 2016

Why not? $this->createMock()

@xabbuh
Copy link
Member

xabbuh commented Dec 19, 2016

@hugohenrique createMock() is only available in PHPUnit >= 5.4, but we need older versions to run the testsuite with PHP < 5.6.

@fabpot
Copy link
Member Author

fabpot commented Dec 19, 2016

And to be honest, I prefer to use the same way everywhere.

@stof
Copy link
Member

stof commented Dec 20, 2016

hurray for it. We will be able to upgrade simple-phpunit to use a more recent version of PHPUnit 5.x then

@nicolas-grekas
Copy link
Member

The same PR needs to be submitted against 2.8 now, then etc up to master :)

@fabpot
Copy link
Member Author

fabpot commented Dec 20, 2016 via email

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.

6 participants