{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/3802","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/3802/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/3802/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/3802/events","html_url":"https://github.com/wp-cli/wp-cli/issues/3802","id":206326904,"number":3802,"title":"PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found","user":{"login":"miya0001","id":309946,"avatar_url":"https://avatars1.githubusercontent.com/u/309946?v=3","gravatar_id":"","url":"https://api.github.com/users/miya0001","html_url":"https://github.com/miya0001","followers_url":"https://api.github.com/users/miya0001/followers","following_url":"https://api.github.com/users/miya0001/following{/other_user}","gists_url":"https://api.github.com/users/miya0001/gists{/gist_id}","starred_url":"https://api.github.com/users/miya0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miya0001/subscriptions","organizations_url":"https://api.github.com/users/miya0001/orgs","repos_url":"https://api.github.com/users/miya0001/repos","events_url":"https://api.github.com/users/miya0001/events{/privacy}","received_events_url":"https://api.github.com/users/miya0001/received_events","type":"User","site_admin":false},"labels":[{"id":79548738,"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/state:unconfirmed","name":"state:unconfirmed","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-02-08T21:16:26Z","updated_at":"2017-04-24T02:21:06Z","closed_at":"2017-02-08T22:36:46Z","body":"[PHPUnit 6](https://github.com/sebastianbergmann/phpunit/blob/6.0/ChangeLog-6.0.md#600---2017-02-03) doesn't support `PHPUnit_Framework_TestCase` as the base class.\r\nAnd Homebrew version is 6.\r\n\r\nSo, I got an error like following.\r\n\r\n```\r\n$ /usr/local/bin/phpunit \r\nInstalling...\r\nRunning as single site... To run multisite, use -c tests/phpunit/multisite.xml\r\nPHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in /private/tmp/wordpress-tests-lib/includes/testcase.php on line 15\r\n```\r\n\r\nShould we add `composer.json` when running `wp scaffold plugin`, etc?\r\n"},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/296509868","html_url":"https://github.com/wp-cli/wp-cli/issues/3802#issuecomment-296509868","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/3802","id":296509868,"user":{"login":"GaryJones","id":88371,"avatar_url":"https://avatars1.githubusercontent.com/u/88371?v=3","gravatar_id":"","url":"https://api.github.com/users/GaryJones","html_url":"https://github.com/GaryJones","followers_url":"https://api.github.com/users/GaryJones/followers","following_url":"https://api.github.com/users/GaryJones/following{/other_user}","gists_url":"https://api.github.com/users/GaryJones/gists{/gist_id}","starred_url":"https://api.github.com/users/GaryJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaryJones/subscriptions","organizations_url":"https://api.github.com/users/GaryJones/orgs","repos_url":"https://api.github.com/users/GaryJones/repos","events_url":"https://api.github.com/users/GaryJones/events{/privacy}","received_events_url":"https://api.github.com/users/GaryJones/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T02:21:06Z","updated_at":"2017-04-24T02:21:06Z","body":"39822 is now fixed in WP core."}}
{"actor":{"display_login":"GaryJones"}}