mirror of
https://gh.wpcy.net/https://github.com/totake0224/LINEIntegration.git
synced 2026-07-15 20:10:54 +08:00
1.2 KiB
1.2 KiB
Hacking guide for SDK developers
Testing
Run make or make check to check comprehensively. Following tests will run.
- PHPUnit
make test - Copyright check
make copyright - PHP_CodeSniffer
make cs - PHPMD
make md - PHPStan
make stan
Pull request policy
- Please DON'T include the generated HTML phpdoc in pull request
Installing phpDocumenter
We use phpDocumenter to generate API documents automatically. Required packages are not installed by composer because it requires PHP 7.2 ~ 8.0.
$ wget https://phpdoc.org/phpDocumentor.phar
Release Flow
Install phpDocumenter before releasing new version.
- Update VERSION constant varialbe at
Constant/Meta.php - Generate HTML phpdoc
php phpDocumentor.phar - Make a git tag (this project uses semantic versioning)
- Push the tag to origin
- Edit GitHub releases
That's all. It will be publish on composer automatically.