Skip to content

Commit e59b4ba

Browse files
authored
Enhance (#20)
1 parent 8ca0f70 commit e59b4ba

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

.scrutinizer.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,28 @@ build_failure_conditions:
1111
build:
1212
dependencies:
1313
override:
14-
- make build
14+
-
15+
command: make build
16+
title: Build deps
1517
tests:
1618
stop_on_failure: true
1719
override:
1820
-
1921
command: make coverage
22+
title: Coverage
2023
idle_timeout: 1200
2124
coverage:
2225
file: 'build/coverage/clover.xml'
2326
format: 'php-clover'
24-
- php-scrutinizer-run --enable-security-analysis
25-
- make codestyle
27+
-
28+
command: make codestyle
29+
title: Code style
30+
-
31+
command: composer global require maglnet/composer-require-checker && composer-require-checker check composer.json
32+
title: Composer-require-checker
33+
-
34+
command: php-scrutinizer-run --enable-security-analysis
35+
title: Scrutinizer checks
2636
cache:
2737
directories:
2838
- ~/.composer

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ Symfony bundle for [`yoanm/jsonrpc-params-symfony-validator-sdk`](https://github
1313

1414
See [yoanm/symfony-jsonrpc-params-sf-constraints-doc](https://github.com/yoanm/symfony-jsonrpc-params-sf-constraints-doc) for documentation generation.
1515

16+
## Versions
17+
- Symfony v3/4 - PHP >=7.1 : `^v1.0`
18+
- Symfony v4/5 - PHP >=7.2 : `^v2.0`
19+
20+
⚠️⚠️ `v0.2.0` is replaced by `v1.0.0` ! ⚠️⚠️
21+
22+
⚠️⚠️ `v0.3.0` was badly taggued, used `v2.0.0` instead ! ⚠️⚠️
23+
1624
## How to use
1725

1826
Once configured, simply send JSON-RPC request to the server and validator will automatically validate params.

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"require": {
3333
"php": ">=7.2",
3434
"yoanm/jsonrpc-server-sdk": "^3.0",
35-
"yoanm/symfony-jsonrpc-http-server": "^2.0",
36-
"yoanm/jsonrpc-params-symfony-validator-sdk": "^0.3",
35+
"yoanm/symfony-jsonrpc-http-server": "^3.0",
36+
"yoanm/jsonrpc-params-symfony-validator-sdk": "^2.0",
3737
"symfony/http-kernel": "^4.0 || ^5.0",
3838
"symfony/dependency-injection": "4.0 || 5.0",
3939
"symfony/config": "4.0 || 5.0"

0 commit comments

Comments
 (0)