{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/3366","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/3366/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/3366/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/3366/events","html_url":"https://github.com/Codeception/Codeception/pull/3366","id":167208126,"number":3366,"title":"Specify package requirements for module","user":{"login":"DavertMik","id":220264,"avatar_url":"https://avatars.githubusercontent.com/u/220264?v=3","gravatar_id":"","url":"https://api.github.com/users/DavertMik","html_url":"https://github.com/DavertMik","followers_url":"https://api.github.com/users/DavertMik/followers","following_url":"https://api.github.com/users/DavertMik/following{/other_user}","gists_url":"https://api.github.com/users/DavertMik/gists{/gist_id}","starred_url":"https://api.github.com/users/DavertMik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavertMik/subscriptions","organizations_url":"https://api.github.com/users/DavertMik/orgs","repos_url":"https://api.github.com/users/DavertMik/repos","events_url":"https://api.github.com/users/DavertMik/events{/privacy}","received_events_url":"https://api.github.com/users/DavertMik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/ENHANCEMENT","name":"ENHANCEMENT","color":"beed84"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Codeception/Codeception/milestones/32","html_url":"https://github.com/Codeception/Codeception/milestones/2.2.3","labels_url":"https://api.github.com/repos/Codeception/Codeception/milestones/32/labels","id":1867472,"number":32,"title":"2.2.3","description":"","creator":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2016-07-06T12:51:40Z","updated_at":"2016-07-23T23:14:15Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-23T23:09:19Z","updated_at":"2016-07-24T07:27:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Codeception/Codeception/pulls/3366","html_url":"https://github.com/Codeception/Codeception/pull/3366","diff_url":"https://github.com/Codeception/Codeception/pull/3366.diff","patch_url":"https://github.com/Codeception/Codeception/pull/3366.patch"},"body":"Each module implementing `RequiresPackage` can now specify its external dependencies by implementing `_requires` method. If required class can't be found and exception is thrown with proposal to add corresponding package to composer.json.\r\n\r\nFor instance, PHPBrowser module has its requirements specified\r\n```php\r\n    public function _requires()\r\n    {\r\n        return ['GuzzleHttp\\Client' => '\"guzzlehttp/guzzle\": \">=4.1.4 <7.0\"'];\r\n    }\r\n```\r\nIf `codeception/base` is installed you will get the the exception which suggests to install '\"guzzlehttp/guzzle\": \">=4.1.4 <7.0\"'"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/234762642","html_url":"https://github.com/Codeception/Codeception/pull/3366#issuecomment-234762642","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/3366","id":234762642,"user":{"login":"Naktibalda","id":395992,"avatar_url":"https://avatars.githubusercontent.com/u/395992?v=3","gravatar_id":"","url":"https://api.github.com/users/Naktibalda","html_url":"https://github.com/Naktibalda","followers_url":"https://api.github.com/users/Naktibalda/followers","following_url":"https://api.github.com/users/Naktibalda/following{/other_user}","gists_url":"https://api.github.com/users/Naktibalda/gists{/gist_id}","starred_url":"https://api.github.com/users/Naktibalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naktibalda/subscriptions","organizations_url":"https://api.github.com/users/Naktibalda/orgs","repos_url":"https://api.github.com/users/Naktibalda/repos","events_url":"https://api.github.com/users/Naktibalda/events{/privacy}","received_events_url":"https://api.github.com/users/Naktibalda/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T07:27:16Z","updated_at":"2016-07-24T07:27:16Z","body":"I like this change"}}
{"actor":{"display_login":"Naktibalda"}}