{"action":"created","issue":{"url":"https://api.github.com/repos/phpro/grumphp/issues/33","labels_url":"https://api.github.com/repos/phpro/grumphp/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/phpro/grumphp/issues/33/comments","events_url":"https://api.github.com/repos/phpro/grumphp/issues/33/events","html_url":"https://github.com/phpro/grumphp/issues/33","id":104246525,"number":33,"title":"No tasks runs when no files changed","user":{"login":"igormukhingmailcom","id":6544038,"avatar_url":"https://avatars.githubusercontent.com/u/6544038?v=3","gravatar_id":"","url":"https://api.github.com/users/igormukhingmailcom","html_url":"https://github.com/igormukhingmailcom","followers_url":"https://api.github.com/users/igormukhingmailcom/followers","following_url":"https://api.github.com/users/igormukhingmailcom/following{/other_user}","gists_url":"https://api.github.com/users/igormukhingmailcom/gists{/gist_id}","starred_url":"https://api.github.com/users/igormukhingmailcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igormukhingmailcom/subscriptions","organizations_url":"https://api.github.com/users/igormukhingmailcom/orgs","repos_url":"https://api.github.com/users/igormukhingmailcom/repos","events_url":"https://api.github.com/users/igormukhingmailcom/events{/privacy}","received_events_url":"https://api.github.com/users/igormukhingmailcom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T11:38:10Z","updated_at":"2015-09-14T05:35:19Z","closed_at":null,"body":"Hi.\r\n\r\nWhen I run `php ./vendor/bin/grumphp git:pre-commit` manually (and have no changed files) - I see green man even shouldn't. So, no tasks executed.\r\n\r\nBut tasks such as 'phpunit', 'phpspec', 'behat' need to be executed."},"comment":{"url":"https://api.github.com/repos/phpro/grumphp/issues/comments/139965841","html_url":"https://github.com/phpro/grumphp/issues/33#issuecomment-139965841","issue_url":"https://api.github.com/repos/phpro/grumphp/issues/33","id":139965841,"user":{"login":"veewee","id":1618158,"avatar_url":"https://avatars.githubusercontent.com/u/1618158?v=3","gravatar_id":"","url":"https://api.github.com/users/veewee","html_url":"https://github.com/veewee","followers_url":"https://api.github.com/users/veewee/followers","following_url":"https://api.github.com/users/veewee/following{/other_user}","gists_url":"https://api.github.com/users/veewee/gists{/gist_id}","starred_url":"https://api.github.com/users/veewee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veewee/subscriptions","organizations_url":"https://api.github.com/users/veewee/orgs","repos_url":"https://api.github.com/users/veewee/repos","events_url":"https://api.github.com/users/veewee/events{/privacy}","received_events_url":"https://api.github.com/users/veewee/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T05:35:19Z","updated_at":"2015-09-14T05:35:19Z","body":"If no PHP file has changed during pre-commit, why should these tasks be ran?\r\nNormally the tests and code should be in the previous committed state and shouldn't contain any errors.\r\n\r\nFor example: a front-end designer wants to add a CSS file, and all of a sudden he gets an exceptions on the unit tests which he does not know anything about. This doesn't seem to make much sense to me.\r\n\r\nWhat is your opinion @aderuwe ?"}}