Supporting Enqueue
Enqueue is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you’d like to join them, please consider:
Contribution
To contribute you have to send a pull request to enqueue-dev repository. The pull requests to read only subtree split repositories will be closed.
Setup environment
composer install
./bin/pre-commit -i
./bin/dev -b
Once you did it you can work on a feature or bug fix.
If you need, you can also use composer scripts to run code linting and static analysis:
- For code style linting, run
composer run cs-lint
. Optionally add file names:composer run cs-lint pkg/null/NullTopic.php
for example. - You can also fix your code style with
composer run cs-fix
. - Static code analysis can be run using
composer run phpstan
. As above, you can pass specific files.
Testing
To run tests
./bin/test.sh
or for a package only:
./bin/test.sh pkg/enqueue
Commit
When you try to commit changes php-cs-fixer
is run. It fixes all coding style issues. Don’t forget to stage them and commit everything. Once everything is done open a pull request on official repository.
WTF?!
- If you get
rabbitmqssl: forward host lookup failed: Unknown host, wait for service rabbitmqssl:5671
dodocker compose down
.