{"action":"opened","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2930","repository_url":"https://api.github.com/repos/sebastianbergmann/phpunit","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2930/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2930/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2930/events","html_url":"https://github.com/sebastianbergmann/phpunit/issues/2930","id":282825123,"number":2930,"title":"Incorrect library version outputted when installed with `prefer-lowest`","user":{"login":"szymach","id":2230556,"avatar_url":"https://avatars2.githubusercontent.com/u/2230556?v=4","gravatar_id":"","url":"https://api.github.com/users/szymach","html_url":"https://github.com/szymach","followers_url":"https://api.github.com/users/szymach/followers","following_url":"https://api.github.com/users/szymach/following{/other_user}","gists_url":"https://api.github.com/users/szymach/gists{/gist_id}","starred_url":"https://api.github.com/users/szymach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymach/subscriptions","organizations_url":"https://api.github.com/users/szymach/orgs","repos_url":"https://api.github.com/users/szymach/repos","events_url":"https://api.github.com/users/szymach/events{/privacy}","received_events_url":"https://api.github.com/users/szymach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-18T10:10:15Z","updated_at":"2017-12-18T10:10:15Z","closed_at":null,"author_association":"NONE","body":"| Q                   | A\r\n| --------------------| ---------------\r\n| PHPUnit version     | All since 4.x\r\n| PHP version         | 5.4 / 7.1\r\n| Installation Method | Composer \r\n\r\nThis is a continuation of #2929, since it applies also to `5.x` and `6.x` versions. Copy-pasting previous text:\r\n\r\nHello,\r\nWhen installing phpunit with `composer update --prefer-lowest`, some random version of the library is being outputted. Example:\r\n\r\n```json\r\n\"phpunit/phpunit\": \"^5.7|^6.5\"\r\n```\r\nwill output:\r\n\r\n```bash\r\nPHPUnit 1.0.1-56-g68da2c7 by Sebastian Bergmann and contributors.\r\n```\r\nafter calling `bin/phpunit`. As far as I can tell, having just a single version of `phpunit` will not produce this error, it only happens when you specify a lower and a higher version."}}
{"actor":{"display_login":"szymach"}}