File tree Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ build:
1616 stop_on_failure : true
1717 override :
1818 - php-scrutinizer-run --enable-security-analysis
19- -
20- command : make codestyle
21- analysis :
22- file : ' build/reports/cs-data'
23- format : ' php-cs-checkstyle'
19+ - make codestyle
2420 -
2521 command : make coverage
2622 idle_timeout : 1200
3935 COMPOSER_OPTIONS : ' --optimize-autoloader'
4036 COVERAGE_OUTPUT_STYLE : ' clover'
4137 COVERAGE_CLOVER_FILE_PATH : ' build/coverage/clover.xml'
42- PHPCS_REPORT_STYLE : ' checkstyle'
43- PHPCS_REPORT_FILE : ' build/reports/cs-data'
38+ PHPCS_DISABLE_WARNING : " true"
4439 php :
4540 version : " 7.1"
4641 timezone : UTC
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ COVERAGE_CLOVER_FILE_PATH ?= ${COVERAGE_DIRECTORY}/clover.xml
1313# COMPOSER_OPTIONS=
1414# ## Phpcs
1515PHPCS_REPORT_STYLE ?= full
16+ PHPCS_DISABLE_WARNING ?= "false"
1617# PHPCS_REPORT_FILE=
1718# PHPCS_REPORT_FILE_OPTION=
1819
@@ -51,6 +52,12 @@ ifneq ("${PHPCS_REPORT_FILE}","")
5152PHPCS_REPORT_FILE_OPTION ?= --report-file=${PHPCS_REPORT_FILE}
5253endif
5354
55+ ifneq ("${PHPCS_DISABLE_WARNING}","true")
56+ PHPCS_DISABLE_WARNING_OPTION=
57+ else
58+ PHPCS_DISABLE_WARNING_OPTION=-n
59+ endif
60+
5461
5562# # Project build (install and configure)
5663build : install configure
@@ -76,7 +83,7 @@ test-functional:
7683./vendor/bin/behat ${BEHAT_COLOR_OPTION} ${BEHAT_OUTPUT_STYLE_OPTION} --no-snippets
7784
7885codestyle : create-reports-directory
79- ./vendor/bin/phpcs --standard=phpcs.xml.dist ${PHPCS_COLOR_OPTION} ${PHPCS_REPORT_FILE_OPTION} --report=${PHPCS_REPORT_STYLE}
86+ ./vendor/bin/phpcs ${PHPCS_DISABLE_WARNING_OPTION} --standard=phpcs.xml.dist ${PHPCS_COLOR_OPTION} ${PHPCS_REPORT_FILE_OPTION} --report=${PHPCS_REPORT_STYLE}
8087
8188coverage : create-coverage-directory
8289./vendor/bin/phpunit ${PHPUNIT_COLOR_OPTION} ${PHPUNIT_OUTPUT_STYLE_OPTION} ${PHPUNIT_COVERAGE_OPTION}
Original file line number Diff line number Diff line change 77
88[ ![ Latest Stable Version] ( https://img.shields.io/packagist/v/yoanm/jsonrpc-server-doc-sdk.svg )] ( https://packagist.org/packages/yoanm/jsonrpc-server-doc-sdk ) [ ![ Packagist PHP version] ( https://img.shields.io/packagist/php-v/yoanm/jsonrpc-server-doc-sdk.svg )] ( https://packagist.org/packages/yoanm/jsonrpc-server-doc-sdk )
99
10- Php SDK to generate Http JSON-RPC server documentation
10+ Php SDK to generate ( Http) JSON-RPC server documentation
1111
1212## How to use
1313
Original file line number Diff line number Diff line change 11{
22 "name" : " yoanm/jsonrpc-server-doc-sdk" ,
3- "description" : " SDK to generate Http JSON-RPC server documentation" ,
3+ "description" : " SDK to generate ( Http) JSON-RPC server documentation" ,
44 "license" : " MIT" ,
55 "type" : " library" ,
66 "support" : {
Original file line number Diff line number Diff line change 3434
3535 <testsuites >
3636 <testsuite name =" functional" >
37- <directory >tests/Functional</directory >
37+ <directory >tests/Functional/* </directory >
3838 </testsuite >
3939 <testsuite name =" technical" >
40- <directory >tests/Technical</directory >
40+ <directory >tests/Technical/* </directory >
4141 </testsuite >
4242 </testsuites >
4343
You can’t perform that action at this time.
0 commit comments