{"action":"created","comment":{"url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/comments/83034100","pull_request_review_id":3851545,"id":83034100,"diff_hunk":"@@ -1,61 +1,63 @@\n ---\n+title: Sprievodca štýlom písania kódu\n anchor: code_style_guide\n ---\n \n-# Code Style Guide {#code_style_guide_title}\n+# Sprievodca štýlom písania kódu {#code_style_guide_title}\n \n-The PHP community is large and diverse, composed of innumerable libraries, frameworks, and components. It is common for\n-PHP developers to choose several of these and combine them into a single project. It is important that PHP code adhere\n-(as close as possible) to a common code style to make it easy for developers to mix and match various libraries for\n-their projects.\n+PHP komunita je veľká a rozmanitá. Skladá sa z nespočetného množstva knižníc, frameworkov a komponentov.\n+Pre PHP programátorov je ich bežné používať a kombinovať v rámci jedného projektu niekoľko naraz. Je dôležité, aby sa\n+kód PHP pridržiaval, pokiaľ možno čo najbližšie, k všeobecne zaužívanému štýlu písania kódu. Toto programátorom uľahčuje\n+v ich projektoch použiť rôzne knižnice bez nutnosti použitia rôznych štýlov písania kódu v rôznich častiach.\n \n-The [Framework Interop Group][fig] has proposed and approved a series of style recommendations. Not all of them related\n-to code-style, but those that do are [PSR-0][psr0], [PSR-1][psr1], [PSR-2][psr2] and [PSR-4][psr4]. These\n-recommendations are merely a set of rules that some projects like Drupal, Zend, Symfony, CakePHP, phpBB, AWS SDK,\n-FuelPHP, Lithium, etc are starting to adopt. You can use them for your own projects, or continue to use your own\n-personal style.\n+Skupina [Framework Interop Group][fig] navrhla a odsúhlasila sériu doporučení písania kódu. Nie každé z týchto\n+doporučení ale s týmto súvisí. Tie, ktoré sa tohoto týkajú sú [PSR-0][psr0], [PSR-1][psr1], [PSR-2][psr2]\n+a [PSR-4][psr4]. Tieto doporučenia sú viacmenej zoznamom pravidiel, ktoré projekty ako napríklad Drupal, Zend,\n+Symfony, CakePHP, phpBB, AWS SDK, FuelPHP, Lithium, atď. začinajú zavádzať. Tieto doporučenia môžete používať taktiež\n+pre vaše projekty. Môžete ale taktiež pokračovať v použivaní vášho osobného štýlu.\n \n-Ideally you should write PHP code that adheres to a known standard. This could be any combination of PSRs, or one\n-of the coding standards made by PEAR or Zend. This means other developers can easily read and work with your code, and\n-applications that implement the components can have consistency even when working with lots of third-party code.\n+Kód PHP by ste ideálne mali písať tak, aby sa pridržiaval všeobecne známemu štandardu. Toto môže byť ľubovolná\n+kombinácia doporúčení PSR, alebo jeden zo štandardov PEAR, alebo Zend. Toto zabezpečí čitateľnosť vášho kódu pre iných\n+programátorov a konzistentnosť štýlu kódu v aplikáciach, ktoré môžu váš kód použivať.\n \n-* [Read about PSR-0][psr0]\n-* [Read about PSR-1][psr1]\n-* [Read about PSR-2][psr2]\n-* [Read about PSR-4][psr4]\n-* [Read about PEAR Coding Standards][pear-cs]\n-* [Read about Symfony Coding Standards][symfony-cs]\n+* [Prečítajte si o PSR-0][psr0]\n+* [Prečítajte si o PSR-1][psr1]\n+* [Prečítajte si o PSR-2][psr2]\n+* [Prečítajte si o PSR-4][psr4]\n+* [Prečítajte si o štandarde písania kódu PEAR][pear-cs]\n+* [Prečítajte si o štandarde písania kódu Symfony][symfony-cs]","path":"_posts/02-01-01-Code-Style-Guide.md","position":47,"original_position":47,"commit_id":"53a37acab84e7e02cae51b1afcf3fa7a6754a96d","original_commit_id":"53a37acab84e7e02cae51b1afcf3fa7a6754a96d","user":{"login":"lukashajdu","id":2539220,"avatar_url":"https://avatars.githubusercontent.com/u/2539220?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashajdu","html_url":"https://github.com/lukashajdu","followers_url":"https://api.github.com/users/lukashajdu/followers","following_url":"https://api.github.com/users/lukashajdu/following{/other_user}","gists_url":"https://api.github.com/users/lukashajdu/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashajdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashajdu/subscriptions","organizations_url":"https://api.github.com/users/lukashajdu/orgs","repos_url":"https://api.github.com/users/lukashajdu/repos","events_url":"https://api.github.com/users/lukashajdu/events{/privacy}","received_events_url":"https://api.github.com/users/lukashajdu/received_events","type":"User","site_admin":false},"body":"PEAR and ZEND coding standard is mentioned couple lines above, but missing in this list. It would be good to include it here.","created_at":"2016-10-12T15:39:22Z","updated_at":"2016-10-12T15:55:21Z","html_url":"https://github.com/lukashajdu/php-the-right-way/pull/3#discussion_r83034100","pull_request_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/comments/83034100"},"html":{"href":"https://github.com/lukashajdu/php-the-right-way/pull/3#discussion_r83034100"},"pull_request":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3","id":88969687,"html_url":"https://github.com/lukashajdu/php-the-right-way/pull/3","diff_url":"https://github.com/lukashajdu/php-the-right-way/pull/3.diff","patch_url":"https://github.com/lukashajdu/php-the-right-way/pull/3.patch","issue_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/3","number":3,"state":"open","locked":false,"title":"Translate code style guide","user":{"login":"lukashajdu","id":2539220,"avatar_url":"https://avatars.githubusercontent.com/u/2539220?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashajdu","html_url":"https://github.com/lukashajdu","followers_url":"https://api.github.com/users/lukashajdu/followers","following_url":"https://api.github.com/users/lukashajdu/following{/other_user}","gists_url":"https://api.github.com/users/lukashajdu/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashajdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashajdu/subscriptions","organizations_url":"https://api.github.com/users/lukashajdu/orgs","repos_url":"https://api.github.com/users/lukashajdu/repos","events_url":"https://api.github.com/users/lukashajdu/events{/privacy}","received_events_url":"https://api.github.com/users/lukashajdu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-12T08:01:07Z","updated_at":"2016-10-12T15:55:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44a802e9a6cd91b977b869acbeda2ee0d8c9dd30","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3/commits","review_comments_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3/comments","review_comment_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/3/comments","statuses_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/statuses/53a37acab84e7e02cae51b1afcf3fa7a6754a96d","head":{"label":"lukashajdu:feature/chapter-3","ref":"feature/chapter-3","sha":"53a37acab84e7e02cae51b1afcf3fa7a6754a96d","user":{"login":"lukashajdu","id":2539220,"avatar_url":"https://avatars.githubusercontent.com/u/2539220?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashajdu","html_url":"https://github.com/lukashajdu","followers_url":"https://api.github.com/users/lukashajdu/followers","following_url":"https://api.github.com/users/lukashajdu/following{/other_user}","gists_url":"https://api.github.com/users/lukashajdu/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashajdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashajdu/subscriptions","organizations_url":"https://api.github.com/users/lukashajdu/orgs","repos_url":"https://api.github.com/users/lukashajdu/repos","events_url":"https://api.github.com/users/lukashajdu/events{/privacy}","received_events_url":"https://api.github.com/users/lukashajdu/received_events","type":"User","site_admin":false},"repo":{"id":66630887,"name":"php-the-right-way","full_name":"lukashajdu/php-the-right-way","owner":{"login":"lukashajdu","id":2539220,"avatar_url":"https://avatars.githubusercontent.com/u/2539220?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashajdu","html_url":"https://github.com/lukashajdu","followers_url":"https://api.github.com/users/lukashajdu/followers","following_url":"https://api.github.com/users/lukashajdu/following{/other_user}","gists_url":"https://api.github.com/users/lukashajdu/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashajdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashajdu/subscriptions","organizations_url":"https://api.github.com/users/lukashajdu/orgs","repos_url":"https://api.github.com/users/lukashajdu/repos","events_url":"https://api.github.com/users/lukashajdu/events{/privacy}","received_events_url":"https://api.github.com/users/lukashajdu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukashajdu/php-the-right-way","description":"An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web","fork":true,"url":"https://api.github.com/repos/lukashajdu/php-the-right-way","forks_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/forks","keys_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/teams","hooks_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/hooks","issue_events_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/events{/number}","events_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/events","assignees_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/assignees{/user}","branches_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/branches{/branch}","tags_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/tags","blobs_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/statuses/{sha}","languages_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/languages","stargazers_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/stargazers","contributors_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/contributors","subscribers_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/subscribers","subscription_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/subscription","commits_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/contents/{+path}","compare_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/merges","archive_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/downloads","issues_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues{/number}","pulls_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls{/number}","milestones_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/milestones{/number}","notifications_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/labels{/name}","releases_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/releases{/id}","deployments_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/deployments","created_at":"2016-08-26T08:29:55Z","updated_at":"2016-09-01T16:57:38Z","pushed_at":"2016-10-12T08:01:08Z","git_url":"git://github.com/lukashajdu/php-the-right-way.git","ssh_url":"git@github.com:lukashajdu/php-the-right-way.git","clone_url":"https://github.com/lukashajdu/php-the-right-way.git","svn_url":"https://github.com/lukashajdu/php-the-right-way","homepage":"http://www.phptherightway.com","size":1363,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"gh-pages"}},"base":{"label":"lukashajdu:gh-pages","ref":"gh-pages","sha":"950a121174736f92566c31dc56bd18030f44ab6f","user":{"login":"lukashajdu","id":2539220,"avatar_url":"https://avatars.githubusercontent.com/u/2539220?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashajdu","html_url":"https://github.com/lukashajdu","followers_url":"https://api.github.com/users/lukashajdu/followers","following_url":"https://api.github.com/users/lukashajdu/following{/other_user}","gists_url":"https://api.github.com/users/lukashajdu/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashajdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashajdu/subscriptions","organizations_url":"https://api.github.com/users/lukashajdu/orgs","repos_url":"https://api.github.com/users/lukashajdu/repos","events_url":"https://api.github.com/users/lukashajdu/events{/privacy}","received_events_url":"https://api.github.com/users/lukashajdu/received_events","type":"User","site_admin":false},"repo":{"id":66630887,"name":"php-the-right-way","full_name":"lukashajdu/php-the-right-way","owner":{"login":"lukashajdu","id":2539220,"avatar_url":"https://avatars.githubusercontent.com/u/2539220?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashajdu","html_url":"https://github.com/lukashajdu","followers_url":"https://api.github.com/users/lukashajdu/followers","following_url":"https://api.github.com/users/lukashajdu/following{/other_user}","gists_url":"https://api.github.com/users/lukashajdu/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashajdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashajdu/subscriptions","organizations_url":"https://api.github.com/users/lukashajdu/orgs","repos_url":"https://api.github.com/users/lukashajdu/repos","events_url":"https://api.github.com/users/lukashajdu/events{/privacy}","received_events_url":"https://api.github.com/users/lukashajdu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukashajdu/php-the-right-way","description":"An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web","fork":true,"url":"https://api.github.com/repos/lukashajdu/php-the-right-way","forks_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/forks","keys_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/teams","hooks_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/hooks","issue_events_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/events{/number}","events_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/events","assignees_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/assignees{/user}","branches_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/branches{/branch}","tags_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/tags","blobs_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/statuses/{sha}","languages_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/languages","stargazers_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/stargazers","contributors_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/contributors","subscribers_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/subscribers","subscription_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/subscription","commits_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/contents/{+path}","compare_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/merges","archive_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/downloads","issues_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues{/number}","pulls_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls{/number}","milestones_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/milestones{/number}","notifications_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/labels{/name}","releases_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/releases{/id}","deployments_url":"https://api.github.com/repos/lukashajdu/php-the-right-way/deployments","created_at":"2016-08-26T08:29:55Z","updated_at":"2016-09-01T16:57:38Z","pushed_at":"2016-10-12T08:01:08Z","git_url":"git://github.com/lukashajdu/php-the-right-way.git","ssh_url":"git@github.com:lukashajdu/php-the-right-way.git","clone_url":"https://github.com/lukashajdu/php-the-right-way.git","svn_url":"https://github.com/lukashajdu/php-the-right-way","homepage":"http://www.phptherightway.com","size":1363,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3"},"html":{"href":"https://github.com/lukashajdu/php-the-right-way/pull/3"},"issue":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/3"},"comments":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/lukashajdu/php-the-right-way/statuses/53a37acab84e7e02cae51b1afcf3fa7a6754a96d"}}}}
{"actor":{"display_login":"lukashajdu"}}