{"action":"created","comment":{"url":"https://api.github.com/repos/qa-tools/qa-tools/pulls/comments/27345554","id":27345554,"diff_hunk":"@@ -0,0 +1,80 @@\n+<?php\n+/**\n+ * This file is part of the QA-Tools library.\n+ * For the full copyright and license information, please view\n+ * the LICENSE file that was distributed with this source code.\n+ *\n+ * @copyright Alexander Obuhovich <aik.bold@gmail.com>\n+ * @link      https://github.com/qa-tools/qa-tools\n+ */\n+\n+namespace QATools\\QATools\\PageObject\\Annotation;\n+\n+\n+use mindplay\\annotations\\Annotation;\n+\n+/**\n+ * Annotation describing URL for the opened check.\n+ *\n+ * @usage('class'=>true, 'inherited'=>true, 'multiple'=>true)\n+ */\n+class PageUrlMatchAnnotation extends Annotation\n+{\n+\n+\t/**\n+\t * Perfect match for the url.\n+\t *\n+\t * @var string\n+\t */\n+\tpublic $url;\n+\n+\t/**\n+\t * Regexp match for the url.\n+\t *\n+\t * @var string\n+\t */\n+\tpublic $regexp;\n+\n+\t/**\n+\t * Match for the path.\n+\t *\n+\t * @var string|null\n+\t */\n+\tpublic $path;\n+\n+\t/**\n+\t * Match for query params.\n+\t *\n+\t * @var array\n+\t */\n+\tpublic $params = array();\n+\n+\t/**\n+\t * Match for http/https.\n+\t *\n+\t * @var boolean|null\n+\t */\n+\tpublic $secure;\n+\n+\t/**\n+\t * Match for anchor.\n+\t *\n+\t * @var string|null\n+\t */\n+\tpublic $anchor;","path":"library/QATools/QATools/PageObject/Annotation/PageUrlMatchAnnotation.php","position":64,"original_position":64,"commit_id":"fae5c6ec474cbc44719e05d29e33866bad2a8cbb","original_commit_id":"fae5c6ec474cbc44719e05d29e33866bad2a8cbb","user":{"login":"evangelion1204","id":685814,"avatar_url":"https://avatars.githubusercontent.com/u/685814?v=3","gravatar_id":"","url":"https://api.github.com/users/evangelion1204","html_url":"https://github.com/evangelion1204","followers_url":"https://api.github.com/users/evangelion1204/followers","following_url":"https://api.github.com/users/evangelion1204/following{/other_user}","gists_url":"https://api.github.com/users/evangelion1204/gists{/gist_id}","starred_url":"https://api.github.com/users/evangelion1204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evangelion1204/subscriptions","organizations_url":"https://api.github.com/users/evangelion1204/orgs","repos_url":"https://api.github.com/users/evangelion1204/repos","events_url":"https://api.github.com/users/evangelion1204/events{/privacy}","received_events_url":"https://api.github.com/users/evangelion1204/received_events","type":"User","site_admin":false},"body":"I added a live test and its possible. At least he passes :smile:","created_at":"2015-03-28T14:47:57Z","updated_at":"2015-03-28T14:47:57Z","html_url":"https://github.com/qa-tools/qa-tools/pull/124#discussion_r27345554","pull_request_url":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/qa-tools/qa-tools/pulls/comments/27345554"},"html":{"href":"https://github.com/qa-tools/qa-tools/pull/124#discussion_r27345554"},"pull_request":{"href":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124","id":30503344,"html_url":"https://github.com/qa-tools/qa-tools/pull/124","diff_url":"https://github.com/qa-tools/qa-tools/pull/124.diff","patch_url":"https://github.com/qa-tools/qa-tools/pull/124.patch","issue_url":"https://api.github.com/repos/qa-tools/qa-tools/issues/124","number":124,"state":"open","locked":false,"title":"Add page matcher","user":{"login":"evangelion1204","id":685814,"avatar_url":"https://avatars.githubusercontent.com/u/685814?v=3","gravatar_id":"","url":"https://api.github.com/users/evangelion1204","html_url":"https://github.com/evangelion1204","followers_url":"https://api.github.com/users/evangelion1204/followers","following_url":"https://api.github.com/users/evangelion1204/following{/other_user}","gists_url":"https://api.github.com/users/evangelion1204/gists{/gist_id}","starred_url":"https://api.github.com/users/evangelion1204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evangelion1204/subscriptions","organizations_url":"https://api.github.com/users/evangelion1204/orgs","repos_url":"https://api.github.com/users/evangelion1204/repos","events_url":"https://api.github.com/users/evangelion1204/events{/privacy}","received_events_url":"https://api.github.com/users/evangelion1204/received_events","type":"User","site_admin":false},"body":"First basic idea for the implementation of #121.\r\n\r\nCloses #121","created_at":"2015-03-04T20:54:23Z","updated_at":"2015-03-28T14:47:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96a899178b9312f5a3096f7fbe3cfb4577b58fd8","assignee":null,"milestone":{"url":"https://api.github.com/repos/qa-tools/qa-tools/milestones/4","html_url":"https://github.com/qa-tools/qa-tools/milestones/1.1.0","labels_url":"https://api.github.com/repos/qa-tools/qa-tools/milestones/4/labels","id":762304,"number":4,"title":"1.1.0","description":null,"creator":{"login":"aik099","id":1277526,"avatar_url":"https://avatars.githubusercontent.com/u/1277526?v=3","gravatar_id":"","url":"https://api.github.com/users/aik099","html_url":"https://github.com/aik099","followers_url":"https://api.github.com/users/aik099/followers","following_url":"https://api.github.com/users/aik099/following{/other_user}","gists_url":"https://api.github.com/users/aik099/gists{/gist_id}","starred_url":"https://api.github.com/users/aik099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aik099/subscriptions","organizations_url":"https://api.github.com/users/aik099/orgs","repos_url":"https://api.github.com/users/aik099/repos","events_url":"https://api.github.com/users/aik099/events{/privacy}","received_events_url":"https://api.github.com/users/aik099/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":18,"state":"open","created_at":"2014-08-22T08:46:33Z","updated_at":"2015-03-27T07:19:52Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124/commits","review_comments_url":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124/comments","review_comment_url":"https://api.github.com/repos/qa-tools/qa-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qa-tools/qa-tools/issues/124/comments","statuses_url":"https://api.github.com/repos/qa-tools/qa-tools/statuses/fae5c6ec474cbc44719e05d29e33866bad2a8cbb","head":{"label":"evangelion1204:121-page-matcher","ref":"121-page-matcher","sha":"fae5c6ec474cbc44719e05d29e33866bad2a8cbb","user":{"login":"evangelion1204","id":685814,"avatar_url":"https://avatars.githubusercontent.com/u/685814?v=3","gravatar_id":"","url":"https://api.github.com/users/evangelion1204","html_url":"https://github.com/evangelion1204","followers_url":"https://api.github.com/users/evangelion1204/followers","following_url":"https://api.github.com/users/evangelion1204/following{/other_user}","gists_url":"https://api.github.com/users/evangelion1204/gists{/gist_id}","starred_url":"https://api.github.com/users/evangelion1204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evangelion1204/subscriptions","organizations_url":"https://api.github.com/users/evangelion1204/orgs","repos_url":"https://api.github.com/users/evangelion1204/repos","events_url":"https://api.github.com/users/evangelion1204/events{/privacy}","received_events_url":"https://api.github.com/users/evangelion1204/received_events","type":"User","site_admin":false},"repo":{"id":19190646,"name":"qa-tools","full_name":"evangelion1204/qa-tools","owner":{"login":"evangelion1204","id":685814,"avatar_url":"https://avatars.githubusercontent.com/u/685814?v=3","gravatar_id":"","url":"https://api.github.com/users/evangelion1204","html_url":"https://github.com/evangelion1204","followers_url":"https://api.github.com/users/evangelion1204/followers","following_url":"https://api.github.com/users/evangelion1204/following{/other_user}","gists_url":"https://api.github.com/users/evangelion1204/gists{/gist_id}","starred_url":"https://api.github.com/users/evangelion1204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evangelion1204/subscriptions","organizations_url":"https://api.github.com/users/evangelion1204/orgs","repos_url":"https://api.github.com/users/evangelion1204/repos","events_url":"https://api.github.com/users/evangelion1204/events{/privacy}","received_events_url":"https://api.github.com/users/evangelion1204/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evangelion1204/qa-tools","description":"Library that provides easy-to-use way of interaction with web-page elements in functional tests using PageObject pattern.","fork":true,"url":"https://api.github.com/repos/evangelion1204/qa-tools","forks_url":"https://api.github.com/repos/evangelion1204/qa-tools/forks","keys_url":"https://api.github.com/repos/evangelion1204/qa-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evangelion1204/qa-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evangelion1204/qa-tools/teams","hooks_url":"https://api.github.com/repos/evangelion1204/qa-tools/hooks","issue_events_url":"https://api.github.com/repos/evangelion1204/qa-tools/issues/events{/number}","events_url":"https://api.github.com/repos/evangelion1204/qa-tools/events","assignees_url":"https://api.github.com/repos/evangelion1204/qa-tools/assignees{/user}","branches_url":"https://api.github.com/repos/evangelion1204/qa-tools/branches{/branch}","tags_url":"https://api.github.com/repos/evangelion1204/qa-tools/tags","blobs_url":"https://api.github.com/repos/evangelion1204/qa-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evangelion1204/qa-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evangelion1204/qa-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/evangelion1204/qa-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evangelion1204/qa-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/evangelion1204/qa-tools/languages","stargazers_url":"https://api.github.com/repos/evangelion1204/qa-tools/stargazers","contributors_url":"https://api.github.com/repos/evangelion1204/qa-tools/contributors","subscribers_url":"https://api.github.com/repos/evangelion1204/qa-tools/subscribers","subscription_url":"https://api.github.com/repos/evangelion1204/qa-tools/subscription","commits_url":"https://api.github.com/repos/evangelion1204/qa-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/evangelion1204/qa-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/evangelion1204/qa-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/evangelion1204/qa-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/evangelion1204/qa-tools/contents/{+path}","compare_url":"https://api.github.com/repos/evangelion1204/qa-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evangelion1204/qa-tools/merges","archive_url":"https://api.github.com/repos/evangelion1204/qa-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evangelion1204/qa-tools/downloads","issues_url":"https://api.github.com/repos/evangelion1204/qa-tools/issues{/number}","pulls_url":"https://api.github.com/repos/evangelion1204/qa-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/evangelion1204/qa-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/evangelion1204/qa-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evangelion1204/qa-tools/labels{/name}","releases_url":"https://api.github.com/repos/evangelion1204/qa-tools/releases{/id}","created_at":"2014-04-26T22:59:37Z","updated_at":"2014-06-25T20:34:00Z","pushed_at":"2015-03-26T22:10:51Z","git_url":"git://github.com/evangelion1204/qa-tools.git","ssh_url":"git@github.com:evangelion1204/qa-tools.git","clone_url":"https://github.com/evangelion1204/qa-tools.git","svn_url":"https://github.com/evangelion1204/qa-tools","homepage":"","size":1495,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"qa-tools:develop","ref":"develop","sha":"14fc02b52836ea51eb865d6733d280fedfc537f2","user":{"login":"qa-tools","id":7933716,"avatar_url":"https://avatars.githubusercontent.com/u/7933716?v=3","gravatar_id":"","url":"https://api.github.com/users/qa-tools","html_url":"https://github.com/qa-tools","followers_url":"https://api.github.com/users/qa-tools/followers","following_url":"https://api.github.com/users/qa-tools/following{/other_user}","gists_url":"https://api.github.com/users/qa-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/qa-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qa-tools/subscriptions","organizations_url":"https://api.github.com/users/qa-tools/orgs","repos_url":"https://api.github.com/users/qa-tools/repos","events_url":"https://api.github.com/users/qa-tools/events{/privacy}","received_events_url":"https://api.github.com/users/qa-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":14977523,"name":"qa-tools","full_name":"qa-tools/qa-tools","owner":{"login":"qa-tools","id":7933716,"avatar_url":"https://avatars.githubusercontent.com/u/7933716?v=3","gravatar_id":"","url":"https://api.github.com/users/qa-tools","html_url":"https://github.com/qa-tools","followers_url":"https://api.github.com/users/qa-tools/followers","following_url":"https://api.github.com/users/qa-tools/following{/other_user}","gists_url":"https://api.github.com/users/qa-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/qa-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qa-tools/subscriptions","organizations_url":"https://api.github.com/users/qa-tools/orgs","repos_url":"https://api.github.com/users/qa-tools/repos","events_url":"https://api.github.com/users/qa-tools/events{/privacy}","received_events_url":"https://api.github.com/users/qa-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qa-tools/qa-tools","description":"Library that provides easy-to-use way of interaction with web-page elements in functional tests using PageObject pattern.","fork":false,"url":"https://api.github.com/repos/qa-tools/qa-tools","forks_url":"https://api.github.com/repos/qa-tools/qa-tools/forks","keys_url":"https://api.github.com/repos/qa-tools/qa-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qa-tools/qa-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qa-tools/qa-tools/teams","hooks_url":"https://api.github.com/repos/qa-tools/qa-tools/hooks","issue_events_url":"https://api.github.com/repos/qa-tools/qa-tools/issues/events{/number}","events_url":"https://api.github.com/repos/qa-tools/qa-tools/events","assignees_url":"https://api.github.com/repos/qa-tools/qa-tools/assignees{/user}","branches_url":"https://api.github.com/repos/qa-tools/qa-tools/branches{/branch}","tags_url":"https://api.github.com/repos/qa-tools/qa-tools/tags","blobs_url":"https://api.github.com/repos/qa-tools/qa-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qa-tools/qa-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qa-tools/qa-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/qa-tools/qa-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qa-tools/qa-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/qa-tools/qa-tools/languages","stargazers_url":"https://api.github.com/repos/qa-tools/qa-tools/stargazers","contributors_url":"https://api.github.com/repos/qa-tools/qa-tools/contributors","subscribers_url":"https://api.github.com/repos/qa-tools/qa-tools/subscribers","subscription_url":"https://api.github.com/repos/qa-tools/qa-tools/subscription","commits_url":"https://api.github.com/repos/qa-tools/qa-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/qa-tools/qa-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/qa-tools/qa-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/qa-tools/qa-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/qa-tools/qa-tools/contents/{+path}","compare_url":"https://api.github.com/repos/qa-tools/qa-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qa-tools/qa-tools/merges","archive_url":"https://api.github.com/repos/qa-tools/qa-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qa-tools/qa-tools/downloads","issues_url":"https://api.github.com/repos/qa-tools/qa-tools/issues{/number}","pulls_url":"https://api.github.com/repos/qa-tools/qa-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/qa-tools/qa-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/qa-tools/qa-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qa-tools/qa-tools/labels{/name}","releases_url":"https://api.github.com/repos/qa-tools/qa-tools/releases{/id}","created_at":"2013-12-06T08:27:52Z","updated_at":"2015-03-28T09:03:45Z","pushed_at":"2015-03-28T09:03:44Z","git_url":"git://github.com/qa-tools/qa-tools.git","ssh_url":"git@github.com:qa-tools/qa-tools.git","clone_url":"https://github.com/qa-tools/qa-tools.git","svn_url":"https://github.com/qa-tools/qa-tools","homepage":"www.qa-tools.io","size":2999,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":28,"forks":6,"open_issues":28,"watchers":19,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124"},"html":{"href":"https://github.com/qa-tools/qa-tools/pull/124"},"issue":{"href":"https://api.github.com/repos/qa-tools/qa-tools/issues/124"},"comments":{"href":"https://api.github.com/repos/qa-tools/qa-tools/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/qa-tools/qa-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qa-tools/qa-tools/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/qa-tools/qa-tools/statuses/fae5c6ec474cbc44719e05d29e33866bad2a8cbb"}}}}