{"action":"created","comment":{"url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments/51520652","id":51520652,"diff_hunk":"@@ -84,79 +102,82 @@ public function display17() {\n  * @throws NotFoundException When the view file could not be found\n  *\tor MissingViewException in debug mode.\n  */\n-\tpublic function display() {\n-    $eeeeeeeeee;\n-    $aaaaaaaaaa;\n-    $bbbbbbbbbb;\n-    $aaaaaaaaaa;\n+    public function display()\n+    {\n+        $eeeeeeeeee;\n+        $aaaaaaaaaa;\n+        $bbbbbbbbbb;\n+        $aaaaaaaaaa;\n \n-    $cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc;\n-\t\t$path = func_get_args();\n+        $cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc;\n+        $path = func_get_args();\n \n-\t\t$count = count($path);\n-\t\tif (!$count) {\n-\t\t\treturn $this->redirect('/');\n-\t\t}\n-\t\t$page = $subpage = $title_for_layout = null;\n+        $count = count($path);\n+        if (!$count) {\n+            return $this->redirect('/');\n+        }\n+        $page = $subpage = $title_for_layout = null;\n \n-\t\tif (!empty($path[0])) {\n-\t\t\t$page = $path[0];\n-\t\t}\n-\t\tif (!empty($path[1])) {\n-\t\t\t$subpage = $path[1];\n-\t\t}\n-\t\tif (!empty($path[$count - 1])) {\n-\t\t\t$title_for_layout = Inflector::humanize($path[$count - 1]);\n-\t\t}\n-\t\t$this->set(compact('page', 'subpage', 'title_for_layout'));\n+        if (!empty($path[0])) {\n+            $page = $path[0];\n+        }\n+        if (!empty($path[1])) {\n+            $subpage = $path[1];\n+        }\n+        if (!empty($path[$count - 1])) {\n+            $title_for_layout = Inflector::humanize($path[$count - 1]);\n+        }\n+        $this->set(compact('page', 'subpage', 'title_for_layout'));\n \n-\t\ttry {\n-\t\t\t$this->render(implode('/', $path));\n-\t\t} catch (MissingViewException $e) {\n-\t\t\tif (Configure::read('debug')) {\n-\t\t\t\tthrow $e;\n-\t\t\t}\n-\t\t\tthrow new NotFoundException();\n-\t\t}\n-  }\n+        try {\n+            $this->render(implode('/', $path));\n+        } catch (MissingViewException $e) {\n+            if (Configure::read('debug')) {\n+                throw $e;\n+            }\n+            throw new NotFoundException();\n+        }\n+    }\n \n-  private $顧客名;\n+    private $顧客名;\n \n-  function set顧客名($v)\n-  {\n-    $this->顧客名 = $v;\n-    return $this;\n-  }\n+    public function set顧客名($v)","path":"app/Controller/PagesController.php","position":191,"original_position":191,"commit_id":"65afeebe790bbebb7e108996a287769bfdb47dee","original_commit_id":"65afeebe790bbebb7e108996a287769bfdb47dee","user":{"login":"actcat-bot","id":8168144,"avatar_url":"https://avatars.githubusercontent.com/u/8168144?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat-bot","html_url":"https://github.com/actcat-bot","followers_url":"https://api.github.com/users/actcat-bot/followers","following_url":"https://api.github.com/users/actcat-bot/following{/other_user}","gists_url":"https://api.github.com/users/actcat-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat-bot/subscriptions","organizations_url":"https://api.github.com/users/actcat-bot/orgs","repos_url":"https://api.github.com/users/actcat-bot/repos","events_url":"https://api.github.com/users/actcat-bot/events{/privacy}","received_events_url":"https://api.github.com/users/actcat-bot/received_events","type":"User","site_admin":false},"body":"__[phpmd]__\n* The method set顧客名 is not named in camelCase.\n* Avoid variables with short names like $v. Configured minimum length is 3.","created_at":"2016-02-02T03:52:54Z","updated_at":"2016-02-02T03:52:54Z","html_url":"https://github.com/actcat/sideci_php_sandbox/pull/103#discussion_r51520652","pull_request_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments/51520652"},"html":{"href":"https://github.com/actcat/sideci_php_sandbox/pull/103#discussion_r51520652"},"pull_request":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103","id":57937281,"html_url":"https://github.com/actcat/sideci_php_sandbox/pull/103","diff_url":"https://github.com/actcat/sideci_php_sandbox/pull/103.diff","patch_url":"https://github.com/actcat/sideci_php_sandbox/pull/103.patch","issue_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/103","number":103,"state":"open","locked":false,"title":"Applied fixes from SideCI","user":{"login":"vexus2","id":1228229,"avatar_url":"https://avatars.githubusercontent.com/u/1228229?v=3","gravatar_id":"","url":"https://api.github.com/users/vexus2","html_url":"https://github.com/vexus2","followers_url":"https://api.github.com/users/vexus2/followers","following_url":"https://api.github.com/users/vexus2/following{/other_user}","gists_url":"https://api.github.com/users/vexus2/gists{/gist_id}","starred_url":"https://api.github.com/users/vexus2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vexus2/subscriptions","organizations_url":"https://api.github.com/users/vexus2/orgs","repos_url":"https://api.github.com/users/vexus2/repos","events_url":"https://api.github.com/users/vexus2/events{/privacy}","received_events_url":"https://api.github.com/users/vexus2/received_events","type":"User","site_admin":false},"body":"Applies code style fixes from an codesniffer by [SideCI](https://www.sideci.com).","created_at":"2016-02-02T03:51:40Z","updated_at":"2016-02-02T03:52:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67e673375e4dee23b8ef113886280318eb98022a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103/commits","review_comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103/comments","review_comment_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/103/comments","statuses_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/65afeebe790bbebb7e108996a287769bfdb47dee","head":{"label":"actcat:sideci/20160202035133_codesniffer","ref":"sideci/20160202035133_codesniffer","sha":"65afeebe790bbebb7e108996a287769bfdb47dee","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":31297639,"name":"sideci_php_sandbox","full_name":"actcat/sideci_php_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_php_sandbox","description":"","fork":false,"url":"https://api.github.com/repos/actcat/sideci_php_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/deployments","created_at":"2015-02-25T04:45:36Z","updated_at":"2016-01-23T08:56:20Z","pushed_at":"2016-02-02T03:51:40Z","git_url":"git://github.com/actcat/sideci_php_sandbox.git","ssh_url":"git@github.com:actcat/sideci_php_sandbox.git","clone_url":"https://github.com/actcat/sideci_php_sandbox.git","svn_url":"https://github.com/actcat/sideci_php_sandbox","homepage":null,"size":8112,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":38,"forks":0,"open_issues":38,"watchers":1,"default_branch":"master"}},"base":{"label":"actcat:release_check_20160202105545","ref":"release_check_20160202105545","sha":"7cf75dcf9b6594dc8d9689c1fc5a1b44a1f5df18","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":31297639,"name":"sideci_php_sandbox","full_name":"actcat/sideci_php_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_php_sandbox","description":"","fork":false,"url":"https://api.github.com/repos/actcat/sideci_php_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/deployments","created_at":"2015-02-25T04:45:36Z","updated_at":"2016-01-23T08:56:20Z","pushed_at":"2016-02-02T03:51:40Z","git_url":"git://github.com/actcat/sideci_php_sandbox.git","ssh_url":"git@github.com:actcat/sideci_php_sandbox.git","clone_url":"https://github.com/actcat/sideci_php_sandbox.git","svn_url":"https://github.com/actcat/sideci_php_sandbox","homepage":null,"size":8112,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":38,"forks":0,"open_issues":38,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103"},"html":{"href":"https://github.com/actcat/sideci_php_sandbox/pull/103"},"issue":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/103"},"comments":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/65afeebe790bbebb7e108996a287769bfdb47dee"}}}}