Skip to content

Add new coding standards of magento 2

Compare
Choose a tag to compare
@leonhelmus leonhelmus released this 27 Oct 15:34
· 20 commits to master since this release
61155f4

Added
New pathing for phpcs.xml file.

  • This release adds magento coding standards to phpcs code style. see https://github.com/magento/magento-coding-standard.
    Support for phtml in project type Magento2. The phtml files will only be checked based on Magento2 code standards.
    Changed
  • Project type default/magento use correct index replaced excludes_analyse with excludePaths for phpstan.neon file.
  • Project type default use correct tags for phpunit_dist.xml.
  • Updated dependency to youwe/composer-dependency-installer
    Changed
  • Phpcs will now also check files phtml. If not preferred behaviour overwrite parameter phpcs.triggered_by in grumphp.yml and change back to [php].
  • .eslintrc.json which was updated coherent to Fisheye configurations.