{"action":"created","issue":{"url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/47","repository_url":"https://api.github.com/repos/PrivateBin/PrivateBin","labels_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/47/comments","events_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/47/events","html_url":"https://github.com/PrivateBin/PrivateBin/issues/47","id":166370979,"number":47,"title":"PHP Coding Style / PSR-4","user":{"login":"rugk","id":11966684,"avatar_url":"https://avatars.githubusercontent.com/u/11966684?v=3","gravatar_id":"","url":"https://api.github.com/users/rugk","html_url":"https://github.com/rugk","followers_url":"https://api.github.com/users/rugk/followers","following_url":"https://api.github.com/users/rugk/following{/other_user}","gists_url":"https://api.github.com/users/rugk/gists{/gist_id}","starred_url":"https://api.github.com/users/rugk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugk/subscriptions","organizations_url":"https://api.github.com/users/rugk/orgs","repos_url":"https://api.github.com/users/rugk/repos","events_url":"https://api.github.com/users/rugk/events{/privacy}","received_events_url":"https://api.github.com/users/rugk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PrivateBin/PrivateBin/labels/code%20quality","name":"code quality","color":"bc04f9"}],"state":"closed","locked":false,"assignee":{"login":"Sobak","id":1347533,"avatar_url":"https://avatars.githubusercontent.com/u/1347533?v=3","gravatar_id":"","url":"https://api.github.com/users/Sobak","html_url":"https://github.com/Sobak","followers_url":"https://api.github.com/users/Sobak/followers","following_url":"https://api.github.com/users/Sobak/following{/other_user}","gists_url":"https://api.github.com/users/Sobak/gists{/gist_id}","starred_url":"https://api.github.com/users/Sobak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sobak/subscriptions","organizations_url":"https://api.github.com/users/Sobak/orgs","repos_url":"https://api.github.com/users/Sobak/repos","events_url":"https://api.github.com/users/Sobak/events{/privacy}","received_events_url":"https://api.github.com/users/Sobak/received_events","type":"User","site_admin":false},"assignees":[{"login":"Sobak","id":1347533,"avatar_url":"https://avatars.githubusercontent.com/u/1347533?v=3","gravatar_id":"","url":"https://api.github.com/users/Sobak","html_url":"https://github.com/Sobak","followers_url":"https://api.github.com/users/Sobak/followers","following_url":"https://api.github.com/users/Sobak/following{/other_user}","gists_url":"https://api.github.com/users/Sobak/gists{/gist_id}","starred_url":"https://api.github.com/users/Sobak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sobak/subscriptions","organizations_url":"https://api.github.com/users/Sobak/orgs","repos_url":"https://api.github.com/users/Sobak/repos","events_url":"https://api.github.com/users/Sobak/events{/privacy}","received_events_url":"https://api.github.com/users/Sobak/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PrivateBin/PrivateBin/milestones/1","html_url":"https://github.com/PrivateBin/PrivateBin/milestones/first%20release%20after%20name%20switch","labels_url":"https://api.github.com/repos/PrivateBin/PrivateBin/milestones/1/labels","id":1873458,"number":1,"title":"first release after name switch","description":"This will be the first release after changing the name from \"ZeroBin\" to \"PrivateBin\".","creator":{"login":"elrido","id":1017622,"avatar_url":"https://avatars.githubusercontent.com/u/1017622?v=3","gravatar_id":"","url":"https://api.github.com/users/elrido","html_url":"https://github.com/elrido","followers_url":"https://api.github.com/users/elrido/followers","following_url":"https://api.github.com/users/elrido/following{/other_user}","gists_url":"https://api.github.com/users/elrido/gists{/gist_id}","starred_url":"https://api.github.com/users/elrido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrido/subscriptions","organizations_url":"https://api.github.com/users/elrido/orgs","repos_url":"https://api.github.com/users/elrido/repos","events_url":"https://api.github.com/users/elrido/events{/privacy}","received_events_url":"https://api.github.com/users/elrido/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":17,"state":"open","created_at":"2016-07-09T08:59:35Z","updated_at":"2016-08-11T13:10:35Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-07-19T16:08:27Z","updated_at":"2016-08-11T14:45:18Z","closed_at":"2016-08-11T13:10:35Z","body":"When adding some [code style guides](https://github.com/PrivateBin/PrivateBin/wiki/Development#code-style) I noticed we do not have any PHP style fixer yet.\r\n\r\nI would recommend http://cs.sensiolabs.org/, which can also automatically clean up your files."},"comment":{"url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/comments/239182819","html_url":"https://github.com/PrivateBin/PrivateBin/issues/47#issuecomment-239182819","issue_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/47","id":239182819,"user":{"login":"rugk","id":11966684,"avatar_url":"https://avatars.githubusercontent.com/u/11966684?v=3","gravatar_id":"","url":"https://api.github.com/users/rugk","html_url":"https://github.com/rugk","followers_url":"https://api.github.com/users/rugk/followers","following_url":"https://api.github.com/users/rugk/following{/other_user}","gists_url":"https://api.github.com/users/rugk/gists{/gist_id}","starred_url":"https://api.github.com/users/rugk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugk/subscriptions","organizations_url":"https://api.github.com/users/rugk/orgs","repos_url":"https://api.github.com/users/rugk/repos","events_url":"https://api.github.com/users/rugk/events{/privacy}","received_events_url":"https://api.github.com/users/rugk/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T14:45:18Z","updated_at":"2016-08-11T14:45:18Z","body":"That's why you can configure it with a PHP file. You\r\n\r\n> I don't like the readability when spaces get removed between concatenated strings or in mathematical operations.\r\n\r\nI too. Use `concat_with_spaces` and `ternary_spaces` e.g. Here is an [example file](https://github.com/rugk/threema-msgapi-webui/blob/master/.php_cs).\r\nYou should just use PSR-2 and select the symphony (and user submitted) rules, which match your coding style. "}}
{"actor":{"display_login":"rugk"}}