{"action":"closed","issue":{"url":"https://api.github.com/repos/box-project/box2/issues/116","labels_url":"https://api.github.com/repos/box-project/box2/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/box-project/box2/issues/116/comments","events_url":"https://api.github.com/repos/box-project/box2/issues/116/events","html_url":"https://github.com/box-project/box2/issues/116","id":114442252,"number":116,"title":"Verify command has unclear return codes","user":{"login":"mbrodala","id":5037116,"avatar_url":"https://avatars.githubusercontent.com/u/5037116?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrodala","html_url":"https://github.com/mbrodala","followers_url":"https://api.github.com/users/mbrodala/followers","following_url":"https://api.github.com/users/mbrodala/following{/other_user}","gists_url":"https://api.github.com/users/mbrodala/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrodala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrodala/subscriptions","organizations_url":"https://api.github.com/users/mbrodala/orgs","repos_url":"https://api.github.com/users/mbrodala/repos","events_url":"https://api.github.com/users/mbrodala/events{/privacy}","received_events_url":"https://api.github.com/users/mbrodala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-01T00:26:16Z","updated_at":"2015-12-17T16:05:07Z","closed_at":"2015-12-17T16:05:07Z","body":"The codes returned by the `verify` command are rather odd [currently](https://github.com/box-project/box2/blob/6cd827376e53fb0c9736cff209ab20320fc93b34/src/lib/KevinGH/Box/Command/Verify.php#L68):\r\n\r\n1. The path is not a file or does not exist: code `1` (fine)\r\n2. The Phar passed verification: code `1` (should be `0` instead)\r\n3. The Phar failed verification: code `0` (should be at least `1` instead)\r\n\r\nThe return codes for 2. and 3. do not match usual CLI behavior and should be fixed."}}