diff --git a/.gitattributes b/.gitattributes index f6f424c34e253c9d76a465c26d1a5184733af05c..5f41aee90a19caed20029b438d37dfef448053c1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,7 @@ .git/ export-ignore tests/ export-ignore vendor/ export-ignore -.editorconfig export-ignore .gitattributes export-ignore .gitignore export-ignore .gitlab-ci.yml export-ignore .idea export-ignore -phpcs.xml.dist export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 5505491b9fe9c29e53ac2946c18e5db9e650f431..bd6a91111913456c54704d4012463f931afc437e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.2.2] - 2021-06-16 +### Changed +- Add phpcs.xml.dist and .editorconfig to package distribution as configuration examples to copy + ## [1.2.1] - 2021-06-14 ### Fixed - Removed wrapping operations in brackets diff --git a/composer.json b/composer.json index 6c7d9b84207c0266fbb8ef1a352dedda925af186..2666e1f17161eddc97800fe5eda9030594134ffc 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "homepage": "https://gitlab.com/wpdesk/wp-code-sniffer", "type": "phpcodesniffer-standard", "prefer-stable": true, - "version": "1.2.1", + "version": "1.2.2", "authors": [ { "name": "grola", @@ -14,24 +14,24 @@ } ], "require": { - "php": ">=7.0", + "php": ">=7.0", "dealerdirect/phpcodesniffer-composer-installer": "0.6|^0.7", "squizlabs/php_codesniffer": "^3.6", "wp-coding-standards/wpcs": "^2.3", - "phpcompatibility/phpcompatibility-wp": "^2.1.1" + "phpcompatibility/phpcompatibility-wp": "^2.1.1" + }, + "require-dev": { + "roave/security-advisories": "dev-latest" }, - "require-dev": { - "roave/security-advisories": "dev-latest" - }, "scripts": { - "install-codestandards" : [ - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" - ], - "pre-package-install": [ - "@install-codestandards" - ], - "post-package-update": [ - "@install-codestandards" - ] + "install-codestandards" : [ + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" + ], + "pre-package-install": [ + "@install-codestandards" + ], + "post-package-update": [ + "@install-codestandards" + ] } }