abinjohnedamanaabinjohnedamana MemberComments: 36 Received thanks: 9 Member since: February 2019


I got this error from Shopware code review

Warnings of the static code analysis:
------ ------------------------------------------------------------------------- 
  Line   src/Storefront/Controller/ShoppingExperienceController.php               
 ------ ------------------------------------------------------------------------- 
         Class Shopware\Storefront\Controller\StorefrontController not found and  
         could not be autoloaded. 


But I have included 

use Shopware\Storefront\Controller\StorefrontController;

in my controller 

Then why this error?

Answers

  • abinjohnedamanaabinjohnedamana MemberComments: 36 Received thanks: 9 Member since: February 2019

    "Did you add "shopware/storefront": "~6.1.0" to your require section of the composer.json?

    the automatic code review will only install the components you have set in the composer.json. not a whole Shopware" - Michael Telhmann

Sign In or Register to comment.