Please read the below before posting an issue. Thank you!
- If your question is about the Pricehubble API itself, please check out the Pricehubble Doc. This project doesn't handle any of that logic - we're just helping you form the requests.
If, however, you think you've found a bug, or would like to discuss a change or improvement, feel free to raise an issue and we'll figure it out between us.
This is a fairly simple wrapper, but it has been made much better by contributions from those using it. If you'd like to suggest an improvement, please raise an issue to discuss it before making your pull request.
Pull requests for bugs are more than welcome - please explain the bug you're trying to fix in the message.
There are a small number of PHPUnit unit tests. Unit testing against an API is obviously a bit tricky, but I'd welcome any contributions to this. It would be great to have more test coverage.
You need to run composer before using FriendsOfPHP/PHP-CS-Fixer.
Check & Fix Symfony 4 coding standards:
./vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no
Automatically fix coding standards
./vendor/bin/php-cs-fixer fix -v --using-cache=no
Copy/Paste Detector
./vendor/bin/phpcpd ./web/modules/custom
Maintaining code quality by adding the custom post-commit hook to yours.
cat ./bin/post-commit >> ./.git/hooks/post-commit