From 62eefa831f6cdf1ec98aebd56f43a82bc93d3b82 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Mon, 30 Jan 2023 10:46:26 +0000 Subject: [PATCH 1/2] Allow stable version of phpcs installer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 01b3b0f..563cfee 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "homepage": "https://github.com/YouweGit/coding-standard-magento2", "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2 || ^1.0", "magento/magento-coding-standard": ">= 9", "youwe/coding-standard": "^3.5.0" }, From eeed7a4aa4319fda7337845a08f2b4765a58be5b Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Thu, 9 Mar 2023 13:07:20 +0000 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4007cf..651b4f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.1.1 +### Changed +- Allow use of stable version of `dealerdirect/phpcodesniffer-composer-installer` + ## 2.1.0 ### Changed - Youwe ruleset will not check .phtml files anymore and only uses the Magento2 coding standards to check files on `phpcs`. @@ -13,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Composer package youwe/coding-standard which is now included in the Youwe coding standards for Magento 2. - Comments for why the ruleset was added. - Coding standards for phtml templates. -- Package [magento/magento-coding-standard](https://github.com/magento/magento-coding-standard) as a requirement. +- Package [magento/magento-coding-standard](https://github.com/magento/magento-coding-standard) as a requirement. The version v25 is used as a base. If not compatible please update the `phpcs.xml` in project root. ### Removed