From 9bc13aec77dc2e1b8b1822bae4f126f47b00b346 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Wed, 16 Jun 2021 17:29:35 +0200 Subject: [PATCH] build: add example files to package --- .gitattributes | 2 -- CHANGELOG.md | 4 ++++ composer.json | 30 +++++++++++++++--------------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.gitattributes b/.gitattributes index f6f424c..5f41aee 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 5505491..bd6a911 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 6c7d9b8..2666e1f 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" + ] } } -- GitLab