-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the latest LINE Messaging API
- Loading branch information
Showing
153 changed files
with
6,115 additions
and
3,717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/.idea/ | ||
/vendor/ | ||
/composer.lock | ||
/composer.phar | ||
composer.lock | ||
composer.phar | ||
/tests/Private | ||
/,/ | ||
/docs/ | ||
*.iml | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
COMPOSER_BIN = ./vendor/bin | ||
|
||
.PHONY: default test doc phpcs phpmd check | ||
|
||
default: check | ||
|
||
test: | ||
$(COMPOSER_BIN)/phpunit ./tests | ||
|
||
doc: | ||
yes yes | $(COMPOSER_BIN)/apigen generate --source=./src --destination=./docs --title line-bot-sdk-php | ||
|
||
phpcs: | ||
$(COMPOSER_BIN)/phpcs --standard=PSR2 src/ examples/SendingSample/ examples/EchoBot/src examples/EchoBot/public | ||
$(COMPOSER_BIN)/phpcs --standard=PSR2 src/ tests/ examples/EchoBot/src examples/EchoBot/public examples/KitchenSink/src examples/KitchenSink/public | ||
|
||
phpmd: | ||
$(COMPOSER_BIN)/phpmd ./src text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
$(COMPOSER_BIN)/phpmd ./examples/SendingSample text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
$(COMPOSER_BIN)/phpmd ./tests text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
$(COMPOSER_BIN)/phpmd ./examples/EchoBot/src text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
$(COMPOSER_BIN)/phpmd ./examples/EchoBot/public text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
$(COMPOSER_BIN)/phpmd ./examples/KitchenSink/src text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
$(COMPOSER_BIN)/phpmd ./examples/KitchenSink/public text cleancode,codesize,controversial,design,unusedcode,naming | grep -v 'Avoid using static access to class' | ||
|
||
copyright: | ||
bash ./devtool/check_copyright.sh | ||
|
||
check: test phpcs phpmd | ||
check: test copyright phpcs phpmd | ||
|
Oops, something went wrong.