I am looking forward to your contributions.
There are a few guidelines that I need contributors to follow:
- Coding standards (
composer cs-checkto check andcomposer cs-fixto fix) - PHPStan (
composer phpstan, might needcomposer phpstan-setupfirst) - Passing tests (
php phpunit.phar)
By default it will usually use SQLite DB (out of the box available). Not all tests currently work with SQLite or any non MySQL db yet.
If you want to run all tests, including MySQL ones, you need to set
export db_dsn="mysql://root:yourpwd@127.0.0.1/cake_test"
before you actually run
php phpunit.phar
Make sure such a cake_test database exists.
Run this from your app dir to update the plugin's queue.pot file:
bin/cake i18n extract --plugin Queue --extract-core=no --merge=no --overwrite