Please execute make install-devtool
.
Use make test
.
How to execute PHP_CodeSniffer
Use make phpcs
.
How to execute PHPMD
Use make phpmd
.
make
Use make doc
- Please DON'T include the generated HTML phpdoc in pull request
- Generate HTML phpdoc
- Make a git tag (this project uses semantic versioning)
- Push the tag to origin
- Edit GitHub releases
You can execute steps 1-3 with make release
command.
That's all. It will be publish on composer automatically.
e.g.
$ make release VERSION=1.2.3
# Then, edit GitHub releases
Test cases of HTTP client send HTTP request actually to req_mirror. req_miror is an HTTP server that parrots received a request as a response.
make install-devtool
downloads an executable binary of req_mirror to your devtool/
directory and test runner launches req_mirror server at beforeClass
phase.
After, each test case sends request to the launched server and verify the request.