From 1ca76641a03d76ddf45039b642add8c94f5d0f58 Mon Sep 17 00:00:00 2001 From: Andrei Pisarevskii Date: Sun, 7 May 2023 00:14:56 +0300 Subject: [PATCH 1/2] Update README.md add github action badge --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d5eba95..6209887 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Using PHPCS for WordPress projects Example of using PHPCS for WordPress projects. +![main workdlow](https://github.com/github/docs/actions/workflows/ci.yml/badge.svg?branch=main) + ## About project You can get to know with configured WPCS rules for PHPCS linter, and how to use it with WordPress project. Also, you can get to know how to use PHPCS with Github actions. @@ -10,4 +12,4 @@ Also, you can get to know how to use PHPCS with Github actions. `docker run --rm -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp pimlab/composer:2.0.0-alpha3-php7.4 sh` **NOTE**: if you use php 8 you need to use wp-coding-standards/wpcs:"dev-develop" package, because WPCS sniff doesn't support php 8 yet. -- Then you can run composer commands inside a container. \ No newline at end of file +- Then you can run composer commands inside a container. From a14450e9494c6c1e4c81f810f3406b11abdf749e Mon Sep 17 00:00:00 2001 From: Andrei Pisarevskii Date: Sun, 7 May 2023 00:16:22 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6209887..82a516c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Using PHPCS for WordPress projects Example of using PHPCS for WordPress projects. -![main workdlow](https://github.com/github/docs/actions/workflows/ci.yml/badge.svg?branch=main) +![main workdlow](https://github.com/github/docs/actions/workflows/ci.yml/badge.svg?branch=renakdup-patch-1) ## About project You can get to know with configured WPCS rules for PHPCS linter, and how to use it with WordPress project.