-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for version 3: Add getAllIPAddresses, JsonSerialize inte…
…rface; refactor reports; add flexible reporting interface; improve build and static analysis tools.
- Loading branch information
1 parent
b7b94dc
commit 20a8c9b
Showing
10 changed files
with
987 additions
and
214 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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.PHONY : tests lint static report coverage | ||
|
||
all : tests lint static report | ||
|
||
tests : | ||
vendor/bin/phpunit tests/ --configuration=tests/phpunit.xml | ||
|
||
lint : | ||
vendor/bin/phpcs --standard=coding_standard.xml --ignore=vendor . | ||
|
||
static : | ||
vendor/bin/phpstan analyze --level max src/ tests/ | ||
vendor/bin/phpmd src/ text cleancode,codesize,design,unusedcode,naming | ||
|
||
coverage : | ||
vendor/bin/phpunit tests/ --configuration=tests/phpunit.xml --coverage-text=php://stdout | ||
|
||
report : | ||
vendor/bin/phploc src/ |
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
Oops, something went wrong.