{"action":"created","issue":{"url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/568","repository_url":"https://api.github.com/repos/wimg/PHPCompatibility","labels_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/568/comments","events_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/568/events","html_url":"https://github.com/wimg/PHPCompatibility/issues/568","id":285071136,"number":568,"title":"Why is there an \"autoload\" section in composer.json?","user":{"login":"mundschenk-at","id":6943905,"avatar_url":"https://avatars2.githubusercontent.com/u/6943905?v=4","gravatar_id":"","url":"https://api.github.com/users/mundschenk-at","html_url":"https://github.com/mundschenk-at","followers_url":"https://api.github.com/users/mundschenk-at/followers","following_url":"https://api.github.com/users/mundschenk-at/following{/other_user}","gists_url":"https://api.github.com/users/mundschenk-at/gists{/gist_id}","starred_url":"https://api.github.com/users/mundschenk-at/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mundschenk-at/subscriptions","organizations_url":"https://api.github.com/users/mundschenk-at/orgs","repos_url":"https://api.github.com/users/mundschenk-at/repos","events_url":"https://api.github.com/users/mundschenk-at/events{/privacy}","received_events_url":"https://api.github.com/users/mundschenk-at/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-12-29T10:36:33Z","updated_at":"2017-12-31T15:46:21Z","closed_at":null,"author_association":"NONE","body":"Recently I've run into trouble while using the PHPCompatibility sniff in conjunction with the `dangoodman/composer-for-wordpress` package to rename the Composer generated classloader. Apparently, phpcs has its own autoloading mechanism and disables Composer's autoloader if it recognized it. \r\n\r\nMy question now is this: Why is there an `\"autoload\"` section in the ´composer.json`? It does not appear to be needed and no other sniffs that I've looked at contain such a config section."},"comment":{"url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/comments/354610600","html_url":"https://github.com/wimg/PHPCompatibility/issues/568#issuecomment-354610600","issue_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/568","id":354610600,"user":{"login":"wimg","id":313511,"avatar_url":"https://avatars2.githubusercontent.com/u/313511?v=4","gravatar_id":"","url":"https://api.github.com/users/wimg","html_url":"https://github.com/wimg","followers_url":"https://api.github.com/users/wimg/followers","following_url":"https://api.github.com/users/wimg/following{/other_user}","gists_url":"https://api.github.com/users/wimg/gists{/gist_id}","starred_url":"https://api.github.com/users/wimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimg/subscriptions","organizations_url":"https://api.github.com/users/wimg/orgs","repos_url":"https://api.github.com/users/wimg/repos","events_url":"https://api.github.com/users/wimg/events{/privacy}","received_events_url":"https://api.github.com/users/wimg/received_events","type":"User","site_admin":false},"created_at":"2017-12-31T15:46:21Z","updated_at":"2017-12-31T15:46:21Z","author_association":"OWNER","body":"I'm afraid I also don't understand what exactly you're trying to accomplish and what problem you're running into.\r\nIt feels like you're using an active environment to run your continuous integration tests, which is not the right way to do it.\r\nUnless both @jrfnl and I are misunderstanding it completely."}}
{"actor":{"display_login":"wimg"}}