Skip to content

Enhance #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,28 @@ build_failure_conditions:
build:
dependencies:
override:
- make build
-
command: make build
title: Build deps
tests:
stop_on_failure: true
override:
-
command: make coverage
title: Coverage
idle_timeout: 1200
coverage:
file: 'build/coverage/clover.xml'
format: 'php-clover'
- php-scrutinizer-run --enable-security-analysis
- make codestyle
-
command: make codestyle
title: Code style
-
command: composer global require maglnet/composer-require-checker && composer-require-checker check composer.json
title: Composer-require-checker
-
command: php-scrutinizer-run --enable-security-analysis
title: Scrutinizer checks
cache:
directories:
- ~/.composer
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ Symfony bundle for [`yoanm/jsonrpc-params-symfony-validator-sdk`](https://github

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

## Versions
- Symfony v3/4 - PHP >=7.1 : `^v1.0`
- Symfony v4/5 - PHP >=7.2 : `^v2.0`

⚠️⚠️ `v0.2.0` is replaced by `v1.0.0` ! ⚠️⚠️

⚠️⚠️ `v0.3.0` was badly taggued, used `v2.0.0` instead ! ⚠️⚠️

## How to use

Once configured, simply send JSON-RPC request to the server and validator will automatically validate params.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"require": {
"php": ">=7.2",
"yoanm/jsonrpc-server-sdk": "^3.0",
"yoanm/symfony-jsonrpc-http-server": "^2.0",
"yoanm/jsonrpc-params-symfony-validator-sdk": "^0.3",
"yoanm/symfony-jsonrpc-http-server": "^3.0",
"yoanm/jsonrpc-params-symfony-validator-sdk": "^2.0",
"symfony/http-kernel": "^4.0 || ^5.0",
"symfony/dependency-injection": "4.0 || 5.0",
"symfony/config": "4.0 || 5.0"
Expand Down