From fae11c6a8080cb431b5bb42978ffe574e45c13b3 Mon Sep 17 00:00:00 2001 From: "Thanh, Nguyen Duy" Date: Tue, 28 May 2019 03:45:15 +0700 Subject: [PATCH 1/2] get rid of phpcs dependency. make it works with php7.2 --- composer.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/composer.json b/composer.json index e809b3ee..ef2f79b5 100644 --- a/composer.json +++ b/composer.json @@ -8,11 +8,7 @@ "type": "phpcodesniffer-standard", "version": "2.0.0", "require": { - "php": ">=5.6.0", - "squizlabs/php_codesniffer": "^3.4" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "php": ">=5.6.0" }, "scripts": { "post-install-cmd": "vendor/bin/phpcs --config-set installed_paths ../../..", From 4ac8e41a42312a6be9d038674c7ecfc7cae027df Mon Sep 17 00:00:00 2001 From: "Thanh, Nguyen Duy" Date: Tue, 28 May 2019 03:50:12 +0700 Subject: [PATCH 2/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ef2f79b5..811a00ca 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "magento/magento-coding-standard", + "name": "atheotsky/magento-coding-standard", "description": "A set of Magento specific PHP CodeSniffer rules.", "license": [ "OSL-3.0",