File tree 4 files changed +24
-16
lines changed
4 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 23
23
format : ' php-clover'
24
24
- php-scrutinizer-run --enable-security-analysis
25
25
- make codestyle
26
+ - composer global require maglnet/composer-require-checker && composer-require-checker check composer.json
26
27
cache :
27
28
directories :
28
29
- ~/.composer
Original file line number Diff line number Diff line change 4
4
- ' 7.1'
5
5
- ' 7.2'
6
6
- ' 7.3'
7
+ - ' 7.4'
7
8
8
9
env :
9
10
global :
10
- CI : ' true'
11
- TEST_OUTPUT_STYLE : ' pretty'
12
- PHPCS_REPORT_STYLE : ' full'
13
- COMPOSER_OPTIONS : ' --optimize-autoloader'
14
- matrix :
15
- - SYMFONY_VERSION : ' ~3.0'
16
- - SYMFONY_VERSION : ' ~4.0'
17
-
18
- sudo : false
19
-
20
- matrix :
11
+ - CI : ' true'
12
+ - TEST_OUTPUT_STYLE : ' pretty'
13
+ - PHPCS_REPORT_STYLE : ' full'
14
+ - COMPOSER_OPTIONS : ' --optimize-autoloader'
15
+ jobs :
16
+ - SYMFONY_VERSION : ' ~3.0'
17
+ - SYMFONY_VERSION : ' ~4.0'
18
+
19
+ jobs :
21
20
fast_finish : true
22
21
23
22
before_install :
24
23
# remove xdebug to speed up build
25
24
- phpenv config-rm xdebug.ini || true
26
25
27
26
install :
28
- - composer require symfony/http-foundation:$SYMFONY_VERSION symfony/http-kernel:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION
27
+ - composer require symfony/http-foundation:$SYMFONY_VERSION symfony/http-kernel:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION symfony/event-dispatcher:$SYMFONY_VERSION symfony/routing:$SYMFONY_VERSION
29
28
- make build
30
29
script :
31
30
- make test-technical
39
38
branches :
40
39
except :
41
40
- /.*\-dev$/
41
+ - /^dev-.*/
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ See [yoanm/symfony-jsonrpc-params-validator](https://github.com/yoanm/symfony-js
15
15
16
16
See [ yoanm/symfony-jsonrpc-http-server-doc] ( https://github.com/yoanm/symfony-jsonrpc-http-server-doc ) for documentation generation.
17
17
18
+ ## Versions
19
+
20
+ - Symfony v3/4 - PHP >=7.1 : ` ^v2.0 `
21
+ ⚠️⚠️ ` v2.1.0 ` and ` v2.1.1 ` was badly taggued, used ` v3.0.0 ` instead ! ⚠️⚠️
22
+ - Symfony v4/5 - PHP >=7.2 : ` ^v3.0 `
23
+
18
24
## How to use
19
25
20
26
Once configured, your project is ready to handle HTTP ` POST ` request on ` /json-rpc ` endpoint.
Original file line number Diff line number Diff line change 26
26
}
27
27
},
28
28
"suggest" : {
29
- "yoanm/symfony-jsonrpc-server-psr11-resolver" : " PSR-11 compliant method resolver for yoanm/symfony-jsonrpc-http-server" ,
30
29
"yoanm/symfony-jsonrpc-params-validator" : " Symfony bundle for easy JSON-RPC params validation" ,
31
30
"yoanm/symfony-jsonrpc-http-server-doc" : " JSON-RPC documentation Bundle"
32
31
},
36
35
"symfony/http-foundation" : " ^3.0 || ^4.0" ,
37
36
"symfony/http-kernel" : " ^3.0 || ^4.0" ,
38
37
"symfony/config" : " ^3.0 || ^4.0" ,
39
- "symfony/dependency-injection" : " ^3.0 || ^4.0"
38
+ "symfony/dependency-injection" : " ^3.0 || ^4.0" ,
39
+ "symfony/event-dispatcher" : " ^3.0 || ^4.0" ,
40
+ "psr/container" : " ^1.0"
40
41
},
41
42
"require-dev" : {
42
43
"behat/behat" : " ~3.0" ,
43
44
"squizlabs/php_codesniffer" : " 3.*" ,
44
- "phpunit/phpunit" : " ^7.0 || ^8.0 " ,
45
- "matthiasnoback/symfony-dependency-injection-test" : " ^2 .0 || ^3 .0" ,
45
+ "phpunit/phpunit" : " ^7.0" ,
46
+ "matthiasnoback/symfony-dependency-injection-test" : " ^3 .0 || ^4 .0" ,
46
47
"matthiasnoback/symfony-config-test" : " ^3.0 || ^4.0" ,
47
48
"symfony/framework-bundle" : " ^3.0 || ^4.0" ,
48
49
"symfony/http-kernel" : " ^3.0 || ^4.0" ,
You can’t perform that action at this time.
0 commit comments