php-cuong / magento2-faqs-extensions

Magento 2 FAQ Extension Free
83 stars 56 forks source link

Magento 2.2. compatibility #16

Closed Tjitse-E closed 6 years ago

Tjitse-E commented 6 years ago
    PHPCuong\Faq\Model\ResourceModel\Faq\Grid\Collection
        Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: \PHPCuong\Faq\Model\ResourceModel\Faq\Grid\connection; File:
/vendor/php-cuong/magento2-faqs-extensions/Model/ResourceModel/Faq/Grid/Collection.php

    PHPCuong\Faq\Model\ResourceModel\Faqcat\Grid\Collection
        Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: \PHPCuong\Faq\Model\ResourceModel\Faqcat\Grid\connection; File:
/vendor/php-cuong/magento2-faqs-extensions/Model/ResourceModel/Faqcat/Grid/Collection.php

    PHPCuong\Faq\Model\ResourceModel\Faqcat
        Incompatible argument type: Required type: string. Actual type: \PHPCuong\Faq\Model\ResourceModel\connectionName; File:
/vendor/php-cuong/magento2-faqs-extensions/Model/ResourceModel/Faqcat.php

Total Errors Count: 3

  [Magento\Framework\Validator\Exception]
  Error during compilation
samoudi2006 commented 6 years ago

Good thank you

danslo commented 6 years ago

@Tjitse-E Another good idea here would be to remove the 'version' part in composer.json. It's not needed when properly using tags (which this repository is doing).