From 9385ad10083015ceccb2696c6a2bc40250f00d30 Mon Sep 17 00:00:00 2001 From: ARCANEDEV Date: Wed, 4 Sep 2019 14:52:17 +0100 Subject: [PATCH] Adding Laravel 6.0 support --- .scrutinizer.yml | 2 +- .travis.yml | 2 -- README.md | 2 +- _docs/0-Home.md | 2 +- _docs/1-Installation-and-Setup.md | 3 +++ composer.json | 14 +++++++------- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 69d4755..d44a72f 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -22,7 +22,7 @@ checks: tools: external_code_coverage: timeout: 600 - runs: 4 + runs: 2 php_code_sniffer: enabled: true config: diff --git a/.travis.yml b/.travis.yml index 44ace38..0d5796f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ language: php sudo: false php: - - 7.1.3 - - 7.1 - 7.2 - 7.3 - nightly diff --git a/README.md b/README.md index 1ecbb43..3b063a5 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ reCAPTCHA comes in the form of a widget that you can easily add to your blog, fo * Easy setup & configuration. * Well documented & IDE Friendly. * Well tested with maximum code quality. - * Laravel `4.2` and `5.0` to `5.8` are supported. + * Laravel `4.2` and `5.0` to `6.0` are supported. * PSR-7 Support (ServerRequest verification). * Made with :heart: & :coffee:. diff --git a/_docs/0-Home.md b/_docs/0-Home.md index 7f59a17..c6c83a6 100644 --- a/_docs/0-Home.md +++ b/_docs/0-Home.md @@ -15,7 +15,7 @@ reCAPTCHA comes in the form of a widget that you can easily add to your blog, fo * Easy setup & configuration. * Well documented & IDE Friendly. * Well tested with maximum code quality. - * Laravel `4.2` and `5.0` to `5.8` are supported. + * Laravel `4.2` and `5.0` to `6.0` are supported. * PSR-7 Support (ServerRequest verification). * Made with :heart: & :coffee:. diff --git a/_docs/1-Installation-and-Setup.md b/_docs/1-Installation-and-Setup.md index dfdbaec..8746bbc 100644 --- a/_docs/1-Installation-and-Setup.md +++ b/_docs/1-Installation-and-Setup.md @@ -31,6 +31,7 @@ For more details, check the [official documentation](https://developers.google.c | ![noCaptcha v6.x][no_captcha_6_x] | ![Laravel v5.6][laravel_5_6] | | ![noCaptcha v7.x][no_captcha_7_x] ![noCaptcha v8.x][no_captcha_8_x] | ![Laravel v5.7][laravel_5_7] | | ![noCaptcha v9.x][no_captcha_9_x] | ![Laravel v5.8][laravel_5_8] | +| ![noCaptcha v10.x][no_captcha_10_x] | ![Laravel v6.0][laravel_6_0] | > **Note :** This is a framework-agnostic package, so you can use any version of this package in your PHP project. @@ -44,6 +45,7 @@ For more details, check the [official documentation](https://developers.google.c [laravel_5_6]: https://img.shields.io/badge/v5.6-supported-brightgreen.svg?style=flat-square "Laravel v5.6" [laravel_5_7]: https://img.shields.io/badge/v5.7-supported-brightgreen.svg?style=flat-square "Laravel v5.7" [laravel_5_8]: https://img.shields.io/badge/v5.8-supported-brightgreen.svg?style=flat-square "Laravel v5.8" +[laravel_6_0]: https://img.shields.io/badge/v6.0-supported-brightgreen.svg?style=flat-square "Laravel v6.0" [no_captcha_1_x]: https://img.shields.io/badge/version-1.*-blue.svg?style=flat-square "noCaptcha v1.*" [no_captcha_3_x]: https://img.shields.io/badge/version-3.*-blue.svg?style=flat-square "noCaptcha v3.*" @@ -53,6 +55,7 @@ For more details, check the [official documentation](https://developers.google.c [no_captcha_7_x]: https://img.shields.io/badge/version-7.*-blue.svg?style=flat-square "noCaptcha v7.*" [no_captcha_8_x]: https://img.shields.io/badge/version-8.*-blue.svg?style=flat-square "noCaptcha v8.*" [no_captcha_9_x]: https://img.shields.io/badge/version-9.*-blue.svg?style=flat-square "noCaptcha v9.*" +[no_captcha_10_x]: https://img.shields.io/badge/version-10.*-blue.svg?style=flat-square "noCaptcha v10.*" ## Composer diff --git a/composer.json b/composer.json index 3603b8b..312a194 100644 --- a/composer.json +++ b/composer.json @@ -14,18 +14,18 @@ "type": "library", "license": "MIT", "require": { - "php": ">=7.1.3", + "php": ">=7.2.0", "ext-curl": "*", "ext-json": "*", - "arcanedev/php-html": "~2.0.0", - "arcanedev/support": "~4.5.0", + "arcanedev/php-html": "~3.0.0", + "arcanedev/support": "~5.0.0", "psr/http-message": "~1.0" }, "require-dev": { - "arcanedev/laravel-html": "~5.8.0", - "orchestra/testbench": "~3.8.0", - "phpunit/phpunit": "~7.0|~8.0", - "phpunit/phpcov": "~5.0|~6.0" + "arcanedev/laravel-html": "~6.0.0", + "orchestra/testbench": "~4.0.0", + "phpunit/phpunit": "~8.0", + "phpunit/phpcov": "~6.0" }, "autoload": { "psr-4": {