diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 43423bf..c438f01 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index e2d53b4..403a14b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,20 +4,19 @@ php: - '7.1' - '7.2' - '7.3' + - '7.4' 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: @@ -25,7 +24,7 @@ before_install: - phpenv config-rm xdebug.ini || true install: - - composer require symfony/http-foundation:$SYMFONY_VERSION symfony/http-kernel:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION + - 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 - make build script: - make test-technical @@ -39,3 +38,4 @@ cache: branches: except: - /.*\-dev$/ + - /^dev-.*/ diff --git a/README.md b/README.md index c3e12d0..a7bb8bf 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,12 @@ 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. diff --git a/composer.json b/composer.json index 141ee05..133cc05 100644 --- a/composer.json +++ b/composer.json @@ -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" }, @@ -36,13 +35,15 @@ "symfony/http-foundation": "^3.0 || ^4.0", "symfony/http-kernel": "^3.0 || ^4.0", "symfony/config": "^3.0 || ^4.0", - "symfony/dependency-injection": "^3.0 || ^4.0" + "symfony/dependency-injection": "^3.0 || ^4.0", + "symfony/event-dispatcher": "^3.0 || ^4.0", + "psr/container": "^1.0" }, "require-dev": { "behat/behat": "~3.0", "squizlabs/php_codesniffer": "3.*", - "phpunit/phpunit": "^7.0 || ^8.0", - "matthiasnoback/symfony-dependency-injection-test": "^2.0 || ^3.0", + "phpunit/phpunit": "^7.0", + "matthiasnoback/symfony-dependency-injection-test": "^3.0 || ^4.0", "matthiasnoback/symfony-config-test": "^3.0 || ^4.0", "symfony/framework-bundle": "^3.0 || ^4.0", "symfony/http-kernel": "^3.0 || ^4.0", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy