{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/24165","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/24165/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/24165/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/24165/events","html_url":"https://github.com/laravel/framework/issues/24165","id":321744360,"number":24165,"title":"Running no schedule:run artisan command yet actually run commands defined in schedule","user":{"login":"gmartinez","id":122444,"avatar_url":"https://avatars3.githubusercontent.com/u/122444?v=4","gravatar_id":"","url":"https://api.github.com/users/gmartinez","html_url":"https://github.com/gmartinez","followers_url":"https://api.github.com/users/gmartinez/followers","following_url":"https://api.github.com/users/gmartinez/following{/other_user}","gists_url":"https://api.github.com/users/gmartinez/gists{/gist_id}","starred_url":"https://api.github.com/users/gmartinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmartinez/subscriptions","organizations_url":"https://api.github.com/users/gmartinez/orgs","repos_url":"https://api.github.com/users/gmartinez/repos","events_url":"https://api.github.com/users/gmartinez/events{/privacy}","received_events_url":"https://api.github.com/users/gmartinez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-09T22:12:52Z","updated_at":"2018-05-10T01:39:30Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease use this issue tracker only for reporting Laravel bugs.\r\n\r\nIf you need support, please use the forums:\r\n\r\n- https://laracasts.com/discuss \r\n- https://laravel.io/forum\r\n\r\nAlternatively, you may use Slack (https://larachat.co/) or Stack Overflow (http://stackoverflow.com/questions/tagged/laravel).\r\n\r\nIf you would like to propose new Laravel features, please make a pull request, or open an issue at https://github.com/laravel/ideas/issues.\r\n-->\r\n\r\n- Laravel Version: 5.6.21\r\n- PHP Version: 7.1.14\r\n- Database Driver & Version: MySql 5.x\r\n\r\n### Description:\r\nRunning any combination of artisan executes logic within \"protected function schedule(Schedule $schedule)\" at app\\Console\\Kernel.php\r\n\r\nFound this after adding a command entry there and then run an artisan migrate.\r\n\r\nEven running \"php artisan --version\" executes that logic before running the intended artisan command.\r\n\r\n### Steps To Reproduce:\r\n\r\n1. Add line \"print 'WTF!';\" inside \"protected function schedule(Schedule $schedule)\" at app\\Console\\Kernel.php\r\n2. From command line run : php artisan --version"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/387924503","html_url":"https://github.com/laravel/framework/issues/24165#issuecomment-387924503","issue_url":"https://api.github.com/repos/laravel/framework/issues/24165","id":387924503,"user":{"login":"devcircus","id":18542852,"avatar_url":"https://avatars3.githubusercontent.com/u/18542852?v=4","gravatar_id":"","url":"https://api.github.com/users/devcircus","html_url":"https://github.com/devcircus","followers_url":"https://api.github.com/users/devcircus/followers","following_url":"https://api.github.com/users/devcircus/following{/other_user}","gists_url":"https://api.github.com/users/devcircus/gists{/gist_id}","starred_url":"https://api.github.com/users/devcircus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devcircus/subscriptions","organizations_url":"https://api.github.com/users/devcircus/orgs","repos_url":"https://api.github.com/users/devcircus/repos","events_url":"https://api.github.com/users/devcircus/events{/privacy}","received_events_url":"https://api.github.com/users/devcircus/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T01:39:30Z","updated_at":"2018-05-10T01:39:30Z","author_association":"CONTRIBUTOR","body":"Shouldn't the parameter to \"schedule\" be a string?"}}
{"actor":{"display_login":"devcircus"}}