{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/dev-kit/issues/179","repository_url":"https://api.github.com/repos/sonata-project/dev-kit","labels_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/179/comments","events_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/179/events","html_url":"https://github.com/sonata-project/dev-kit/issues/179","id":161024549,"number":179,"title":"Don't load test classes in production","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sonata-project/dev-kit/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-18T13:24:49Z","updated_at":"2016-06-21T09:44:07Z","closed_at":null,"body":"Today all classes are loaded by the autoloader. Instead we should use `autoload` for sources and `autoload-dev` for test classes. See: https://getcomposer.org/doc/04-schema.md#autoload-dev\r\n\r\nMaybe we should adopt the `src` and `tests` folder structure?"},"comment":{"url":"https://api.github.com/repos/sonata-project/dev-kit/issues/comments/227391682","html_url":"https://github.com/sonata-project/dev-kit/issues/179#issuecomment-227391682","issue_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/179","id":227391682,"user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T09:44:07Z","updated_at":"2016-06-21T09:44:07Z","body":"> Do you really think that happens in practice ? Inside Sonata?\r\n\r\nAlready fall on a case like this. Had to fix an ugly abstract test class in core-bundle because the travis of an another sonata bundle (can't remember which one) using it was failing.\r\n\r\nSo yes, that really happens in practice, inside Sonata. :-)"}}
{"actor":{"display_login":"Soullivaneuh"}}