{"action":"created","comment":{"url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/comments/123352431","pull_request_review_id":45547695,"id":123352431,"diff_hunk":"@@ -285,66 +317,66 @@ private function isUtf8($string)\n                 | [\\xF1-\\xF3][\\x80-\\xBF]{3}\n                 | \\xF4[\\x80-\\x8F][\\x80-\\xBF]{2}\n                 )*$%xs',\n-                $string\n+            $string\n         );\n-\t}\n-\t\n-\t\n-\tpublic function __set($name, $value)\n-\t{\n-\t\tif(strpos($name, 'data_') === 0)\n-\t\t{\n-\t\t\tif($value instanceof \\DateTime)\n-\t\t\t{\n-\t\t\t\t$property = \"_$name\";\n-\t\t\t\t$this->$property = $value;\n-\t\t\t}\n-\t\t\telse\n-\t\t\t\tthrow new InvalidArgumentException(\"$nome need to be instance of DateTime\");\n-\t\t}\n-\t\telse \n-\t\t\tthrow new Exception(\"property '$name' dont exists\");\n-\t}\n-\n-\tpublic function getText()\n-\t{\n+    }\n+\n+    public function __set($name, $value)\n+    {\n+        if (strpos($name, 'data_') === 0) {\n+            if ($value instanceof \\DateTime) {\n+                $property        = \"_$name\";\n+                $this->$property = $value;\n+            } else {\n+                throw new InvalidArgumentException(\"$nome need to be instance of DateTime\");\n+            }\n+        } else {\n+            throw new Exception(\"property '$name' dont exists\");\n+        }\n+    }\n+\n+    public function getText()","path":"src/Cnab/Remessa/Cnab400/Arquivo.php","position":557,"original_position":557,"commit_id":"f028908e8c24f0a5506680a5f1261094822c0531","original_commit_id":"f028908e8c24f0a5506680a5f1261094822c0531","user":{"login":"ebert[bot]","id":23344435,"avatar_url":"https://avatars0.githubusercontent.com/in/597?v=3","gravatar_id":"","url":"https://api.github.com/users/ebert%5Bbot%5D","html_url":"https://github.com/apps/ebert","followers_url":"https://api.github.com/users/ebert%5Bbot%5D/followers","following_url":"https://api.github.com/users/ebert%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/ebert%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/ebert%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebert%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/ebert%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/ebert%5Bbot%5D/repos","events_url":"https://api.github.com/users/ebert%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/ebert%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"The variable $numero_sequencial is not named in camelCase.","created_at":"2017-06-21T20:07:32Z","updated_at":"2017-06-21T20:07:32Z","html_url":"https://github.com/mtferreira/CnabPHP/pull/7#discussion_r123352431","pull_request_url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/comments/123352431"},"html":{"href":"https://github.com/mtferreira/CnabPHP/pull/7#discussion_r123352431"},"pull_request":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7","id":126849379,"html_url":"https://github.com/mtferreira/CnabPHP/pull/7","diff_url":"https://github.com/mtferreira/CnabPHP/pull/7.diff","patch_url":"https://github.com/mtferreira/CnabPHP/pull/7.patch","issue_url":"https://api.github.com/repos/mtferreira/CnabPHP/issues/7","number":7,"state":"open","locked":false,"title":"Alterações para cnab400 bradesco","user":{"login":"conneredu300","id":15909095,"avatar_url":"https://avatars3.githubusercontent.com/u/15909095?v=3","gravatar_id":"","url":"https://api.github.com/users/conneredu300","html_url":"https://github.com/conneredu300","followers_url":"https://api.github.com/users/conneredu300/followers","following_url":"https://api.github.com/users/conneredu300/following{/other_user}","gists_url":"https://api.github.com/users/conneredu300/gists{/gist_id}","starred_url":"https://api.github.com/users/conneredu300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conneredu300/subscriptions","organizations_url":"https://api.github.com/users/conneredu300/orgs","repos_url":"https://api.github.com/users/conneredu300/repos","events_url":"https://api.github.com/users/conneredu300/events{/privacy}","received_events_url":"https://api.github.com/users/conneredu300/received_events","type":"User","site_admin":false},"body":"Alterações necessárias para funcionamento do cnab400 bradesco","created_at":"2017-06-21T20:06:59Z","updated_at":"2017-06-21T20:07:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb4e5a5402c3a4b8aca67084049ccb4aaec06394","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7/commits","review_comments_url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7/comments","review_comment_url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtferreira/CnabPHP/issues/7/comments","statuses_url":"https://api.github.com/repos/mtferreira/CnabPHP/statuses/f028908e8c24f0a5506680a5f1261094822c0531","head":{"label":"conneredu300:master","ref":"master","sha":"f028908e8c24f0a5506680a5f1261094822c0531","user":{"login":"conneredu300","id":15909095,"avatar_url":"https://avatars3.githubusercontent.com/u/15909095?v=3","gravatar_id":"","url":"https://api.github.com/users/conneredu300","html_url":"https://github.com/conneredu300","followers_url":"https://api.github.com/users/conneredu300/followers","following_url":"https://api.github.com/users/conneredu300/following{/other_user}","gists_url":"https://api.github.com/users/conneredu300/gists{/gist_id}","starred_url":"https://api.github.com/users/conneredu300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conneredu300/subscriptions","organizations_url":"https://api.github.com/users/conneredu300/orgs","repos_url":"https://api.github.com/users/conneredu300/repos","events_url":"https://api.github.com/users/conneredu300/events{/privacy}","received_events_url":"https://api.github.com/users/conneredu300/received_events","type":"User","site_admin":false},"repo":{"id":84562030,"name":"CnabPHP","full_name":"conneredu300/CnabPHP","owner":{"login":"conneredu300","id":15909095,"avatar_url":"https://avatars3.githubusercontent.com/u/15909095?v=3","gravatar_id":"","url":"https://api.github.com/users/conneredu300","html_url":"https://github.com/conneredu300","followers_url":"https://api.github.com/users/conneredu300/followers","following_url":"https://api.github.com/users/conneredu300/following{/other_user}","gists_url":"https://api.github.com/users/conneredu300/gists{/gist_id}","starred_url":"https://api.github.com/users/conneredu300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conneredu300/subscriptions","organizations_url":"https://api.github.com/users/conneredu300/orgs","repos_url":"https://api.github.com/users/conneredu300/repos","events_url":"https://api.github.com/users/conneredu300/events{/privacy}","received_events_url":"https://api.github.com/users/conneredu300/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/conneredu300/CnabPHP","description":"Projeto para criar arquivos de remessas e processar arquivos de retorno no formato CNAB, utilizado nos bancos geralmente para boleto bancário.","fork":true,"url":"https://api.github.com/repos/conneredu300/CnabPHP","forks_url":"https://api.github.com/repos/conneredu300/CnabPHP/forks","keys_url":"https://api.github.com/repos/conneredu300/CnabPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conneredu300/CnabPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conneredu300/CnabPHP/teams","hooks_url":"https://api.github.com/repos/conneredu300/CnabPHP/hooks","issue_events_url":"https://api.github.com/repos/conneredu300/CnabPHP/issues/events{/number}","events_url":"https://api.github.com/repos/conneredu300/CnabPHP/events","assignees_url":"https://api.github.com/repos/conneredu300/CnabPHP/assignees{/user}","branches_url":"https://api.github.com/repos/conneredu300/CnabPHP/branches{/branch}","tags_url":"https://api.github.com/repos/conneredu300/CnabPHP/tags","blobs_url":"https://api.github.com/repos/conneredu300/CnabPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conneredu300/CnabPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conneredu300/CnabPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/conneredu300/CnabPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conneredu300/CnabPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/conneredu300/CnabPHP/languages","stargazers_url":"https://api.github.com/repos/conneredu300/CnabPHP/stargazers","contributors_url":"https://api.github.com/repos/conneredu300/CnabPHP/contributors","subscribers_url":"https://api.github.com/repos/conneredu300/CnabPHP/subscribers","subscription_url":"https://api.github.com/repos/conneredu300/CnabPHP/subscription","commits_url":"https://api.github.com/repos/conneredu300/CnabPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/conneredu300/CnabPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/conneredu300/CnabPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/conneredu300/CnabPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/conneredu300/CnabPHP/contents/{+path}","compare_url":"https://api.github.com/repos/conneredu300/CnabPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conneredu300/CnabPHP/merges","archive_url":"https://api.github.com/repos/conneredu300/CnabPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conneredu300/CnabPHP/downloads","issues_url":"https://api.github.com/repos/conneredu300/CnabPHP/issues{/number}","pulls_url":"https://api.github.com/repos/conneredu300/CnabPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/conneredu300/CnabPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/conneredu300/CnabPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conneredu300/CnabPHP/labels{/name}","releases_url":"https://api.github.com/repos/conneredu300/CnabPHP/releases{/id}","deployments_url":"https://api.github.com/repos/conneredu300/CnabPHP/deployments","created_at":"2017-03-10T13:22:02Z","updated_at":"2017-03-10T13:22:04Z","pushed_at":"2017-06-21T20:05:57Z","git_url":"git://github.com/conneredu300/CnabPHP.git","ssh_url":"git@github.com:conneredu300/CnabPHP.git","clone_url":"https://github.com/conneredu300/CnabPHP.git","svn_url":"https://github.com/conneredu300/CnabPHP","homepage":null,"size":276,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"mtferreira:master","ref":"master","sha":"e94d3bc3f9951385a7fdf9ebd0d733b91b811b6e","user":{"login":"mtferreira","id":6555164,"avatar_url":"https://avatars1.githubusercontent.com/u/6555164?v=3","gravatar_id":"","url":"https://api.github.com/users/mtferreira","html_url":"https://github.com/mtferreira","followers_url":"https://api.github.com/users/mtferreira/followers","following_url":"https://api.github.com/users/mtferreira/following{/other_user}","gists_url":"https://api.github.com/users/mtferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/mtferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtferreira/subscriptions","organizations_url":"https://api.github.com/users/mtferreira/orgs","repos_url":"https://api.github.com/users/mtferreira/repos","events_url":"https://api.github.com/users/mtferreira/events{/privacy}","received_events_url":"https://api.github.com/users/mtferreira/received_events","type":"User","site_admin":false},"repo":{"id":72880216,"name":"CnabPHP","full_name":"mtferreira/CnabPHP","owner":{"login":"mtferreira","id":6555164,"avatar_url":"https://avatars1.githubusercontent.com/u/6555164?v=3","gravatar_id":"","url":"https://api.github.com/users/mtferreira","html_url":"https://github.com/mtferreira","followers_url":"https://api.github.com/users/mtferreira/followers","following_url":"https://api.github.com/users/mtferreira/following{/other_user}","gists_url":"https://api.github.com/users/mtferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/mtferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtferreira/subscriptions","organizations_url":"https://api.github.com/users/mtferreira/orgs","repos_url":"https://api.github.com/users/mtferreira/repos","events_url":"https://api.github.com/users/mtferreira/events{/privacy}","received_events_url":"https://api.github.com/users/mtferreira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtferreira/CnabPHP","description":"Projeto para criar arquivos de remessas e processar arquivos de retorno no formato CNAB, utilizado nos bancos geralmente para boleto bancário.","fork":true,"url":"https://api.github.com/repos/mtferreira/CnabPHP","forks_url":"https://api.github.com/repos/mtferreira/CnabPHP/forks","keys_url":"https://api.github.com/repos/mtferreira/CnabPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtferreira/CnabPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtferreira/CnabPHP/teams","hooks_url":"https://api.github.com/repos/mtferreira/CnabPHP/hooks","issue_events_url":"https://api.github.com/repos/mtferreira/CnabPHP/issues/events{/number}","events_url":"https://api.github.com/repos/mtferreira/CnabPHP/events","assignees_url":"https://api.github.com/repos/mtferreira/CnabPHP/assignees{/user}","branches_url":"https://api.github.com/repos/mtferreira/CnabPHP/branches{/branch}","tags_url":"https://api.github.com/repos/mtferreira/CnabPHP/tags","blobs_url":"https://api.github.com/repos/mtferreira/CnabPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtferreira/CnabPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtferreira/CnabPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtferreira/CnabPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtferreira/CnabPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/mtferreira/CnabPHP/languages","stargazers_url":"https://api.github.com/repos/mtferreira/CnabPHP/stargazers","contributors_url":"https://api.github.com/repos/mtferreira/CnabPHP/contributors","subscribers_url":"https://api.github.com/repos/mtferreira/CnabPHP/subscribers","subscription_url":"https://api.github.com/repos/mtferreira/CnabPHP/subscription","commits_url":"https://api.github.com/repos/mtferreira/CnabPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtferreira/CnabPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtferreira/CnabPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtferreira/CnabPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtferreira/CnabPHP/contents/{+path}","compare_url":"https://api.github.com/repos/mtferreira/CnabPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtferreira/CnabPHP/merges","archive_url":"https://api.github.com/repos/mtferreira/CnabPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtferreira/CnabPHP/downloads","issues_url":"https://api.github.com/repos/mtferreira/CnabPHP/issues{/number}","pulls_url":"https://api.github.com/repos/mtferreira/CnabPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/mtferreira/CnabPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/mtferreira/CnabPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtferreira/CnabPHP/labels{/name}","releases_url":"https://api.github.com/repos/mtferreira/CnabPHP/releases{/id}","deployments_url":"https://api.github.com/repos/mtferreira/CnabPHP/deployments","created_at":"2016-11-04T19:45:59Z","updated_at":"2017-04-27T16:30:04Z","pushed_at":"2017-06-21T20:07:00Z","git_url":"git://github.com/mtferreira/CnabPHP.git","ssh_url":"git@github.com:mtferreira/CnabPHP.git","clone_url":"https://github.com/mtferreira/CnabPHP.git","svn_url":"https://github.com/mtferreira/CnabPHP","homepage":null,"size":277,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7"},"html":{"href":"https://github.com/mtferreira/CnabPHP/pull/7"},"issue":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/issues/7"},"comments":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/mtferreira/CnabPHP/statuses/f028908e8c24f0a5506680a5f1261094822c0531"}}}}
{"actor":{"display_login":"ebert"}}