I am getting issue "The method parameter $context is never used" in my InstallData.php script when submitting Magento2 extension to marketplace in technical review.

Can Anyone help me to solve this issue ?

1 Answer 1


To fix this, you can use following

// @codingStandardsIgnoreStart     
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)     
// @codingStandardsIgnoreEnd

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.