{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/19129","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/19129/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19129/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/19129/events","html_url":"https://github.com/symfony/symfony/pull/19129","id":161373978,"number":19129,"title":"Avoid phpunit 5.4 warnings on getMock (master)","user":{"login":"iltar","id":1754678,"avatar_url":"https://avatars.githubusercontent.com/u/1754678?v=3","gravatar_id":"","url":"https://api.github.com/users/iltar","html_url":"https://github.com/iltar","followers_url":"https://api.github.com/users/iltar/followers","following_url":"https://api.github.com/users/iltar/following{/other_user}","gists_url":"https://api.github.com/users/iltar/gists{/gist_id}","starred_url":"https://api.github.com/users/iltar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iltar/subscriptions","organizations_url":"https://api.github.com/users/iltar/orgs","repos_url":"https://api.github.com/users/iltar/repos","events_url":"https://api.github.com/users/iltar/events{/privacy}","received_events_url":"https://api.github.com/users/iltar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-21T08:13:33Z","updated_at":"2016-06-29T19:23:19Z","closed_at":"2016-06-21T13:40:56Z","pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/19129","html_url":"https://github.com/symfony/symfony/pull/19129","diff_url":"https://github.com/symfony/symfony/pull/19129.diff","patch_url":"https://github.com/symfony/symfony/pull/19129.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | master\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #19125\r\n| License       | MIT\r\n| Doc PR        | ~\r\n\r\nAvoids calling `getMock()` in phpunit 5.4 which will trigger a warning (and thus failing test suite) when used by developers as this TestCase is an extension point.\r\n\r\n_in the other branches (opposed to #19128), this was not in the `Test` namespace yet but in `Tests`. Therefore I've only added this in the master as changed by @WouterJ in e938361cf71f78ae5affd454debfca24c31a3cd7._\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/229461082","html_url":"https://github.com/symfony/symfony/pull/19129#issuecomment-229461082","issue_url":"https://api.github.com/repos/symfony/symfony/issues/19129","id":229461082,"user":{"login":"codeinabox","id":2069958,"avatar_url":"https://avatars.githubusercontent.com/u/2069958?v=3","gravatar_id":"","url":"https://api.github.com/users/codeinabox","html_url":"https://github.com/codeinabox","followers_url":"https://api.github.com/users/codeinabox/followers","following_url":"https://api.github.com/users/codeinabox/following{/other_user}","gists_url":"https://api.github.com/users/codeinabox/gists{/gist_id}","starred_url":"https://api.github.com/users/codeinabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeinabox/subscriptions","organizations_url":"https://api.github.com/users/codeinabox/orgs","repos_url":"https://api.github.com/users/codeinabox/repos","events_url":"https://api.github.com/users/codeinabox/events{/privacy}","received_events_url":"https://api.github.com/users/codeinabox/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T19:23:19Z","updated_at":"2016-06-29T19:23:19Z","body":"I have a lot of unit tests for my forms that extend Symfony\\Component\\Form\\Test\\TypeTestCase, which results in getMock() deprecation warnings.\r\n"}}
{"actor":{"display_login":"codeinabox"}}