{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/docs/issues/4227","repository_url":"https://api.github.com/repos/cakephp/docs","labels_url":"https://api.github.com/repos/cakephp/docs/issues/4227/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/docs/issues/4227/comments","events_url":"https://api.github.com/repos/cakephp/docs/issues/4227/events","html_url":"https://github.com/cakephp/docs/issues/4227","id":169245879,"number":4227,"title":"broken code formating in API Examples","user":{"login":"Graziel","id":5963584,"avatar_url":"https://avatars.githubusercontent.com/u/5963584?v=3","gravatar_id":"","url":"https://api.github.com/users/Graziel","html_url":"https://github.com/Graziel","followers_url":"https://api.github.com/users/Graziel/followers","following_url":"https://api.github.com/users/Graziel/following{/other_user}","gists_url":"https://api.github.com/users/Graziel/gists{/gist_id}","starred_url":"https://api.github.com/users/Graziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graziel/subscriptions","organizations_url":"https://api.github.com/users/Graziel/orgs","repos_url":"https://api.github.com/users/Graziel/repos","events_url":"https://api.github.com/users/Graziel/events{/privacy}","received_events_url":"https://api.github.com/users/Graziel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T22:06:16Z","updated_at":"2016-08-04T04:15:30Z","closed_at":null,"body":"the code formating in Examples looks wierd (no intendation & new lines):\r\nhttp://api.cakephp.org/3.2/class-Cake.ORM.Query.html#_leftJoinWith\r\nvs\r\nhttp://api.cakephp.org/3.2/source-class-Cake.ORM.Query.html#459-531\r\n\r\n```\r\n// Get the count of articles per user\r\n$usersQuery ->select(['total_articles' => $query->func()->count('Articles.id')]) ->leftJoinWith('Articles') ->group(['Users.id']) ->autoFields(true);\r\n```\r\nvs\r\n```\r\n// Get the count of articles per user\r\n$usersQuery\r\n    ->select(['total_articles' => $query->func()->count('Articles.id')])\r\n    ->leftJoinWith('Articles')\r\n    ->group(['Users.id'])\r\n    ->autoFields(true);\r\n```"},"comment":{"url":"https://api.github.com/repos/cakephp/docs/issues/comments/237448154","html_url":"https://github.com/cakephp/docs/issues/4227#issuecomment-237448154","issue_url":"https://api.github.com/repos/cakephp/docs/issues/4227","id":237448154,"user":{"login":"antograssiot","id":4977112,"avatar_url":"https://avatars.githubusercontent.com/u/4977112?v=3","gravatar_id":"","url":"https://api.github.com/users/antograssiot","html_url":"https://github.com/antograssiot","followers_url":"https://api.github.com/users/antograssiot/followers","following_url":"https://api.github.com/users/antograssiot/following{/other_user}","gists_url":"https://api.github.com/users/antograssiot/gists{/gist_id}","starred_url":"https://api.github.com/users/antograssiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antograssiot/subscriptions","organizations_url":"https://api.github.com/users/antograssiot/orgs","repos_url":"https://api.github.com/users/antograssiot/repos","events_url":"https://api.github.com/users/antograssiot/events{/privacy}","received_events_url":"https://api.github.com/users/antograssiot/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T04:15:30Z","updated_at":"2016-08-04T04:15:30Z","body":"This issue was moved to cakephp/cakephp-api-docs#64"}}
{"actor":{"display_login":"antograssiot"}}