{"action":"opened","issue":{"url":"https://api.github.com/repos/composer/composer/issues/7074","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/7074/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/7074/comments","events_url":"https://api.github.com/repos/composer/composer/issues/7074/events","html_url":"https://github.com/composer/composer/issues/7074","id":293878417,"number":7074,"title":"Composer syntax using require","user":{"login":"PebbleSun","id":34159269,"avatar_url":"https://avatars1.githubusercontent.com/u/34159269?v=4","gravatar_id":"","url":"https://api.github.com/users/PebbleSun","html_url":"https://github.com/PebbleSun","followers_url":"https://api.github.com/users/PebbleSun/followers","following_url":"https://api.github.com/users/PebbleSun/following{/other_user}","gists_url":"https://api.github.com/users/PebbleSun/gists{/gist_id}","starred_url":"https://api.github.com/users/PebbleSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PebbleSun/subscriptions","organizations_url":"https://api.github.com/users/PebbleSun/orgs","repos_url":"https://api.github.com/users/PebbleSun/repos","events_url":"https://api.github.com/users/PebbleSun/events{/privacy}","received_events_url":"https://api.github.com/users/PebbleSun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T12:51:26Z","updated_at":"2018-02-02T12:51:26Z","closed_at":null,"author_association":"NONE","body":"Hi \r\nI had a curious issue involving syntax and I was wondering if anyone has encountered the same issue.\r\nI have two identical websites one staging and one live. On the staging site I used the composer require as follows which worked fine:\r\n$ composer require \"drupal/<module name>:^1.0\"\r\nWhen I used exactly the same command on the other site it wouldn't work. I got it to work correctly by adding one space after the colon:\r\n$ composer require \"drupal/<module name>: ^1.0\"\r\nDoes anyone know why it works without the space on one site and with the space on another. The sites are identical and on the same server. I wasn't making these commands as super user.\r\nI know in the composer.json file there is a space after the colon on all require entries. Should there be a space after the colon when making these commands? In all the examples I have seen there is no space after the colon?\r\n\r\nThanks for any help"}}
{"actor":{"display_login":"PebbleSun"}}