Php 警告:向marketplace提交Magento2扩展时出现“从未使用方法参数$context”问题
在《技术评论》中将Magento2扩展提交给marketplace时,我的InstallData.php脚本中从未使用过方法参数$contextPhp 警告:向marketplace提交Magento2扩展时出现“从未使用方法参数$context”问题,php,magento2,Php,Magento2,在《技术评论》中将Magento2扩展提交给marketplace时,我的InstallData.php脚本中从未使用过方法参数$context 有人能帮我解决这个问题吗 您必须使用以下命令 // @codingStandardsIgnoreStart public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) // @codingStandardsIgnoreEn
有人能帮我解决这个问题吗 您必须使用以下命令
// @codingStandardsIgnoreStart
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
// @codingStandardsIgnoreEnd
确保以正确的方式安装扩展,请签出该扩展的安装文档。@hasan这是magento扩展审查小组发出的警告。我的分机被magento marketplace拒绝了。@Chauhan你对此有任何修正吗?我也面临着这个错误。