8000 Travis config upgrade & good sdk version by yoanm · Pull Request #19 · yoanm/symfony-jsonrpc-params-validator · GitHub
[go: up one dir, main page]

Skip to content

Travis config upgrade & good sdk version #19

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 6 commits into from
Mar 27, 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
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ build:
format: 'php-clover'
- php-scrutinizer-run --enable-security-analysis
- make codestyle
- composer global require maglnet/composer-require-checker && composer-require-checker check composer.json
cache:
directories:
- ~/.composer
Expand Down
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,23 @@ php:

env:
global:
CI: 'true'
TEST_OUTPUT_STYLE: 'pretty'
PHPCS_REPORT_STYLE: 'full'
COMPOSER_OPTIONS: '--optimize-autoloader'
matrix:
- SYMFONY_VERSION: '~3.0'
- SYMFONY_VERSION: '~4.0'

sudo: false

matrix:
- CI: 'true'
- TEST_OUTPUT_STYLE: 'pretty'
- PHPCS_REPORT_STYLE: 'full'
- COMPOSER_OPTIONS: '--optimize-autoloader'
jobs:
- SYMFONY_VERSION: '~3.0'
- SYMFONY_VERSION: '~4.0'

jobs:
fast_finish: true

before_install:
# remove xdebug to speed up build
- phpenv config-rm xdebug.ini || true

install:
- composer require symfony/http-kernel:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION symfony/routing:$SYMFONY_VERSION
- composer require symfony/http-kernel:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/routing:$SYMFONY_VERSION
- make build
script:
- make test-technical
Expand All @@ -41,3 +39,4 @@ branches:
except:
- /.*\-dev$/
- /.*\-patch(\-\d+)?$/
- /^dev-.*/
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
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"php": ">=7.1",
"yoanm/jsonrpc-server-sdk": "^3.0",
"yoanm/symfony-jsonrpc-http-server": "^2.0",
"yoanm/jsonrpc-params-symfony-validator-sdk": "^0.2",
"yoanm/jsonrpc-params-symfony-validator-sdk": "^1.0",
"symfony/http-kernel": "^3.0 || ^4.0",
"symfony/dependency-injection": "^3.0 || ^4.0"
"symfony/dependency-injection": "^3.0 || ^4.0",
"symfony/config": "^3.0 || ^4.0"
},
"require-dev": {
"ext-json": "*",
Expand Down
0