File tree Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ build:
16
16
stop_on_failure : true
17
17
override :
18
18
- 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
24
20
-
25
21
command : make coverage
26
22
idle_timeout : 1200
39
35
COMPOSER_OPTIONS : ' --optimize-autoloader'
40
36
COVERAGE_OUTPUT_STYLE : ' clover'
41
37
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"
44
39
php :
45
40
version : " 7.1"
46
41
timezone : UTC
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ COVERAGE_CLOVER_FILE_PATH ?= ${COVERAGE_DIRECTORY}/clover.xml
13
13
# COMPOSER_OPTIONS=
14
14
# ## Phpcs
15
15
PHPCS_REPORT_STYLE ?= full
16
+ PHPCS_DISABLE_WARNING ?= "false"
16
17
# PHPCS_REPORT_FILE=
17
18
# PHPCS_REPORT_FILE_OPTION=
18
19
@@ -51,6 +52,12 @@ ifneq ("${PHPCS_REPORT_FILE}","")
51
52
PHPCS_REPORT_FILE_OPTION ?= --report-file=${PHPCS_REPORT_FILE}
52
53
endif
53
54
55
+ ifneq ("${PHPCS_DISABLE_WARNING}","true")
56
+ PHPCS_DISABLE_WARNING_OPTION=
57
+ else
58
+ PHPCS_DISABLE_WARNING_OPTION=-n
59
+ endif
60
+
54
61
55
62
# # Project build (install and configure)
56
63
build : install configure
@@ -76,7 +83,7 @@ test-functional:
76
83
./vendor/bin/behat ${BEHAT_COLOR_OPTION} ${BEHAT_OUTPUT_STYLE_OPTION} --no-snippets
77
84
78
85
codestyle : 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}
80
87
81
88
coverage : create-coverage-directory
82
89
./vendor/bin/phpunit ${PHPUNIT_COLOR_OPTION} ${PHPUNIT_OUTPUT_STYLE_OPTION} ${PHPUNIT_COVERAGE_OPTION}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " yoanm/jsonrpc-params-symfony-validator-sdk" ,
3
- "description" : " Symfony Server SDK to convert an HTTP json-rpc request into HTTP json-rpc response " ,
4
- "license" : " GPL-3.0-only " ,
3
+ "description" : " Simple JSON-RPC params validator that use Symfony validator component " ,
4
+ "license" : " MIT " ,
5
5
"type" : " library" ,
6
6
"support" : {
7
7
"issues" : " https://github.com/yoanm/php-jsonrpc-params-symfony-validator-sdk/issues"
25
25
}
26
26
},
27
27
"require" : {
28
- "php" : " >5.5 " ,
29
- "yoanm/jsonrpc-server-sdk" : " ~2 .0" ,
28
+ "php" : " >=7.0 " ,
29
+ "yoanm/jsonrpc-server-sdk" : " dev-release/3.0 .0" ,
30
30
"symfony/validator" : " ^3.0 || ^4.0"
31
31
},
32
32
"suggest" : {
43
43
"symfony/http-kernel" : " ^3.4" ,
44
44
"symfony/routing" : " ^3.4" ,
45
45
"yoanm/php-unit-extended" : " ~1.0" ,
46
- "yoanm/jsonrpc-server-doc-sdk" : " dev-master"
47
- }
46
+ "yoanm/jsonrpc-server-doc-sdk" : " dev-release/1.0.0"
47
+ },
48
+ "minimum-stability" : " dev"
48
49
}
You can’t perform that action at this time.
0 commit comments