{"action":"created","comment":{"url":"https://api.github.com/repos/shopware/devdocs/pulls/comments/76939441","id":76939441,"diff_hunk":"@@ -0,0 +1,18 @@\n+---\n+layout: default\n+title: Coding Standards\n+github_link: developers-guide/coding-standards/index.md\n+indexed: true\n+---\n+\n+The shopware team uses the following coding standards. All contributions to Shopware as well as plugins and customizations should also use these standards. \n+\n+## PHP Coding Standard\n+For PHP Code all contributions should use the [PSR-1: Basic Coding Standard](http://www.php-fig.org/psr/psr-1/) and [PSR-2: Coding Style Guide](http://www.php-fig.org/psr/psr-2/).\n+\n+## JavaScript Coding Standard\n+Please see our dedicated page for the [JavaScript Coding Standard](/designers-guide/javascript-coding-style/).","path":"source/developers-guide/coding-standards/index.md","position":14,"original_position":14,"commit_id":"9403454ba27a87dcd2dd2ad0e04cb4bcd03a8351","original_commit_id":"9403454ba27a87dcd2dd2ad0e04cb4bcd03a8351","user":{"login":"klarstil","id":170133,"avatar_url":"https://avatars.githubusercontent.com/u/170133?v=3","gravatar_id":"","url":"https://api.github.com/users/klarstil","html_url":"https://github.com/klarstil","followers_url":"https://api.github.com/users/klarstil/followers","following_url":"https://api.github.com/users/klarstil/following{/other_user}","gists_url":"https://api.github.com/users/klarstil/gists{/gist_id}","starred_url":"https://api.github.com/users/klarstil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarstil/subscriptions","organizations_url":"https://api.github.com/users/klarstil/orgs","repos_url":"https://api.github.com/users/klarstil/repos","events_url":"https://api.github.com/users/klarstil/events{/privacy}","received_events_url":"https://api.github.com/users/klarstil/received_events","type":"User","site_admin":false},"body":"I like to have the application future proof. You never know if you have to move the application in a sub directory sometime in the future, that's why.","created_at":"2016-08-31T07:50:27Z","updated_at":"2016-08-31T07:50:27Z","html_url":"https://github.com/shopware/devdocs/pull/349#discussion_r76939441","pull_request_url":"https://api.github.com/repos/shopware/devdocs/pulls/349","_links":{"self":{"href":"https://api.github.com/repos/shopware/devdocs/pulls/comments/76939441"},"html":{"href":"https://github.com/shopware/devdocs/pull/349#discussion_r76939441"},"pull_request":{"href":"https://api.github.com/repos/shopware/devdocs/pulls/349"}}},"pull_request":{"url":"https://api.github.com/repos/shopware/devdocs/pulls/349","id":83401465,"html_url":"https://github.com/shopware/devdocs/pull/349","diff_url":"https://github.com/shopware/devdocs/pull/349.diff","patch_url":"https://github.com/shopware/devdocs/pull/349.patch","issue_url":"https://api.github.com/repos/shopware/devdocs/issues/349","number":349,"state":"open","locked":false,"title":"Add Coding Standards page","user":{"login":"bcremer","id":55820,"avatar_url":"https://avatars.githubusercontent.com/u/55820?v=3","gravatar_id":"","url":"https://api.github.com/users/bcremer","html_url":"https://github.com/bcremer","followers_url":"https://api.github.com/users/bcremer/followers","following_url":"https://api.github.com/users/bcremer/following{/other_user}","gists_url":"https://api.github.com/users/bcremer/gists{/gist_id}","starred_url":"https://api.github.com/users/bcremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcremer/subscriptions","organizations_url":"https://api.github.com/users/bcremer/orgs","repos_url":"https://api.github.com/users/bcremer/repos","events_url":"https://api.github.com/users/bcremer/events{/privacy}","received_events_url":"https://api.github.com/users/bcremer/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-31T07:28:55Z","updated_at":"2016-08-31T07:50:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"618961edc2465031af9d22e7238aac80b65599e5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shopware/devdocs/pulls/349/commits","review_comments_url":"https://api.github.com/repos/shopware/devdocs/pulls/349/comments","review_comment_url":"https://api.github.com/repos/shopware/devdocs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shopware/devdocs/issues/349/comments","statuses_url":"https://api.github.com/repos/shopware/devdocs/statuses/9403454ba27a87dcd2dd2ad0e04cb4bcd03a8351","head":{"label":"shopware:add-coding-standards","ref":"add-coding-standards","sha":"9403454ba27a87dcd2dd2ad0e04cb4bcd03a8351","user":{"login":"shopware","id":612628,"avatar_url":"https://avatars.githubusercontent.com/u/612628?v=3","gravatar_id":"","url":"https://api.github.com/users/shopware","html_url":"https://github.com/shopware","followers_url":"https://api.github.com/users/shopware/followers","following_url":"https://api.github.com/users/shopware/following{/other_user}","gists_url":"https://api.github.com/users/shopware/gists{/gist_id}","starred_url":"https://api.github.com/users/shopware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shopware/subscriptions","organizations_url":"https://api.github.com/users/shopware/orgs","repos_url":"https://api.github.com/users/shopware/repos","events_url":"https://api.github.com/users/shopware/events{/privacy}","received_events_url":"https://api.github.com/users/shopware/received_events","type":"Organization","site_admin":false},"repo":{"id":32542624,"name":"devdocs","full_name":"shopware/devdocs","owner":{"login":"shopware","id":612628,"avatar_url":"https://avatars.githubusercontent.com/u/612628?v=3","gravatar_id":"","url":"https://api.github.com/users/shopware","html_url":"https://github.com/shopware","followers_url":"https://api.github.com/users/shopware/followers","following_url":"https://api.github.com/users/shopware/following{/other_user}","gists_url":"https://api.github.com/users/shopware/gists{/gist_id}","starred_url":"https://api.github.com/users/shopware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shopware/subscriptions","organizations_url":"https://api.github.com/users/shopware/orgs","repos_url":"https://api.github.com/users/shopware/repos","events_url":"https://api.github.com/users/shopware/events{/privacy}","received_events_url":"https://api.github.com/users/shopware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shopware/devdocs","description":"Shopware Developers Website","fork":false,"url":"https://api.github.com/repos/shopware/devdocs","forks_url":"https://api.github.com/repos/shopware/devdocs/forks","keys_url":"https://api.github.com/repos/shopware/devdocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shopware/devdocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shopware/devdocs/teams","hooks_url":"https://api.github.com/repos/shopware/devdocs/hooks","issue_events_url":"https://api.github.com/repos/shopware/devdocs/issues/events{/number}","events_url":"https://api.github.com/repos/shopware/devdocs/events","assignees_url":"https://api.github.com/repos/shopware/devdocs/assignees{/user}","branches_url":"https://api.github.com/repos/shopware/devdocs/branches{/branch}","tags_url":"https://api.github.com/repos/shopware/devdocs/tags","blobs_url":"https://api.github.com/repos/shopware/devdocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shopware/devdocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shopware/devdocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/shopware/devdocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shopware/devdocs/statuses/{sha}","languages_url":"https://api.github.com/repos/shopware/devdocs/languages","stargazers_url":"https://api.github.com/repos/shopware/devdocs/stargazers","contributors_url":"https://api.github.com/repos/shopware/devdocs/contributors","subscribers_url":"https://api.github.com/repos/shopware/devdocs/subscribers","subscription_url":"https://api.github.com/repos/shopware/devdocs/subscription","commits_url":"https://api.github.com/repos/shopware/devdocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/shopware/devdocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/shopware/devdocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/shopware/devdocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/shopware/devdocs/contents/{+path}","compare_url":"https://api.github.com/repos/shopware/devdocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shopware/devdocs/merges","archive_url":"https://api.github.com/repos/shopware/devdocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shopware/devdocs/downloads","issues_url":"https://api.github.com/repos/shopware/devdocs/issues{/number}","pulls_url":"https://api.github.com/repos/shopware/devdocs/pulls{/number}","milestones_url":"https://api.github.com/repos/shopware/devdocs/milestones{/number}","notifications_url":"https://api.github.com/repos/shopware/devdocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shopware/devdocs/labels{/name}","releases_url":"https://api.github.com/repos/shopware/devdocs/releases{/id}","deployments_url":"https://api.github.com/repos/shopware/devdocs/deployments","created_at":"2015-03-19T19:44:25Z","updated_at":"2016-08-29T09:24:47Z","pushed_at":"2016-08-31T07:45:50Z","git_url":"git://github.com/shopware/devdocs.git","ssh_url":"git@github.com:shopware/devdocs.git","clone_url":"https://github.com/shopware/devdocs.git","svn_url":"https://github.com/shopware/devdocs","homepage":"https://developers.shopware.com","size":80899,"stargazers_count":35,"watchers_count":35,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":13,"forks":74,"open_issues":13,"watchers":35,"default_branch":"master"}},"base":{"label":"shopware:master","ref":"master","sha":"ef93e8972bebf4118e5b82bf8209034a5a6ba817","user":{"login":"shopware","id":612628,"avatar_url":"https://avatars.githubusercontent.com/u/612628?v=3","gravatar_id":"","url":"https://api.github.com/users/shopware","html_url":"https://github.com/shopware","followers_url":"https://api.github.com/users/shopware/followers","following_url":"https://api.github.com/users/shopware/following{/other_user}","gists_url":"https://api.github.com/users/shopware/gists{/gist_id}","starred_url":"https://api.github.com/users/shopware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shopware/subscriptions","organizations_url":"https://api.github.com/users/shopware/orgs","repos_url":"https://api.github.com/users/shopware/repos","events_url":"https://api.github.com/users/shopware/events{/privacy}","received_events_url":"https://api.github.com/users/shopware/received_events","type":"Organization","site_admin":false},"repo":{"id":32542624,"name":"devdocs","full_name":"shopware/devdocs","owner":{"login":"shopware","id":612628,"avatar_url":"https://avatars.githubusercontent.com/u/612628?v=3","gravatar_id":"","url":"https://api.github.com/users/shopware","html_url":"https://github.com/shopware","followers_url":"https://api.github.com/users/shopware/followers","following_url":"https://api.github.com/users/shopware/following{/other_user}","gists_url":"https://api.github.com/users/shopware/gists{/gist_id}","starred_url":"https://api.github.com/users/shopware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shopware/subscriptions","organizations_url":"https://api.github.com/users/shopware/orgs","repos_url":"https://api.github.com/users/shopware/repos","events_url":"https://api.github.com/users/shopware/events{/privacy}","received_events_url":"https://api.github.com/users/shopware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shopware/devdocs","description":"Shopware Developers Website","fork":false,"url":"https://api.github.com/repos/shopware/devdocs","forks_url":"https://api.github.com/repos/shopware/devdocs/forks","keys_url":"https://api.github.com/repos/shopware/devdocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shopware/devdocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shopware/devdocs/teams","hooks_url":"https://api.github.com/repos/shopware/devdocs/hooks","issue_events_url":"https://api.github.com/repos/shopware/devdocs/issues/events{/number}","events_url":"https://api.github.com/repos/shopware/devdocs/events","assignees_url":"https://api.github.com/repos/shopware/devdocs/assignees{/user}","branches_url":"https://api.github.com/repos/shopware/devdocs/branches{/branch}","tags_url":"https://api.github.com/repos/shopware/devdocs/tags","blobs_url":"https://api.github.com/repos/shopware/devdocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shopware/devdocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shopware/devdocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/shopware/devdocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shopware/devdocs/statuses/{sha}","languages_url":"https://api.github.com/repos/shopware/devdocs/languages","stargazers_url":"https://api.github.com/repos/shopware/devdocs/stargazers","contributors_url":"https://api.github.com/repos/shopware/devdocs/contributors","subscribers_url":"https://api.github.com/repos/shopware/devdocs/subscribers","subscription_url":"https://api.github.com/repos/shopware/devdocs/subscription","commits_url":"https://api.github.com/repos/shopware/devdocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/shopware/devdocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/shopware/devdocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/shopware/devdocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/shopware/devdocs/contents/{+path}","compare_url":"https://api.github.com/repos/shopware/devdocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shopware/devdocs/merges","archive_url":"https://api.github.com/repos/shopware/devdocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shopware/devdocs/downloads","issues_url":"https://api.github.com/repos/shopware/devdocs/issues{/number}","pulls_url":"https://api.github.com/repos/shopware/devdocs/pulls{/number}","milestones_url":"https://api.github.com/repos/shopware/devdocs/milestones{/number}","notifications_url":"https://api.github.com/repos/shopware/devdocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shopware/devdocs/labels{/name}","releases_url":"https://api.github.com/repos/shopware/devdocs/releases{/id}","deployments_url":"https://api.github.com/repos/shopware/devdocs/deployments","created_at":"2015-03-19T19:44:25Z","updated_at":"2016-08-29T09:24:47Z","pushed_at":"2016-08-31T07:45:50Z","git_url":"git://github.com/shopware/devdocs.git","ssh_url":"git@github.com:shopware/devdocs.git","clone_url":"https://github.com/shopware/devdocs.git","svn_url":"https://github.com/shopware/devdocs","homepage":"https://developers.shopware.com","size":80899,"stargazers_count":35,"watchers_count":35,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":13,"forks":74,"open_issues":13,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shopware/devdocs/pulls/349"},"html":{"href":"https://github.com/shopware/devdocs/pull/349"},"issue":{"href":"https://api.github.com/repos/shopware/devdocs/issues/349"},"comments":{"href":"https://api.github.com/repos/shopware/devdocs/issues/349/comments"},"review_comments":{"href":"https://api.github.com/repos/shopware/devdocs/pulls/349/comments"},"review_comment":{"href":"https://api.github.com/repos/shopware/devdocs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shopware/devdocs/pulls/349/commits"},"statuses":{"href":"https://api.github.com/repos/shopware/devdocs/statuses/9403454ba27a87dcd2dd2ad0e04cb4bcd03a8351"}}}}
{"actor":{"display_login":"klarstil"}}