Skip to content

PHPSocialNetwork/couchbasev4-extension

Contributing PHP Tests

Merge requests are welcome but will require the tests plus the quality tools to pass:

(Commands must be run from the repository root)

PHPCS, PHPMD, PHPSTAN (Level 6), unit tests:

composer run-script quality
composer run-script tests

# In case you want to fix the code style automatically: 
./vendor/bin/phpcbf lib/ --report=summary

Support & Security

Support for this extension must be posted to the main Phpfastcache repository.

Composer installation:

composer install phpfastcache/couchbasev4-extension

⚠️ This extension requires:

1️⃣ The PHP Couchbase extension 4.x at least

2️⃣ The composer Couchbase/Couchbase library 4.x at least

⚠️ This extension optionally requires:

1️⃣ The PHP Posix to fix a known Couchbase Extension bug PCBC-886.
Once this bug has been fixed the dependency suggestion will be removed. If your application wants to fork the processes using pcntl_fork() the Posix extension is needed, and you want the fix to be enabled, set up the config like this:

$config = (new CouchbaseConfig())->setDoForkDetection(true);

2️⃣ Also the PHP Pcntl if you plan to contribute to this project and run the tests before pushing your Merge Request.

About

Couchbasev4 extension for developer using the new Couchbase v4 API.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •