{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/app/issues/647","repository_url":"https://api.github.com/repos/cakephp/app","labels_url":"https://api.github.com/repos/cakephp/app/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/app/issues/647/comments","events_url":"https://api.github.com/repos/cakephp/app/issues/647/events","html_url":"https://github.com/cakephp/app/issues/647","id":383631545,"node_id":"MDU6SXNzdWUzODM2MzE1NDU=","number":647,"title":"Limit composer.json suggest of phpunit to 5|6, note req'd by 'check' script","user":{"login":"ewbarnard","id":1979538,"node_id":"MDQ6VXNlcjE5Nzk1Mzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1979538?v=4","gravatar_id":"","url":"https://api.github.com/users/ewbarnard","html_url":"https://github.com/ewbarnard","followers_url":"https://api.github.com/users/ewbarnard/followers","following_url":"https://api.github.com/users/ewbarnard/following{/other_user}","gists_url":"https://api.github.com/users/ewbarnard/gists{/gist_id}","starred_url":"https://api.github.com/users/ewbarnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewbarnard/subscriptions","organizations_url":"https://api.github.com/users/ewbarnard/orgs","repos_url":"https://api.github.com/users/ewbarnard/repos","events_url":"https://api.github.com/users/ewbarnard/events{/privacy}","received_events_url":"https://api.github.com/users/ewbarnard/received_events","type":"User","site_admin":false},"labels":[{"id":221509018,"node_id":"MDU6TGFiZWwyMjE1MDkwMTg=","url":"https://api.github.com/repos/cakephp/app/labels/documentation","name":"documentation","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cakephp/app/milestones/19","html_url":"https://github.com/cakephp/app/milestone/19","labels_url":"https://api.github.com/repos/cakephp/app/milestones/19/labels","id":2711855,"node_id":"MDk6TWlsZXN0b25lMjcxMTg1NQ==","number":19,"title":"3.6.x","description":"Skeleton that requires at least 3.6.0","creator":{"login":"markstory","id":24086,"node_id":"MDQ6VXNlcjI0MDg2","avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":49,"state":"open","created_at":"2017-08-20T23:27:29Z","updated_at":"2018-11-22T20:26:21Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-11-22T18:30:18Z","updated_at":"2018-11-22T22:09:05Z","closed_at":null,"author_association":"NONE","body":"This is a (multiple allowed):\r\n\r\n* [ ] bug\r\n* [x] enhancement\r\n* [ ] feature-discussion (RFC)\r\n\r\n* CakePHP Application Skeleton Version: 3.6.5 (I think, installed via create-project --prefer-dist)\r\n* Platform and Target: MacBook, MAMP Pro, PHP 7.2.1 (cli)\r\n\r\n### What you did\r\ncomposer check\r\n\r\n### What happened\r\n1. First time - phpunit not found\r\n2. composer require --dev phpunit/phpunit (as suggested by \"suggest\")\r\n3. PHP Fatal error: Class 'PHPUnit\\Framework\\BaseTestListener' not found - see https://github.com/cakephp/cakephp/issues/11732\r\n4. Changed composer.json to \"phpunit/phpunit\": \"^6\" as per above issue 11732; composer update\r\n5. \"composer check\" now runs green/clean\r\n\r\n### What you expected to happen\r\nWe have two issues, both of which could be alleviated by placing clues in the \"suggest\"\r\ndocumentation for phpunit/phpunit.\r\n\r\n1. The \"composer check\" script requires that phpunit be installed.\r\n2. CakePHP requires that we use phpunit version 5.x.x or 6.x.x.\r\n\r\nI don't think we can explicitly suggest phpunit/phpunit:^6, but we could enhance the phrasing\r\nin the comment string for the suggestion."},"comment":{"url":"https://api.github.com/repos/cakephp/app/issues/comments/441126895","html_url":"https://github.com/cakephp/app/issues/647#issuecomment-441126895","issue_url":"https://api.github.com/repos/cakephp/app/issues/647","id":441126895,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTEyNjg5NQ==","user":{"login":"ewbarnard","id":1979538,"node_id":"MDQ6VXNlcjE5Nzk1Mzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1979538?v=4","gravatar_id":"","url":"https://api.github.com/users/ewbarnard","html_url":"https://github.com/ewbarnard","followers_url":"https://api.github.com/users/ewbarnard/followers","following_url":"https://api.github.com/users/ewbarnard/following{/other_user}","gists_url":"https://api.github.com/users/ewbarnard/gists{/gist_id}","starred_url":"https://api.github.com/users/ewbarnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewbarnard/subscriptions","organizations_url":"https://api.github.com/users/ewbarnard/orgs","repos_url":"https://api.github.com/users/ewbarnard/repos","events_url":"https://api.github.com/users/ewbarnard/events{/privacy}","received_events_url":"https://api.github.com/users/ewbarnard/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T22:09:05Z","updated_at":"2018-11-22T22:09:05Z","author_association":"NONE","body":"Agreed. I tried various wordings, and all are ugly. Making it a require-dev is simple. I'll do the PR - only for the phpunit portion, NOT implementing @garas 's other suggestions."}}
{"actor":{"display_login":"ewbarnard"}}