{"action":"created","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/206","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/206/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/206/events","html_url":"https://github.com/sebastianbergmann/phpunit-mock-objects/issues/206","id":49682748,"number":206,"title":"the exception thrown when mocking static method should have a message","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-21T10:49:07Z","updated_at":"2015-10-02T04:40:38Z","closed_at":"2015-10-02T04:40:38Z","body":"https://github.com/sebastianbergmann/phpunit-mock-objects/blob/96c5b81f9842f38fe6c73ad0020306cc4862a9e3/src/Framework/MockObject/Generator/mocked_static_method.tpl.dist is throwing an exception when a static method is mocked and called. However, no message is passed in the exception (and the exception itself does not set a default one).\r\nThis makes it quite hard to understand what goes wrong when this exception happens in a test. See https://travis-ci.org/symfony-cmf/BlockBundle/jobs/40057684#L245 for such case. There is no way to know the issue except by searching the source to find where the exception is used."},"comment":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/comments/144916129","html_url":"https://github.com/sebastianbergmann/phpunit-mock-objects/issues/206#issuecomment-144916129","issue_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/206","id":144916129,"user":{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars.githubusercontent.com/u/25218?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T04:40:38Z","updated_at":"2015-10-02T04:40:38Z","body":"Dear contributor,\r\n\r\nlet me start by apologizing for not commenting and/or working on the issue you have reported or merging the pull request you have sent sooner.\r\n\r\nPHPUnit 5.0 was released today. And today I am closing all open bug reports and pull requests for PHPUnit and its dependencies that I maintain. Please do not interpret the closing of this ticket as an insult or a lack of interest in your problem. I am sorry for any inconvenience this may cause.\r\n\r\nIf the topic of this ticket is still relevant then please open a new ticket or send a new pull request. If your ticket or pull request is about a defect then please check whether the issue still exists in PHPUnit 4.8 (which will received bug fixes until August 2016). If your ticket or pull request is about a new feature then please port your patch PHPUnit 5.0 before sending a new pull request.\r\n\r\nI hope that today's extreme backlog grooming will allow me to respond to bug reports and pull requests in a more timely manner in the future.\r\n\r\nThank you for your understanding,\r\nSebastian"}}