{"action":"created","issue":{"url":"https://api.github.com/repos/propelorm/Propel3/issues/78","repository_url":"https://api.github.com/repos/propelorm/Propel3","labels_url":"https://api.github.com/repos/propelorm/Propel3/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/propelorm/Propel3/issues/78/comments","events_url":"https://api.github.com/repos/propelorm/Propel3/issues/78/events","html_url":"https://github.com/propelorm/Propel3/issues/78","id":300024773,"number":78,"title":"[Feature] Generated code should be PSR-2 compatible","user":{"login":"nymo","id":884833,"avatar_url":"https://avatars0.githubusercontent.com/u/884833?v=4","gravatar_id":"","url":"https://api.github.com/users/nymo","html_url":"https://github.com/nymo","followers_url":"https://api.github.com/users/nymo/followers","following_url":"https://api.github.com/users/nymo/following{/other_user}","gists_url":"https://api.github.com/users/nymo/gists{/gist_id}","starred_url":"https://api.github.com/users/nymo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nymo/subscriptions","organizations_url":"https://api.github.com/users/nymo/orgs","repos_url":"https://api.github.com/users/nymo/repos","events_url":"https://api.github.com/users/nymo/events{/privacy}","received_events_url":"https://api.github.com/users/nymo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-25T13:07:14Z","updated_at":"2018-02-26T09:00:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I would like to see the generated code PSR-2 compatible. We could use something like templates and define PSR-2 as default but make it adjustable for other people if they prefer another code style.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/propelorm/Propel3/issues/comments/368432183","html_url":"https://github.com/propelorm/Propel3/issues/78#issuecomment-368432183","issue_url":"https://api.github.com/repos/propelorm/Propel3/issues/78","id":368432183,"user":{"login":"cristianoc72","id":865437,"avatar_url":"https://avatars0.githubusercontent.com/u/865437?v=4","gravatar_id":"","url":"https://api.github.com/users/cristianoc72","html_url":"https://github.com/cristianoc72","followers_url":"https://api.github.com/users/cristianoc72/followers","following_url":"https://api.github.com/users/cristianoc72/following{/other_user}","gists_url":"https://api.github.com/users/cristianoc72/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianoc72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianoc72/subscriptions","organizations_url":"https://api.github.com/users/cristianoc72/orgs","repos_url":"https://api.github.com/users/cristianoc72/repos","events_url":"https://api.github.com/users/cristianoc72/events{/privacy}","received_events_url":"https://api.github.com/users/cristianoc72/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T09:00:46Z","updated_at":"2018-02-26T09:00:46Z","author_association":"MEMBER","body":"Propel3 builders use the great [php-code-generator](https://github.com/gossi/php-code-generator) library, that doesn't support PSR-2 until the issue \r\nhttps://github.com/gossi/php-code-generator/issues/23 is resolved.\r\nBy now, I've forked php-code-generator and refactored it to generate psr-2 code https://github.com/cristianoc72/psr2-code-generator .\r\nWhen Propel3 will be finished, if https://github.com/gossi/php-code-generator/issues/23 not solved yet, we could think to temporarly switch to my fork.\r\n\r\nAnyway, imho Propel should generate psr-2 classes.\r\n"}}
{"actor":{"display_login":"cristianoc72"}}