Skip to content

Commit

Permalink
Merge branch 'release/3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
yoanm committed Mar 27, 2020
2 parents ae6c158 + 01ff90c commit 8f30104
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,30 @@ build_failure_conditions:
build:
dependencies:
override:
- make build
-
command: make build
title: Build deps
idle_timeout: 240
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 @@ -15,6 +15,14 @@ See [yoanm/symfony-jsonrpc-params-validator](https://github.com/yoanm/symfony-js

See [yoanm/symfony-jsonrpc-http-server-doc](https://github.com/yoanm/symfony-jsonrpc-http-server-doc) for documentation generation.

## Versions

- Symfony v3/4 - PHP >=7.1 : `^v2.0`

⚠️⚠️ `v2.1.0` and `v2.1.1` was badly taggued, used `v3.0.0` instead ! ⚠️⚠️

- Symfony v4/5 - PHP >=7.2 : `^v3.0`

## How to use

Once configured, your project is ready to handle HTTP `POST` request on `/json-rpc` endpoint.
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
}
},
"suggest": {
"yoanm/symfony-jsonrpc-server-psr11-resolver": "PSR-11 compliant method resolver for yoanm/symfony-jsonrpc-http-server",
"yoanm/symfony-jsonrpc-params-validator": "Symfony bundle for easy JSON-RPC params validation",
"yoanm/symfony-jsonrpc-http-server-doc": "JSON-RPC documentation Bundle"
},
Expand All @@ -37,7 +36,9 @@
"symfony/http-kernel": "^4.0 || ^5.0",
"symfony/config": "^4.0 || ^5.0",
"symfony/dependency-injection": "^4.0 || ^5.0",
"symfony/event-dispatcher": "^4.0 || ^5.0"
"symfony/event-dispatcher": "^4.0 || ^5.0",
"symfony/event-dispatcher-contracts": "^1.0 || ^2.0",
"psr/container": "^1.0"
},
"require-dev": {
"behat/behat": "~3.0",
Expand Down

0 comments on commit 8f30104

Please sign in to comment.