diff --git a/README.md b/README.md index 6080a79..9621d7c 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,15 @@ # Introduction -This is the MediaCT coding standard for Magento 2 projects. It is a mix of the -default MediaCT coding standard and the Magento marketplace standard. - -Some tests have been removed from both of the standards to create a workable -and fast standard. +This is the MediaCT coding standard for Magento 2 projects. It is based on +the default MediaCT coding standard but some tests have been removed to create +a workable and fast standard. # Installation Use composer to require the standard in a project. ```shell -$ composer require --dev mediact/coding-standard-magento2 +composer require --dev mediact/coding-standard-magento2 ``` To let PHPCS know that this standard should be used add a phpcs.xml file in the @@ -30,7 +28,7 @@ The recommended way to enable the coding standard in PHPStorm and automatic testing is by requiring the MediaCT testing suite in a project. ```shell -$ composer require --dev mediact/testing-suite +composer require --dev mediact/testing-suite ``` For more information go to [MediaCT Testing Suite](https://github.com/mediact/testing-suite). @@ -38,4 +36,4 @@ For more information go to [MediaCT Testing Suite](https://github.com/mediact/te # Contribution guidelines Contributions are welcome. Please create pull requests which add or remove -tests. \ No newline at end of file +tests. diff --git a/composer.json b/composer.json index 130ced5..8e5b152 100644 --- a/composer.json +++ b/composer.json @@ -10,18 +10,7 @@ "email": "contact@mediact.nl" } ], - "repositories": [ - { - "type": "composer", - "url": "https://composer.mediact.nl" - }, - { - "type": "composer", - "url": "https://repo.magento.com" - } - ], "require": { - "magento/marketplace-eqp": "^1.0", "mediact/coding-standard": "@stable" }, "autoload": { @@ -29,4 +18,4 @@ "MediactMagento2": "src/MediactMagento2" } } -} \ No newline at end of file +} diff --git a/src/MediactMagento2/ruleset.xml b/src/MediactMagento2/ruleset.xml index 34e74b5..e8b2326 100644 --- a/src/MediactMagento2/ruleset.xml +++ b/src/MediactMagento2/ruleset.xml @@ -5,8 +5,8 @@ * https://www.mediact.nl */ --> - - MediaCT coding standards for Magento1. + + MediaCT coding standards for Magento2. @@ -25,35 +25,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *.phtml