{"action":"created","issue":{"url":"https://api.github.com/repos/mockery/mockery/issues/850","repository_url":"https://api.github.com/repos/mockery/mockery","labels_url":"https://api.github.com/repos/mockery/mockery/issues/850/labels{/name}","comments_url":"https://api.github.com/repos/mockery/mockery/issues/850/comments","events_url":"https://api.github.com/repos/mockery/mockery/issues/850/events","html_url":"https://github.com/mockery/mockery/issues/850","id":296833933,"number":850,"title":"Mockery is not compatible with phpunit 7.0","user":{"login":"LastDragon-ru","id":1329824,"avatar_url":"https://avatars1.githubusercontent.com/u/1329824?v=4","gravatar_id":"","url":"https://api.github.com/users/LastDragon-ru","html_url":"https://github.com/LastDragon-ru","followers_url":"https://api.github.com/users/LastDragon-ru/followers","following_url":"https://api.github.com/users/LastDragon-ru/following{/other_user}","gists_url":"https://api.github.com/users/LastDragon-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/LastDragon-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LastDragon-ru/subscriptions","organizations_url":"https://api.github.com/users/LastDragon-ru/orgs","repos_url":"https://api.github.com/users/LastDragon-ru/repos","events_url":"https://api.github.com/users/LastDragon-ru/events{/privacy}","received_events_url":"https://api.github.com/users/LastDragon-ru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T18:07:18Z","updated_at":"2018-03-26T09:25:51Z","closed_at":null,"author_association":"NONE","body":"> The `PHPUnit\\Framework\\BaseTestListener` class has been removed, it was deprecated since PHPUnit 6.4. Please use the `PHPUnit\\Framework\\TestListenerDefaultImplementation instead`.\r\n"},"comment":{"url":"https://api.github.com/repos/mockery/mockery/issues/comments/376102755","html_url":"https://github.com/mockery/mockery/issues/850#issuecomment-376102755","issue_url":"https://api.github.com/repos/mockery/mockery/issues/850","id":376102755,"user":{"login":"patkoscsaba","id":1277513,"avatar_url":"https://avatars0.githubusercontent.com/u/1277513?v=4","gravatar_id":"","url":"https://api.github.com/users/patkoscsaba","html_url":"https://github.com/patkoscsaba","followers_url":"https://api.github.com/users/patkoscsaba/followers","following_url":"https://api.github.com/users/patkoscsaba/following{/other_user}","gists_url":"https://api.github.com/users/patkoscsaba/gists{/gist_id}","starred_url":"https://api.github.com/users/patkoscsaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patkoscsaba/subscriptions","organizations_url":"https://api.github.com/users/patkoscsaba/orgs","repos_url":"https://api.github.com/users/patkoscsaba/repos","events_url":"https://api.github.com/users/patkoscsaba/events{/privacy}","received_events_url":"https://api.github.com/users/patkoscsaba/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T09:25:51Z","updated_at":"2018-03-26T09:25:51Z","author_association":"NONE","body":"If you need Mockery to work with PHP 7 and you don't want to wait. I hacked it. It's a very simple change. 5 minutes of work.\r\nChange TestListener class like this:\r\nclass TestListener implements \\PHPUnit\\Framework\\TestListener\r\n{\r\n\tuse \\PHPUnit\\Framework\\TestListenerDefaultImplementation;\r\n    /**\r\n     * endTest is called after each test and checks if \\Mockery::close() has\r\n     * been called, and will let the test fail if it hasn't.\r\n     *\r\n     * @param Test  $test\r\n     * @param float $time\r\n     */\r\n    public function endTest(Test $test, float $time) : void\r\n    { ... }\r\n...}"}}
{"actor":{"display_login":"patkoscsaba"}}