{"action":"closed","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/13108","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/13108/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/13108/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/13108/events","html_url":"https://github.com/yiisoft/yii2/issues/13108","id":192837036,"number":13108,"title":"Console application: Negative integer parameter causes \"Unknown alias\" error","user":{"login":"uaoleg","id":1773775,"avatar_url":"https://avatars.githubusercontent.com/u/1773775?v=3","gravatar_id":"","url":"https://api.github.com/users/uaoleg","html_url":"https://github.com/uaoleg","followers_url":"https://api.github.com/users/uaoleg/followers","following_url":"https://api.github.com/users/uaoleg/following{/other_user}","gists_url":"https://api.github.com/users/uaoleg/gists{/gist_id}","starred_url":"https://api.github.com/users/uaoleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uaoleg/subscriptions","organizations_url":"https://api.github.com/users/uaoleg/orgs","repos_url":"https://api.github.com/users/uaoleg/repos","events_url":"https://api.github.com/users/uaoleg/events{/privacy}","received_events_url":"https://api.github.com/users/uaoleg/received_events","type":"User","site_admin":false},"labels":[{"id":33208443,"url":"https://api.github.com/repos/yiisoft/yii2/labels/type:bug","name":"type:bug","color":"e102d8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/20","html_url":"https://github.com/yiisoft/yii2/milestone/20","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/20/labels","id":1736699,"number":20,"title":"2.0.11","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":174,"state":"open","created_at":"2016-04-28T15:04:50Z","updated_at":"2016-12-17T19:30:37Z","due_on":"2016-12-18T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-12-01T12:45:07Z","updated_at":"2016-12-17T19:30:37Z","closed_at":"2016-12-17T19:30:37Z","body":"### What steps will reproduce the problem?\r\nCreate console controller with an action which has one required parameter:\r\n\r\n    public function actionSend($chatId)\r\n    {\r\n        $result = \\Longman\\TelegramBot\\Request::sendMessage([\r\n            'chat_id'   => $chatId,\r\n            'text'      => 'some text',\r\n        ]);\r\n    }\r\n\r\nThan run this command with negative `chatId`:\r\n\r\n    yii messenger/send -12345\r\n\r\n### What is the expected result?\r\n\r\nExpected result is running `actionSend()` with `$chatId` equals to `-12345`\r\n\r\n### What do you get instead?\r\n\r\nYou'll get `Error: Unknown alias: -12345`\r\n\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | 2.0.10\r\n| PHP version      | 7.0.13\r\n| Operating system | Ubuntu 16.0.4\r\n"}}
{"actor":{"display_login":"SilverFire"}}