{"action":"created","issue":{"url":"https://api.github.com/repos/zircote/swagger-php/issues/175","labels_url":"https://api.github.com/repos/zircote/swagger-php/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/zircote/swagger-php/issues/175/comments","events_url":"https://api.github.com/repos/zircote/swagger-php/issues/175/events","html_url":"https://github.com/zircote/swagger-php/issues/175","id":47830057,"number":175,"title":"PSR-2 Compliance","user":{"login":"adammbalogh","id":645053,"avatar_url":"https://avatars.githubusercontent.com/u/645053?v=3","gravatar_id":"","url":"https://api.github.com/users/adammbalogh","html_url":"https://github.com/adammbalogh","followers_url":"https://api.github.com/users/adammbalogh/followers","following_url":"https://api.github.com/users/adammbalogh/following{/other_user}","gists_url":"https://api.github.com/users/adammbalogh/gists{/gist_id}","starred_url":"https://api.github.com/users/adammbalogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammbalogh/subscriptions","organizations_url":"https://api.github.com/users/adammbalogh/orgs","repos_url":"https://api.github.com/users/adammbalogh/repos","events_url":"https://api.github.com/users/adammbalogh/events{/privacy}","received_events_url":"https://api.github.com/users/adammbalogh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zircote/swagger-php/milestones/7","html_url":"https://github.com/zircote/swagger-php/milestones/2.0.0","labels_url":"https://api.github.com/repos/zircote/swagger-php/milestones/7/labels","id":946802,"number":7,"title":"2.0.0","description":null,"creator":{"login":"bfanger","id":207248,"avatar_url":"https://avatars.githubusercontent.com/u/207248?v=3","gravatar_id":"","url":"https://api.github.com/users/bfanger","html_url":"https://github.com/bfanger","followers_url":"https://api.github.com/users/bfanger/followers","following_url":"https://api.github.com/users/bfanger/following{/other_user}","gists_url":"https://api.github.com/users/bfanger/gists{/gist_id}","starred_url":"https://api.github.com/users/bfanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfanger/subscriptions","organizations_url":"https://api.github.com/users/bfanger/orgs","repos_url":"https://api.github.com/users/bfanger/repos","events_url":"https://api.github.com/users/bfanger/events{/privacy}","received_events_url":"https://api.github.com/users/bfanger/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":13,"state":"open","created_at":"2015-01-22T12:21:26Z","updated_at":"2015-05-03T12:10:48Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-11-05T12:20:21Z","updated_at":"2015-05-03T12:10:48Z","closed_at":"2015-05-03T12:10:48Z","body":"Do you plan to make this pakcage PSR-2 Compliant?"},"comment":{"url":"https://api.github.com/repos/zircote/swagger-php/issues/comments/98474595","html_url":"https://github.com/zircote/swagger-php/issues/175#issuecomment-98474595","issue_url":"https://api.github.com/repos/zircote/swagger-php/issues/175","id":98474595,"user":{"login":"bfanger","id":207248,"avatar_url":"https://avatars.githubusercontent.com/u/207248?v=3","gravatar_id":"","url":"https://api.github.com/users/bfanger","html_url":"https://github.com/bfanger","followers_url":"https://api.github.com/users/bfanger/followers","following_url":"https://api.github.com/users/bfanger/following{/other_user}","gists_url":"https://api.github.com/users/bfanger/gists{/gist_id}","starred_url":"https://api.github.com/users/bfanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfanger/subscriptions","organizations_url":"https://api.github.com/users/bfanger/orgs","repos_url":"https://api.github.com/users/bfanger/repos","events_url":"https://api.github.com/users/bfanger/events{/privacy}","received_events_url":"https://api.github.com/users/bfanger/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T12:10:48Z","updated_at":"2015-05-03T12:10:48Z","body":"[phpcs](https://github.com/squizlabs/PHP_CodeSniffer) still has some complaints:\r\n\r\n> Constants must be uppercase; expected 'SWAGGER\\UNDEFINED' but found 'Swagger\\UNDEFINED'\r\n\r\nThe constant *is* uppercase, it seams phpcs doesn't take namespaces into account.\r\n> Line exceeds 120 characters; contains ... characters\r\n\r\nI'm okey with long lines.\r\n> Property name \"...\" should not be prefixed with an underscore to indicate visibility\r\n\r\nProperties with an underscore are used to avoid naming collisions between swagger-php and the swagger output/spec.\r\n\r\nBut the code is now mostly PSR-2 compliant, thanks to @mpajunen and [php-cs-fixer](http://cs.sensiolabs.org).\r\n\r\n"}}