{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/zendframework/zend-validator/pulls/23","id":40379583,"html_url":"https://github.com/zendframework/zend-validator/pull/23","diff_url":"https://github.com/zendframework/zend-validator/pull/23.diff","patch_url":"https://github.com/zendframework/zend-validator/pull/23.patch","issue_url":"https://api.github.com/repos/zendframework/zend-validator/issues/23","number":23,"state":"open","locked":false,"title":"Add isNotValid api","user":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"body":"I don't know if it's a good idea but I see a lot of this implementation\r\n```php\r\nif (!$validator->isValid()) {\r\n}\r\n```\r\nIn my opinion this is difficult to read.\r\nI know that a new api is an important upgrade but this is very easy to maintain and the code is more readable!\r\n```php\r\nif ($validator->isNotValid()) {\r\n}\r\n```\r\nIn this PR I have not added it into the Interface because it would be a big **BC Break**.. :)\r\n","created_at":"2015-07-20T18:02:22Z","updated_at":"2015-07-20T18:02:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendframework/zend-validator/pulls/23/commits","review_comments_url":"https://api.github.com/repos/zendframework/zend-validator/pulls/23/comments","review_comment_url":"https://api.github.com/repos/zendframework/zend-validator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendframework/zend-validator/issues/23/comments","statuses_url":"https://api.github.com/repos/zendframework/zend-validator/statuses/22367e0fab708b8e687c3128970f081b8a9ea098","head":{"label":"gianarb:feature/is-not-valid","ref":"feature/is-not-valid","sha":"22367e0fab708b8e687c3128970f081b8a9ea098","user":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"repo":{"id":39399409,"name":"zend-validator","full_name":"gianarb/zend-validator","owner":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gianarb/zend-validator","description":"Validator component from Zend Framework","fork":true,"url":"https://api.github.com/repos/gianarb/zend-validator","forks_url":"https://api.github.com/repos/gianarb/zend-validator/forks","keys_url":"https://api.github.com/repos/gianarb/zend-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gianarb/zend-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gianarb/zend-validator/teams","hooks_url":"https://api.github.com/repos/gianarb/zend-validator/hooks","issue_events_url":"https://api.github.com/repos/gianarb/zend-validator/issues/events{/number}","events_url":"https://api.github.com/repos/gianarb/zend-validator/events","assignees_url":"https://api.github.com/repos/gianarb/zend-validator/assignees{/user}","branches_url":"https://api.github.com/repos/gianarb/zend-validator/branches{/branch}","tags_url":"https://api.github.com/repos/gianarb/zend-validator/tags","blobs_url":"https://api.github.com/repos/gianarb/zend-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gianarb/zend-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gianarb/zend-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/gianarb/zend-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gianarb/zend-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/gianarb/zend-validator/languages","stargazers_url":"https://api.github.com/repos/gianarb/zend-validator/stargazers","contributors_url":"https://api.github.com/repos/gianarb/zend-validator/contributors","subscribers_url":"https://api.github.com/repos/gianarb/zend-validator/subscribers","subscription_url":"https://api.github.com/repos/gianarb/zend-validator/subscription","commits_url":"https://api.github.com/repos/gianarb/zend-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/gianarb/zend-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/gianarb/zend-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/gianarb/zend-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/gianarb/zend-validator/contents/{+path}","compare_url":"https://api.github.com/repos/gianarb/zend-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gianarb/zend-validator/merges","archive_url":"https://api.github.com/repos/gianarb/zend-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gianarb/zend-validator/downloads","issues_url":"https://api.github.com/repos/gianarb/zend-validator/issues{/number}","pulls_url":"https://api.github.com/repos/gianarb/zend-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/gianarb/zend-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/gianarb/zend-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gianarb/zend-validator/labels{/name}","releases_url":"https://api.github.com/repos/gianarb/zend-validator/releases{/id}","created_at":"2015-07-20T17:55:00Z","updated_at":"2015-07-20T17:55:01Z","pushed_at":"2015-07-20T17:55:28Z","git_url":"git://github.com/gianarb/zend-validator.git","ssh_url":"git@github.com:gianarb/zend-validator.git","clone_url":"https://github.com/gianarb/zend-validator.git","svn_url":"https://github.com/gianarb/zend-validator","homepage":"https://github.com/zendframework/zf2","size":4281,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"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":"zendframework:master","ref":"master","sha":"b01e5f4c6a80769b75724cf4a1028999ea786702","user":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"repo":{"id":35280836,"name":"zend-validator","full_name":"zendframework/zend-validator","owner":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendframework/zend-validator","description":"Validator component from Zend Framework","fork":false,"url":"https://api.github.com/repos/zendframework/zend-validator","forks_url":"https://api.github.com/repos/zendframework/zend-validator/forks","keys_url":"https://api.github.com/repos/zendframework/zend-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendframework/zend-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendframework/zend-validator/teams","hooks_url":"https://api.github.com/repos/zendframework/zend-validator/hooks","issue_events_url":"https://api.github.com/repos/zendframework/zend-validator/issues/events{/number}","events_url":"https://api.github.com/repos/zendframework/zend-validator/events","assignees_url":"https://api.github.com/repos/zendframework/zend-validator/assignees{/user}","branches_url":"https://api.github.com/repos/zendframework/zend-validator/branches{/branch}","tags_url":"https://api.github.com/repos/zendframework/zend-validator/tags","blobs_url":"https://api.github.com/repos/zendframework/zend-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendframework/zend-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendframework/zend-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendframework/zend-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendframework/zend-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/zendframework/zend-validator/languages","stargazers_url":"https://api.github.com/repos/zendframework/zend-validator/stargazers","contributors_url":"https://api.github.com/repos/zendframework/zend-validator/contributors","subscribers_url":"https://api.github.com/repos/zendframework/zend-validator/subscribers","subscription_url":"https://api.github.com/repos/zendframework/zend-validator/subscription","commits_url":"https://api.github.com/repos/zendframework/zend-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendframework/zend-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendframework/zend-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendframework/zend-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendframework/zend-validator/contents/{+path}","compare_url":"https://api.github.com/repos/zendframework/zend-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendframework/zend-validator/merges","archive_url":"https://api.github.com/repos/zendframework/zend-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendframework/zend-validator/downloads","issues_url":"https://api.github.com/repos/zendframework/zend-validator/issues{/number}","pulls_url":"https://api.github.com/repos/zendframework/zend-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/zendframework/zend-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/zendframework/zend-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendframework/zend-validator/labels{/name}","releases_url":"https://api.github.com/repos/zendframework/zend-validator/releases{/id}","created_at":"2015-05-08T13:28:15Z","updated_at":"2015-07-02T06:54:41Z","pushed_at":"2015-07-20T18:02:22Z","git_url":"git://github.com/zendframework/zend-validator.git","ssh_url":"git@github.com:zendframework/zend-validator.git","clone_url":"https://github.com/zendframework/zend-validator.git","svn_url":"https://github.com/zendframework/zend-validator","homepage":"https://github.com/zendframework/zf2","size":4281,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":9,"forks":15,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendframework/zend-validator/pulls/23"},"html":{"href":"https://github.com/zendframework/zend-validator/pull/23"},"issue":{"href":"https://api.github.com/repos/zendframework/zend-validator/issues/23"},"comments":{"href":"https://api.github.com/repos/zendframework/zend-validator/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/zendframework/zend-validator/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/zendframework/zend-validator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendframework/zend-validator/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/zendframework/zend-validator/statuses/22367e0fab708b8e687c3128970f081b8a9ea098"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":0,"changed_files":2}}