From c80c156cf1ae1e47e1b122678439fd130d7aa4ff Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Fri, 14 Jul 2023 00:56:05 +0200 Subject: [PATCH 1/5] Fix: Remove wrong LICENSE link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31c370a..575bd82 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ who participated in this project. ## License -This project is licensed under the [GPL-3.0-or-later](LICENSE.md), see the [LICENSE](LICENSE) file for +This project is licensed under the **GPL-3.0-or-later**, see the [LICENSE](LICENSE) file for details ## Acknowledgments From f3a0b53eb9a12bcf2004007223bd1b5fa4987427 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Sun, 16 Jul 2023 23:48:56 +0200 Subject: [PATCH 2/5] Fix misused CS configuration to make sure phpcs can be run by gh actions --- figurentheater/ruleset.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/figurentheater/ruleset.xml b/figurentheater/ruleset.xml index a9c4c4b..5d5e14c 100644 --- a/figurentheater/ruleset.xml +++ b/figurentheater/ruleset.xml @@ -2,8 +2,6 @@ Coding standards for figuren.theater - . - */bin/* */tests/* */vendor/* From 4cf628f4769524622d9cb8138073543e73983997 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Mon, 17 Jul 2023 00:26:38 +0200 Subject: [PATCH 3/5] Add 'WP VIP Minimum' CS into tags --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a1ab439..f645b9c 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,8 @@ "keywords": [ "wordpress", "coding-standards", - "wpcs" + "wpcs", + "WordPressVIPMinimum" ], "authors": [ { From 12dead28966b8fbcf84312978dfb1d44be6833a1 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Mon, 17 Jul 2023 00:29:31 +0200 Subject: [PATCH 4/5] Fix 404 URLs & install instructions --- README.md | 49 +++++++++---------------------------------------- 1 file changed, 9 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 575bd82..ec89ca7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ figuren.theater Logo -

figuren.theater | coding_standards

+

figuren.theater | coding-standards

Coding standards for PHP, JavaScript and CSS within the WordPress Multisite network for puppeteers - figuren.theater. @@ -27,7 +27,7 @@ This is the long desc * [x] *list closed tracking-issues or `docs` files here* -* [ ] Do you have any [ideas](/issues/new) ? +* [ ] Do you have any [ideas](https://github.com/figuren-theater/coding-standards/issues/new) ? ## Background & Motivation @@ -35,42 +35,11 @@ This is the long desc ## Install -1. Add this repository to your `composer.json` -```json -"repositories": [ - { - "type": "git", - "url": "https://github.com/figuren-theater/coding-standards" - } -] -``` +1. Install via command line + ```sh + composer require figuren-theater/coding-standards + ``` -2. Install via command line -```sh -composer require figuren-theater/coding-standards -``` - -## Usage - -### API - -```php -Figuren_Theater::API\get_...() -``` - -### Plugins included - -This package contains the following plugins. -Thoose are completely managed by code and lack of their typical UI. - -* ... - - -### What does this package do in addition? - -Accompaniying the core functionality of the mentioned plugins, theese **best practices** are included with this package. - -* ... ## Built with & uses @@ -95,18 +64,18 @@ Don't forget to give the project a star! Thanks again! ## Versioning We use [Semantic Versioning](http://semver.org/) for versioning. For the versions -available, see the [tags on this repository](/tags). +available, see the [tags on this repository](https://github.com/figuren-theater/coding-standards/tags). ## Authors - **Carsten Bach** - *Provided idea & code* - [figuren.theater/crew](https://figuren.theater/crew/) -See also the list of [contributors](/contributors) +See also the list of [contributors](https://github.com/figuren-theater/coding-standards/contributors) who participated in this project. ## License -This project is licensed under the **GPL-3.0-or-later**, see the [LICENSE](LICENSE) file for +This project is licensed under the **GPL-3.0-or-later**, see the [LICENSE](/LICENSE) file for details ## Acknowledgments From 46593fa383ed9b7e398329bb93a63c2a58a9d020 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Mon, 17 Jul 2023 20:20:22 +0200 Subject: [PATCH 5/5] Allow backslashes in hook names --- figurentheater/ruleset.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/figurentheater/ruleset.xml b/figurentheater/ruleset.xml index 5d5e14c..e36330c 100644 --- a/figurentheater/ruleset.xml +++ b/figurentheater/ruleset.xml @@ -27,6 +27,11 @@ + + + + +