{"action":"created","comment":{"url":"https://api.github.com/repos/friendica/friendica/pulls/comments/82315158","pull_request_review_id":3232566,"id":82315158,"diff_hunk":"@@ -42,29 +42,45 @@ If you have seen Friendica you probably have ideas to improve it, haven't you?\n * Make plans for a better Friendica interface design and share them with us.\n * Tell us if you are able to realize your ideas or what kind of help you need.\n We can't promise we have the right skills in the group but we'll try.\n-* Choose a thing to start with, e.g. work on the icon set of your favourite theme\n+* Choose a thing to start with, e.g. work on the icon set of your favorite theme\n \n Programming\n ---\n \n+###Coding standards\n+\n+For the sake of consistency between contribution and general code readability, Friendica follows the widespread [PSR-2 coding standards](http://www.php-fig.org/psr/psr-2/).\n+Don't worry, you don't have to know by heart the PSR-2 coding standards to start contributing to Friendica.\n+Before comitting your work, you can use the PHP Coding Standard Fixer located in the `util` folder this way:\n+\n+\t$> php util/php-cs-fixer.phar fix <file or folder> --level=psr2","path":"doc/Developers-Intro.md","position":25,"original_position":25,"commit_id":"27f5e0343a07391ad1277fa30bbfca813b7c59b9","original_commit_id":"27f5e0343a07391ad1277fa30bbfca813b7c59b9","user":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"body":"For what it's worth, this tool is standalone, it just needs PHP to be executed, which is required for Friendica anyway, but I totally get your point. I'll do some rewriting.","created_at":"2016-10-07T01:04:03Z","updated_at":"2016-10-07T01:04:03Z","html_url":"https://github.com/friendica/friendica/pull/2841#discussion_r82315158","pull_request_url":"https://api.github.com/repos/friendica/friendica/pulls/2841","_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments/82315158"},"html":{"href":"https://github.com/friendica/friendica/pull/2841#discussion_r82315158"},"pull_request":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2841"}}},"pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/2841","id":87710948,"html_url":"https://github.com/friendica/friendica/pull/2841","diff_url":"https://github.com/friendica/friendica/pull/2841.diff","patch_url":"https://github.com/friendica/friendica/pull/2841.patch","issue_url":"https://api.github.com/repos/friendica/friendica/issues/2841","number":2841,"state":"open","locked":false,"title":"Issue/#2103 alt - define coding standards for Friendica","user":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"body":"This lightweight PR just adds the PHP CS Fixer tool to the util folder and update the documentation related to coding standards.\r\n\r\nFixes #2103, code formatting updates will happen over time.","created_at":"2016-10-03T12:52:29Z","updated_at":"2016-10-07T01:04:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6624fa2a51682367c661fc00192af6193d61a1aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/friendica/friendica/pulls/2841/commits","review_comments_url":"https://api.github.com/repos/friendica/friendica/pulls/2841/comments","review_comment_url":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/2841/comments","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/27f5e0343a07391ad1277fa30bbfca813b7c59b9","head":{"label":"Hypolite:issue/#2103-alt","ref":"issue/#2103-alt","sha":"27f5e0343a07391ad1277fa30bbfca813b7c59b9","user":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"repo":{"id":69321684,"name":"friendica","full_name":"Hypolite/friendica","owner":{"login":"Hypolite","id":925415,"avatar_url":"https://avatars.githubusercontent.com/u/925415?v=3","gravatar_id":"","url":"https://api.github.com/users/Hypolite","html_url":"https://github.com/Hypolite","followers_url":"https://api.github.com/users/Hypolite/followers","following_url":"https://api.github.com/users/Hypolite/following{/other_user}","gists_url":"https://api.github.com/users/Hypolite/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypolite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypolite/subscriptions","organizations_url":"https://api.github.com/users/Hypolite/orgs","repos_url":"https://api.github.com/users/Hypolite/repos","events_url":"https://api.github.com/users/Hypolite/events{/privacy}","received_events_url":"https://api.github.com/users/Hypolite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hypolite/friendica","description":"Friendica Communications Platform","fork":true,"url":"https://api.github.com/repos/Hypolite/friendica","forks_url":"https://api.github.com/repos/Hypolite/friendica/forks","keys_url":"https://api.github.com/repos/Hypolite/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hypolite/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hypolite/friendica/teams","hooks_url":"https://api.github.com/repos/Hypolite/friendica/hooks","issue_events_url":"https://api.github.com/repos/Hypolite/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/Hypolite/friendica/events","assignees_url":"https://api.github.com/repos/Hypolite/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/Hypolite/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/Hypolite/friendica/tags","blobs_url":"https://api.github.com/repos/Hypolite/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hypolite/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hypolite/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hypolite/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hypolite/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/Hypolite/friendica/languages","stargazers_url":"https://api.github.com/repos/Hypolite/friendica/stargazers","contributors_url":"https://api.github.com/repos/Hypolite/friendica/contributors","subscribers_url":"https://api.github.com/repos/Hypolite/friendica/subscribers","subscription_url":"https://api.github.com/repos/Hypolite/friendica/subscription","commits_url":"https://api.github.com/repos/Hypolite/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hypolite/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hypolite/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hypolite/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hypolite/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/Hypolite/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hypolite/friendica/merges","archive_url":"https://api.github.com/repos/Hypolite/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hypolite/friendica/downloads","issues_url":"https://api.github.com/repos/Hypolite/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/Hypolite/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/Hypolite/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/Hypolite/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hypolite/friendica/labels{/name}","releases_url":"https://api.github.com/repos/Hypolite/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/Hypolite/friendica/deployments","created_at":"2016-09-27T05:15:07Z","updated_at":"2016-09-27T05:15:15Z","pushed_at":"2016-10-07T01:01:32Z","git_url":"git://github.com/Hypolite/friendica.git","ssh_url":"git@github.com:Hypolite/friendica.git","clone_url":"https://github.com/Hypolite/friendica.git","svn_url":"https://github.com/Hypolite/friendica","homepage":"","size":68646,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"friendica:develop","ref":"develop","sha":"32f49b4de2ca39ac037a8600624e74d0ed52d8a8","user":{"login":"friendica","id":1176581,"avatar_url":"https://avatars.githubusercontent.com/u/1176581?v=3","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"repo":{"id":2722709,"name":"friendica","full_name":"friendica/friendica","owner":{"login":"friendica","id":1176581,"avatar_url":"https://avatars.githubusercontent.com/u/1176581?v=3","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/friendica/friendica","description":"Friendica Communications Platform","fork":true,"url":"https://api.github.com/repos/friendica/friendica","forks_url":"https://api.github.com/repos/friendica/friendica/forks","keys_url":"https://api.github.com/repos/friendica/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/friendica/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/friendica/friendica/teams","hooks_url":"https://api.github.com/repos/friendica/friendica/hooks","issue_events_url":"https://api.github.com/repos/friendica/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/friendica/friendica/events","assignees_url":"https://api.github.com/repos/friendica/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/friendica/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/friendica/friendica/tags","blobs_url":"https://api.github.com/repos/friendica/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/friendica/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/friendica/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/friendica/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/friendica/friendica/languages","stargazers_url":"https://api.github.com/repos/friendica/friendica/stargazers","contributors_url":"https://api.github.com/repos/friendica/friendica/contributors","subscribers_url":"https://api.github.com/repos/friendica/friendica/subscribers","subscription_url":"https://api.github.com/repos/friendica/friendica/subscription","commits_url":"https://api.github.com/repos/friendica/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/friendica/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/friendica/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/friendica/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/friendica/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/friendica/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/friendica/friendica/merges","archive_url":"https://api.github.com/repos/friendica/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/friendica/friendica/downloads","issues_url":"https://api.github.com/repos/friendica/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/friendica/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/friendica/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/friendica/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/friendica/friendica/labels{/name}","releases_url":"https://api.github.com/repos/friendica/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/friendica/friendica/deployments","created_at":"2011-11-06T22:19:41Z","updated_at":"2016-09-26T05:53:42Z","pushed_at":"2016-10-07T01:01:32Z","git_url":"git://github.com/friendica/friendica.git","ssh_url":"git@github.com:friendica/friendica.git","clone_url":"https://github.com/friendica/friendica.git","svn_url":"https://github.com/friendica/friendica","homepage":"","size":72977,"stargazers_count":425,"watchers_count":425,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":163,"mirror_url":null,"open_issues_count":238,"forks":163,"open_issues":238,"watchers":425,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2841"},"html":{"href":"https://github.com/friendica/friendica/pull/2841"},"issue":{"href":"https://api.github.com/repos/friendica/friendica/issues/2841"},"comments":{"href":"https://api.github.com/repos/friendica/friendica/issues/2841/comments"},"review_comments":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2841/comments"},"review_comment":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/friendica/friendica/pulls/2841/commits"},"statuses":{"href":"https://api.github.com/repos/friendica/friendica/statuses/27f5e0343a07391ad1277fa30bbfca813b7c59b9"}}}}
{"actor":{"display_login":"Hypolite"}}