{"action":"created","issue":{"url":"https://api.github.com/repos/deployphp/deployer/issues/690","repository_url":"https://api.github.com/repos/deployphp/deployer","labels_url":"https://api.github.com/repos/deployphp/deployer/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/deployphp/deployer/issues/690/comments","events_url":"https://api.github.com/repos/deployphp/deployer/issues/690/events","html_url":"https://github.com/deployphp/deployer/issues/690","id":158711039,"number":690,"title":"Impossible to call run or runLocally when using task()->once()","user":{"login":"ahfeel","id":43286,"avatar_url":"https://avatars.githubusercontent.com/u/43286?v=3","gravatar_id":"","url":"https://api.github.com/users/ahfeel","html_url":"https://github.com/ahfeel","followers_url":"https://api.github.com/users/ahfeel/followers","following_url":"https://api.github.com/users/ahfeel/following{/other_user}","gists_url":"https://api.github.com/users/ahfeel/gists{/gist_id}","starred_url":"https://api.github.com/users/ahfeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahfeel/subscriptions","organizations_url":"https://api.github.com/users/ahfeel/orgs","repos_url":"https://api.github.com/users/ahfeel/repos","events_url":"https://api.github.com/users/ahfeel/events{/privacy}","received_events_url":"https://api.github.com/users/ahfeel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/deployphp/deployer/milestones/2","html_url":"https://github.com/deployphp/deployer/milestones/v4.0","labels_url":"https://api.github.com/repos/deployphp/deployer/milestones/2/labels","id":936666,"number":2,"title":"v4.0","description":"","creator":{"login":"elfet","id":141232,"avatar_url":"https://avatars.githubusercontent.com/u/141232?v=3","gravatar_id":"","url":"https://api.github.com/users/elfet","html_url":"https://github.com/elfet","followers_url":"https://api.github.com/users/elfet/followers","following_url":"https://api.github.com/users/elfet/following{/other_user}","gists_url":"https://api.github.com/users/elfet/gists{/gist_id}","starred_url":"https://api.github.com/users/elfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfet/subscriptions","organizations_url":"https://api.github.com/users/elfet/orgs","repos_url":"https://api.github.com/users/elfet/repos","events_url":"https://api.github.com/users/elfet/events{/privacy}","received_events_url":"https://api.github.com/users/elfet/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":43,"state":"open","created_at":"2015-01-15T11:53:46Z","updated_at":"2016-11-07T14:01:42Z","due_on":"2017-01-31T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-06-06T15:50:07Z","updated_at":"2016-11-07T14:01:42Z","closed_at":"2016-11-07T14:01:42Z","body":"| Q | A |\n| --- | --- |\n| Issue Type | Bug |\n| Deployer Version | 3.3.0 |\n| Local Machine OS | OSX |\n| Remote Machine OS | N/A |\n### Description\n\nWhen declaring a task to be executed locally and only once through the ->once() modified, it's impossible to call run() or runLocally() as it throws the following exception :\n\n`Fatal error: Uncaught Error: Call to a member function parse() on null in phar:///Users/ahfeel/Work/instant-gaming/deployer.phar/src/functions.php:316`\n\nSeems that env() returns null\n"},"comment":{"url":"https://api.github.com/repos/deployphp/deployer/issues/comments/258842644","html_url":"https://github.com/deployphp/deployer/issues/690#issuecomment-258842644","issue_url":"https://api.github.com/repos/deployphp/deployer/issues/690","id":258842644,"user":{"login":"elfet","id":141232,"avatar_url":"https://avatars.githubusercontent.com/u/141232?v=3","gravatar_id":"","url":"https://api.github.com/users/elfet","html_url":"https://github.com/elfet","followers_url":"https://api.github.com/users/elfet/followers","following_url":"https://api.github.com/users/elfet/following{/other_user}","gists_url":"https://api.github.com/users/elfet/gists{/gist_id}","starred_url":"https://api.github.com/users/elfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfet/subscriptions","organizations_url":"https://api.github.com/users/elfet/orgs","repos_url":"https://api.github.com/users/elfet/repos","events_url":"https://api.github.com/users/elfet/events{/privacy}","received_events_url":"https://api.github.com/users/elfet/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T14:01:42Z","updated_at":"2016-11-07T14:01:42Z","body":"Done!"}}
{"actor":{"display_login":"elfet"}}