{"action":"created","comment":{"url":"https://api.github.com/repos/Codeception/Codeception/pulls/comments/234832282","pull_request_review_id":176558936,"id":234832282,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDgzMjI4Mg==","diff_hunk":"@@ -126,14 +126,26 @@ protected function typeComparison($data, $jsonType)\n                 }\n                 continue;\n             }\n-            $matchTypes = preg_split(\"#(?![^]\\(]*\\))\\|#\", $type);\n-            $matched = false;\n+\n+            $regexes = [];\n+\n+            preg_match_all('/:regex\\((.*?[!\"#$%&\\'*+,.\\/:;=?@^_`|~-])\\)/', $type, $regexes);\n+\n+            $type = preg_replace_callback('/:regex\\((.*?[!\"#$%&\\'*+,.\\/:;=?@^_`|~-])\\)/', function ($m)\n+            {","path":"src/Codeception/Util/JsonType.php","position":35,"original_position":35,"commit_id":"77ae3fe4423a297169ce64bdca42d929a0e0fcd8","original_commit_id":"77ae3fe4423a297169ce64bdca42d929a0e0fcd8","user":{"login":"Nitpick-CI","id":12626182,"node_id":"MDQ6VXNlcjEyNjI2MTgy","avatar_url":"https://avatars1.githubusercontent.com/u/12626182?v=4","gravatar_id":"","url":"https://api.github.com/users/Nitpick-CI","html_url":"https://github.com/Nitpick-CI","followers_url":"https://api.github.com/users/Nitpick-CI/followers","following_url":"https://api.github.com/users/Nitpick-CI/following{/other_user}","gists_url":"https://api.github.com/users/Nitpick-CI/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitpick-CI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitpick-CI/subscriptions","organizations_url":"https://api.github.com/users/Nitpick-CI/orgs","repos_url":"https://api.github.com/users/Nitpick-CI/repos","events_url":"https://api.github.com/users/Nitpick-CI/events{/privacy}","received_events_url":"https://api.github.com/users/Nitpick-CI/received_events","type":"User","site_admin":false},"body":"Opening brace should be on the same line as the declaration","created_at":"2018-11-20T00:29:32Z","updated_at":"2018-11-20T00:29:32Z","html_url":"https://github.com/Codeception/Codeception/pull/5273#discussion_r234832282","pull_request_url":"https://api.github.com/repos/Codeception/Codeception/pulls/5273","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Codeception/Codeception/pulls/comments/234832282"},"html":{"href":"https://github.com/Codeception/Codeception/pull/5273#discussion_r234832282"},"pull_request":{"href":"https://api.github.com/repos/Codeception/Codeception/pulls/5273"}}},"pull_request":{"url":"https://api.github.com/repos/Codeception/Codeception/pulls/5273","id":232155445,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTU1NDQ1","html_url":"https://github.com/Codeception/Codeception/pull/5273","diff_url":"https://github.com/Codeception/Codeception/pull/5273.diff","patch_url":"https://github.com/Codeception/Codeception/pull/5273.patch","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/5273","number":5273,"state":"open","locked":false,"title":"Issue 2501","user":{"login":"ellisgl","id":94559,"node_id":"MDQ6VXNlcjk0NTU5","avatar_url":"https://avatars2.githubusercontent.com/u/94559?v=4","gravatar_id":"","url":"https://api.github.com/users/ellisgl","html_url":"https://github.com/ellisgl","followers_url":"https://api.github.com/users/ellisgl/followers","following_url":"https://api.github.com/users/ellisgl/following{/other_user}","gists_url":"https://api.github.com/users/ellisgl/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisgl/subscriptions","organizations_url":"https://api.github.com/users/ellisgl/orgs","repos_url":"https://api.github.com/users/ellisgl/repos","events_url":"https://api.github.com/users/ellisgl/events{/privacy}","received_events_url":"https://api.github.com/users/ellisgl/received_events","type":"User","site_admin":false},"body":"Fixes regex filter handling in Util\\JsonType","created_at":"2018-11-20T00:29:23Z","updated_at":"2018-11-20T00:29:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f96f3a4f3cb3b68a1c64257537e7d643233598bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Codeception/Codeception/pulls/5273/commits","review_comments_url":"https://api.github.com/repos/Codeception/Codeception/pulls/5273/comments","review_comment_url":"https://api.github.com/repos/Codeception/Codeception/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/5273/comments","statuses_url":"https://api.github.com/repos/Codeception/Codeception/statuses/77ae3fe4423a297169ce64bdca42d929a0e0fcd8","head":{"label":"ellisgl:ISSUE-2501","ref":"ISSUE-2501","sha":"77ae3fe4423a297169ce64bdca42d929a0e0fcd8","user":{"login":"ellisgl","id":94559,"node_id":"MDQ6VXNlcjk0NTU5","avatar_url":"https://avatars2.githubusercontent.com/u/94559?v=4","gravatar_id":"","url":"https://api.github.com/users/ellisgl","html_url":"https://github.com/ellisgl","followers_url":"https://api.github.com/users/ellisgl/followers","following_url":"https://api.github.com/users/ellisgl/following{/other_user}","gists_url":"https://api.github.com/users/ellisgl/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisgl/subscriptions","organizations_url":"https://api.github.com/users/ellisgl/orgs","repos_url":"https://api.github.com/users/ellisgl/repos","events_url":"https://api.github.com/users/ellisgl/events{/privacy}","received_events_url":"https://api.github.com/users/ellisgl/received_events","type":"User","site_admin":false},"repo":{"id":158220167,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgyMjAxNjc=","name":"Codeception","full_name":"ellisgl/Codeception","private":false,"owner":{"login":"ellisgl","id":94559,"node_id":"MDQ6VXNlcjk0NTU5","avatar_url":"https://avatars2.githubusercontent.com/u/94559?v=4","gravatar_id":"","url":"https://api.github.com/users/ellisgl","html_url":"https://github.com/ellisgl","followers_url":"https://api.github.com/users/ellisgl/followers","following_url":"https://api.github.com/users/ellisgl/following{/other_user}","gists_url":"https://api.github.com/users/ellisgl/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisgl/subscriptions","organizations_url":"https://api.github.com/users/ellisgl/orgs","repos_url":"https://api.github.com/users/ellisgl/repos","events_url":"https://api.github.com/users/ellisgl/events{/privacy}","received_events_url":"https://api.github.com/users/ellisgl/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ellisgl/Codeception","description":"Full-stack testing PHP framework","fork":true,"url":"https://api.github.com/repos/ellisgl/Codeception","forks_url":"https://api.github.com/repos/ellisgl/Codeception/forks","keys_url":"https://api.github.com/repos/ellisgl/Codeception/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ellisgl/Codeception/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ellisgl/Codeception/teams","hooks_url":"https://api.github.com/repos/ellisgl/Codeception/hooks","issue_events_url":"https://api.github.com/repos/ellisgl/Codeception/issues/events{/number}","events_url":"https://api.github.com/repos/ellisgl/Codeception/events","assignees_url":"https://api.github.com/repos/ellisgl/Codeception/assignees{/user}","branches_url":"https://api.github.com/repos/ellisgl/Codeception/branches{/branch}","tags_url":"https://api.github.com/repos/ellisgl/Codeception/tags","blobs_url":"https://api.github.com/repos/ellisgl/Codeception/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ellisgl/Codeception/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ellisgl/Codeception/git/refs{/sha}","trees_url":"https://api.github.com/repos/ellisgl/Codeception/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ellisgl/Codeception/statuses/{sha}","languages_url":"https://api.github.com/repos/ellisgl/Codeception/languages","stargazers_url":"https://api.github.com/repos/ellisgl/Codeception/stargazers","contributors_url":"https://api.github.com/repos/ellisgl/Codeception/contributors","subscribers_url":"https://api.github.com/repos/ellisgl/Codeception/subscribers","subscription_url":"https://api.github.com/repos/ellisgl/Codeception/subscription","commits_url":"https://api.github.com/repos/ellisgl/Codeception/commits{/sha}","git_commits_url":"https://api.github.com/repos/ellisgl/Codeception/git/commits{/sha}","comments_url":"https://api.github.com/repos/ellisgl/Codeception/comments{/number}","issue_comment_url":"https://api.github.com/repos/ellisgl/Codeception/issues/comments{/number}","contents_url":"https://api.github.com/repos/ellisgl/Codeception/contents/{+path}","compare_url":"https://api.github.com/repos/ellisgl/Codeception/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ellisgl/Codeception/merges","archive_url":"https://api.github.com/repos/ellisgl/Codeception/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ellisgl/Codeception/downloads","issues_url":"https://api.github.com/repos/ellisgl/Codeception/issues{/number}","pulls_url":"https://api.github.com/repos/ellisgl/Codeception/pulls{/number}","milestones_url":"https://api.github.com/repos/ellisgl/Codeception/milestones{/number}","notifications_url":"https://api.github.com/repos/ellisgl/Codeception/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ellisgl/Codeception/labels{/name}","releases_url":"https://api.github.com/repos/ellisgl/Codeception/releases{/id}","deployments_url":"https://api.github.com/repos/ellisgl/Codeception/deployments","created_at":"2018-11-19T12:37:11Z","updated_at":"2018-11-19T12:37:16Z","pushed_at":"2018-11-20T00:28:27Z","git_url":"git://github.com/ellisgl/Codeception.git","ssh_url":"git@github.com:ellisgl/Codeception.git","clone_url":"https://github.com/ellisgl/Codeception.git","svn_url":"https://github.com/ellisgl/Codeception","homepage":"http://codeception.com","size":70884,"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,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.5"}},"base":{"label":"Codeception:2.5","ref":"2.5","sha":"d7f94cb503e4a6ffd467cf504019bb0b2f58e5df","user":{"login":"Codeception","id":1288753,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODg3NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1288753?v=4","gravatar_id":"","url":"https://api.github.com/users/Codeception","html_url":"https://github.com/Codeception","followers_url":"https://api.github.com/users/Codeception/followers","following_url":"https://api.github.com/users/Codeception/following{/other_user}","gists_url":"https://api.github.com/users/Codeception/gists{/gist_id}","starred_url":"https://api.github.com/users/Codeception/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codeception/subscriptions","organizations_url":"https://api.github.com/users/Codeception/orgs","repos_url":"https://api.github.com/users/Codeception/repos","events_url":"https://api.github.com/users/Codeception/events{/privacy}","received_events_url":"https://api.github.com/users/Codeception/received_events","type":"Organization","site_admin":false},"repo":{"id":2880469,"node_id":"MDEwOlJlcG9zaXRvcnkyODgwNDY5","name":"Codeception","full_name":"Codeception/Codeception","private":false,"owner":{"login":"Codeception","id":1288753,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODg3NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1288753?v=4","gravatar_id":"","url":"https://api.github.com/users/Codeception","html_url":"https://github.com/Codeception","followers_url":"https://api.github.com/users/Codeception/followers","following_url":"https://api.github.com/users/Codeception/following{/other_user}","gists_url":"https://api.github.com/users/Codeception/gists{/gist_id}","starred_url":"https://api.github.com/users/Codeception/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codeception/subscriptions","organizations_url":"https://api.github.com/users/Codeception/orgs","repos_url":"https://api.github.com/users/Codeception/repos","events_url":"https://api.github.com/users/Codeception/events{/privacy}","received_events_url":"https://api.github.com/users/Codeception/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Codeception/Codeception","description":"Full-stack testing PHP framework","fork":false,"url":"https://api.github.com/repos/Codeception/Codeception","forks_url":"https://api.github.com/repos/Codeception/Codeception/forks","keys_url":"https://api.github.com/repos/Codeception/Codeception/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Codeception/Codeception/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Codeception/Codeception/teams","hooks_url":"https://api.github.com/repos/Codeception/Codeception/hooks","issue_events_url":"https://api.github.com/repos/Codeception/Codeception/issues/events{/number}","events_url":"https://api.github.com/repos/Codeception/Codeception/events","assignees_url":"https://api.github.com/repos/Codeception/Codeception/assignees{/user}","branches_url":"https://api.github.com/repos/Codeception/Codeception/branches{/branch}","tags_url":"https://api.github.com/repos/Codeception/Codeception/tags","blobs_url":"https://api.github.com/repos/Codeception/Codeception/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Codeception/Codeception/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Codeception/Codeception/git/refs{/sha}","trees_url":"https://api.github.com/repos/Codeception/Codeception/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Codeception/Codeception/statuses/{sha}","languages_url":"https://api.github.com/repos/Codeception/Codeception/languages","stargazers_url":"https://api.github.com/repos/Codeception/Codeception/stargazers","contributors_url":"https://api.github.com/repos/Codeception/Codeception/contributors","subscribers_url":"https://api.github.com/repos/Codeception/Codeception/subscribers","subscription_url":"https://api.github.com/repos/Codeception/Codeception/subscription","commits_url":"https://api.github.com/repos/Codeception/Codeception/commits{/sha}","git_commits_url":"https://api.github.com/repos/Codeception/Codeception/git/commits{/sha}","comments_url":"https://api.github.com/repos/Codeception/Codeception/comments{/number}","issue_comment_url":"https://api.github.com/repos/Codeception/Codeception/issues/comments{/number}","contents_url":"https://api.github.com/repos/Codeception/Codeception/contents/{+path}","compare_url":"https://api.github.com/repos/Codeception/Codeception/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Codeception/Codeception/merges","archive_url":"https://api.github.com/repos/Codeception/Codeception/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Codeception/Codeception/downloads","issues_url":"https://api.github.com/repos/Codeception/Codeception/issues{/number}","pulls_url":"https://api.github.com/repos/Codeception/Codeception/pulls{/number}","milestones_url":"https://api.github.com/repos/Codeception/Codeception/milestones{/number}","notifications_url":"https://api.github.com/repos/Codeception/Codeception/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Codeception/Codeception/labels{/name}","releases_url":"https://api.github.com/repos/Codeception/Codeception/releases{/id}","deployments_url":"https://api.github.com/repos/Codeception/Codeception/deployments","created_at":"2011-11-30T04:06:44Z","updated_at":"2018-11-19T17:32:37Z","pushed_at":"2018-11-20T00:29:24Z","git_url":"git://github.com/Codeception/Codeception.git","ssh_url":"git@github.com:Codeception/Codeception.git","clone_url":"https://github.com/Codeception/Codeception.git","svn_url":"https://github.com/Codeception/Codeception","homepage":"http://codeception.com","size":70883,"stargazers_count":3532,"watchers_count":3532,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1202,"mirror_url":null,"archived":false,"open_issues_count":475,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1202,"open_issues":475,"watchers":3532,"default_branch":"2.5"}},"_links":{"self":{"href":"https://api.github.com/repos/Codeception/Codeception/pulls/5273"},"html":{"href":"https://github.com/Codeception/Codeception/pull/5273"},"issue":{"href":"https://api.github.com/repos/Codeception/Codeception/issues/5273"},"comments":{"href":"https://api.github.com/repos/Codeception/Codeception/issues/5273/comments"},"review_comments":{"href":"https://api.github.com/repos/Codeception/Codeception/pulls/5273/comments"},"review_comment":{"href":"https://api.github.com/repos/Codeception/Codeception/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Codeception/Codeception/pulls/5273/commits"},"statuses":{"href":"https://api.github.com/repos/Codeception/Codeception/statuses/77ae3fe4423a297169ce64bdca42d929a0e0fcd8"}},"author_association":"NONE"}}
{"actor":{"display_login":"Nitpick-CI"}}