Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed Jan 6, 2024
2 parents f7e8d9c + df67973 commit f86a0c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tests/Scripts/install_couchbase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f86a0c9

Please sign in to comment.