{"action":"opened","issue":{"url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/3704","labels_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/3704/labels{/name}","comments_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/3704/comments","events_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/3704/events","html_url":"https://github.com/akeneo/pim-community-dev/issues/3704","id":120219745,"number":3704,"title":"Doctrine\\ORM\\AbstractQuery \"use\" statement missing in Akeneo\\Bundle\\ClassificationBundle\\Doctrine\\ORM\\Repository\\AbstractItemCategoryRepository","user":{"login":"DrewK289","id":4095117,"avatar_url":"https://avatars.githubusercontent.com/u/4095117?v=3","gravatar_id":"","url":"https://api.github.com/users/DrewK289","html_url":"https://github.com/DrewK289","followers_url":"https://api.github.com/users/DrewK289/followers","following_url":"https://api.github.com/users/DrewK289/following{/other_user}","gists_url":"https://api.github.com/users/DrewK289/gists{/gist_id}","starred_url":"https://api.github.com/users/DrewK289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrewK289/subscriptions","organizations_url":"https://api.github.com/users/DrewK289/orgs","repos_url":"https://api.github.com/users/DrewK289/repos","events_url":"https://api.github.com/users/DrewK289/events{/privacy}","received_events_url":"https://api.github.com/users/DrewK289/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-03T16:53:38Z","updated_at":"2015-12-03T16:53:38Z","closed_at":null,"body":"The getItemIdsInCategory() function uses \"AbstractQuery::HYDRATE_ARRAY\" (line 86), but the AbstractQuery class is missing the \"use\" statement in the AbstractItemCategoryRepository class, causing PHP to throw a fatal error:\r\n`PHP Fatal error:  Class 'Akeneo\\Bundle\\ClassificationBundle\\Doctrine\\ORM\\Repository\\AbstractQuery' not found in /opt/data/apps/pim-dev/vendor/akeneo/pim-community-dev/src/Akeneo/Bundle/ClassificationBundle/Doctrine/ORM/Repository/AbstractItemCategoryRepository.php on line 86`\r\n\r\nThe AbstractItemCategoryRepository class should include \"`use Doctrine\\ORM\\AbstractQuery;`\""}}