{"action":"opened","issue":{"url":"https://api.github.com/repos/Lullabot/amp-library/issues/185","repository_url":"https://api.github.com/repos/Lullabot/amp-library","labels_url":"https://api.github.com/repos/Lullabot/amp-library/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/Lullabot/amp-library/issues/185/comments","events_url":"https://api.github.com/repos/Lullabot/amp-library/issues/185/events","html_url":"https://github.com/Lullabot/amp-library/issues/185","id":235493418,"number":185,"title":"Ambiguous class with composer","user":{"login":"B-Prod","id":682385,"avatar_url":"https://avatars2.githubusercontent.com/u/682385?v=3","gravatar_id":"","url":"https://api.github.com/users/B-Prod","html_url":"https://github.com/B-Prod","followers_url":"https://api.github.com/users/B-Prod/followers","following_url":"https://api.github.com/users/B-Prod/following{/other_user}","gists_url":"https://api.github.com/users/B-Prod/gists{/gist_id}","starred_url":"https://api.github.com/users/B-Prod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B-Prod/subscriptions","organizations_url":"https://api.github.com/users/B-Prod/orgs","repos_url":"https://api.github.com/users/B-Prod/repos","events_url":"https://api.github.com/users/B-Prod/events{/privacy}","received_events_url":"https://api.github.com/users/B-Prod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-13T09:35:00Z","updated_at":"2017-06-13T09:35:00Z","closed_at":null,"body":"When generating the autoload files, there are a lot of warning messages about ambiguous classes. For example:\r\nWarning: Ambiguous class resolution, \"Lullabot\\AMP\\Spec\\AmpLayout\" was found in both \"/tmp/build/9062a266/code/vendor/lullabot/amp/src/Spec/validator-generated.php\" and \"/tmp/build/9062a266/code/vendor/lullabot/amp/src/validator-generated.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"Lullabot\\AMP\\Spec\\AmpLayoutLayout\" was found in both \"/tmp/build/9062a266/code/vendor/lullabot/amp/src/Spec/validator-generated.php\" and \"/tmp/build/9062a266/code/vendor/lullabot/amp/src/validator-generated.php\", the first will be used.\r\nWarning: Ambiguous class resolution, \"Lullabot\\AMP\\Spec\\AtRuleSpec\" was found in both \"/tmp/build/9062a266/code/vendor/lullabot/amp/src/Spec/validator-generated.php\" and \"/tmp/build/9062a266/code/vendor/lullabot/amp/src/validator-generated.php\", the first will be used.\r\n...\r\n\r\nShould you not remove the classmap \"src/Spec/validator-generated.php\" from the autoload definition in the composer.json?\r\nOr is this the expected behaviour?"}}
{"actor":{"display_login":"B-Prod"}}