From 4286e241e7432b3e2be8eddfce3e9e4869cb9feb Mon Sep 17 00:00:00 2001 From: Georges Date: Sat, 6 Jan 2024 22:05:55 +0100 Subject: [PATCH 1/2] Updated README --- README.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index d667dea..9c232a9 100644 --- a/README.md +++ b/README.md @@ -2,23 +2,14 @@ Merge requests are welcome but will require the tests plus the quality tools to pass: _(Commands must be run from the repository root)_ -### PHPCS: +### PHPCS, PHPMD, PHPSTAN (Level 6), unit tests: ```bash -# Fixer + Linter -./vendor/bin/phpcbf lib/ --report=summary +composer run-script quality +composer run-script tests -# Linter only -./vendor/bin/phpcs lib/ --report=summary -``` -### PHPMD: -```bash -./vendor/bin/phpmd lib/ ansi phpmd.xml -``` - -### PHPSTAN (Level 6): -```bash -./vendor/bin/phpstan analyse lib/ -l 6 -c phpstan.neon 2>&1 +# In case you want to fix the code style automatically: +./vendor/bin/phpcbf lib/ --report=summary ``` ## Support & Security From df679731a7cdb10b9f894e1d237bbfa36109b19b Mon Sep 17 00:00:00 2001 From: Georges Date: Sat, 6 Jan 2024 22:49:27 +0100 Subject: [PATCH 2/2] Upgraded Couchbase version to 7.2.2 --- tests/Scripts/install_couchbase.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Scripts/install_couchbase.sh b/tests/Scripts/install_couchbase.sh index 5e88f75..b4763fe 100755 --- a/tests/Scripts/install_couchbase.sh +++ b/tests/Scripts/install_couchbase.sh @@ -2,10 +2,10 @@ set -e -# https://packages.couchbase.com/releases/7.1.1/couchbase-server-community_7.1.1-ubuntu18.04_amd64.deb -export CB_VERSION=7.1.1 +# https://packages.couchbase.com/releases/7.2.2/couchbase-server-community_7.2.2-linux_amd64.deb +export CB_VERSION=7.2.2 export CB_RELEASE_URL=https://packages.couchbase.com/releases -export CB_PACKAGE=couchbase-server-community_7.1.1-ubuntu18.04_amd64.deb +export CB_PACKAGE=couchbase-server-community_7.2.2-linux_amd64.deb # Community Edition requires that all nodes provision all services or data service only export SERVICES="kv,n1ql,index,fts"