{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe-labs/silverstripe-newsletter/issues/108","labels_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-newsletter/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-newsletter/issues/108/comments","events_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-newsletter/issues/108/events","html_url":"https://github.com/silverstripe-labs/silverstripe-newsletter/issues/108","id":128041892,"number":108,"title":"Composer: Could not scan for classes inside \"newsletter//tests/behat/\"","user":{"login":"dallumnz","id":16053255,"avatar_url":"https://avatars.githubusercontent.com/u/16053255?v=3","gravatar_id":"","url":"https://api.github.com/users/dallumnz","html_url":"https://github.com/dallumnz","followers_url":"https://api.github.com/users/dallumnz/followers","following_url":"https://api.github.com/users/dallumnz/following{/other_user}","gists_url":"https://api.github.com/users/dallumnz/gists{/gist_id}","starred_url":"https://api.github.com/users/dallumnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dallumnz/subscriptions","organizations_url":"https://api.github.com/users/dallumnz/orgs","repos_url":"https://api.github.com/users/dallumnz/repos","events_url":"https://api.github.com/users/dallumnz/events{/privacy}","received_events_url":"https://api.github.com/users/dallumnz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-21T23:01:30Z","updated_at":"2016-01-22T12:26:56Z","closed_at":null,"body":"Ignoring the [tests folder](https://github.com/silverstripe-labs/silverstripe-newsletter/blob/master/.gitattributes#L1) for export creates an issue with composer when using  --prefer-dist \r\n\r\nComposer downloads the zip package without the /tests folder, however in [composer.json](https://github.com/silverstripe-labs/silverstripe-newsletter/blob/master/composer.json#L24) you have \"classmap\": [\"tests/behat/\"]\r\n\r\nresulting in\r\n```\r\n[RuntimeException]\r\nCould not scan for classes inside \"newsletter//tests/behat/\" which does not appear to be a file nor a folder\r\n```"},"comment":{"url":"https://api.github.com/repos/silverstripe-labs/silverstripe-newsletter/issues/comments/173907178","html_url":"https://github.com/silverstripe-labs/silverstripe-newsletter/issues/108#issuecomment-173907178","issue_url":"https://api.github.com/repos/silverstripe-labs/silverstripe-newsletter/issues/108","id":173907178,"user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T12:26:55Z","updated_at":"2016-01-22T12:26:55Z","body":"I think a better solution is to use https://getcomposer.org/doc/04-schema.md#autoload-dev"}}