Monthly Archives: March 2018

  1. Magento 2 Code Quality Check (Magento EQP/Magento Coding Standard)

    Have you ever wondered how easy it is to check the quality of your own code, your colleagues' code, or a third-party module you want to use on a Magento project?

    The Magento development team has created the Magento Extension Quality Program Coding Standard (Magento EQP), which allows you to check the code compliance with the standard, as well as identify the following shortcomings:

    - SQL queries execution in the loop;
    - use of dangerous functions;
    - use of super-global variables;
    - excessive code complexity;
    - Unjustified collections loads.

    Read more »
  2. The following modules are outdated - Fix The Issue

    When you update Magento 2, Magento extension or switching git branches on your dev environment, sometimes you can get the error:

    The following modules are outdated: Vendor_Module schema: current version - x.x.x, required version - z.z.z 

    To solve this issue, please do next:

    1. Try to get the latest extension code. Run CLI command in the Magento root directory:

    composer install

    If you get troubles with running this command, then just skip it, and move to step 2.

    2. Try to upgrade your database. Run CLI command:

    php bin/magento setup:upgrade

    Read more »