Skip to content

Commit

Permalink
Merge pull request #108 from ARCANEDEV/laravel_9_support
Browse files Browse the repository at this point in the history
Laravel 9 support
  • Loading branch information
arcanedev-maroc authored Feb 10, 2022
2 parents b17622a + 0e5341a commit 16ff6e2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 43 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0]
php: [8.0, 8.1]
dependency-version: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand All @@ -29,8 +29,8 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
coverage: xdebug
tools: composer:v2
coverage: pcov

- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
Expand All @@ -40,7 +40,7 @@ jobs:
mkdir -p build/logs
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
- name: Scrutinizer CI
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
# - name: Scrutinizer CI
# run: |
# wget https://scrutinizer-ci.com/ocular.phar
# php ocular.phar code-coverage:upload --format=php-clover coverage.clover
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ checks:
tools:
external_code_coverage:
timeout: 600
runs: 6
runs: 4
php_code_sniffer:
enabled: true
config:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2020 | ARCANEDEV <arcanedev.maroc@gmail.com> - noCaptcha
Copyright (c) ARCANEDEV <arcanedev.maroc@gmail.com> - noCaptcha

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ reCAPTCHA comes in the form of a widget that you can easily add to your blog, fo
* Easy setup &amp; configuration.
* Well documented &amp; IDE Friendly.
* Well tested with maximum code quality.
* Laravel `4.2` to `8.x` are supported.
* Laravel `4.2` to `9.x` are supported.
* PSR-7 Support (ServerRequest verification).
* Made with :heart: &amp; :coffee:.

Expand Down
28 changes: 0 additions & 28 deletions _docs/0-Home.md

This file was deleted.

3 changes: 3 additions & 0 deletions _docs/1-Installation-and-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ For more details, check the [official documentation](https://developers.google.c

| Laravel | noCaptcha |
|:-----------------------------|:--------------------------------------------------------------------|
| ![Laravel v9.x][laravel_9_x] | ![noCaptcha v13.x][no_captcha_13_x] |
| ![Laravel v8.x][laravel_8_x] | ![noCaptcha v12.x][no_captcha_12_x] |
| ![Laravel v7.x][laravel_7_x] | ![noCaptcha v11.x][no_captcha_11_x] |
| ![Laravel v6.x][laravel_6_x] | ![noCaptcha v10.x][no_captcha_10_x] |
Expand All @@ -36,6 +37,7 @@ For more details, check the [official documentation](https://developers.google.c

> **Note :** This is a framework-agnostic package, so you can use any version of this package in your PHP project.
[laravel_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "Laravel v9.x"
[laravel_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "Laravel v8.x"
[laravel_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "Laravel v7.x"
[laravel_6_x]: https://img.shields.io/badge/version-6.x-blue.svg?style=flat-square "Laravel v6.x"
Expand All @@ -50,6 +52,7 @@ For more details, check the [official documentation](https://developers.google.c
[laravel_5_0]: https://img.shields.io/badge/version-5.0-blue.svg?style=flat-square "Laravel v5.0"
[laravel_4_2]: https://img.shields.io/badge/version-4.2-blue.svg?style=flat-square "Laravel v4.2"

[no_captcha_13_x]: https://img.shields.io/badge/version-13.x-blue.svg?style=flat-square "noCaptcha v13.x"
[no_captcha_12_x]: https://img.shields.io/badge/version-12.x-blue.svg?style=flat-square "noCaptcha v12.x"
[no_captcha_11_x]: https://img.shields.io/badge/version-11.x-blue.svg?style=flat-square "noCaptcha v11.x"
[no_captcha_10_x]: https://img.shields.io/badge/version-10.x-blue.svg?style=flat-square "noCaptcha v10.x"
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"php": "^8.0",
"ext-curl": "*",
"ext-json": "*",
"arcanedev/php-html": "^5.0",
"arcanedev/support": "^8.0",
"arcanedev/php-html": "^6.0",
"arcanedev/support": "^9.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"orchestra/testbench": "^6.4",
"orchestra/testbench": "^7.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.3.3"
"phpunit/phpunit": "^9.5.8"
},
"autoload": {
"psr-4": {
Expand All @@ -42,7 +42,7 @@
},
"extra": {
"branch-alias": {
"dev-develop": "12.x-dev"
"dev-develop": "13.x-dev"
},
"laravel": {
"providers": [
Expand Down

0 comments on commit 16ff6e2

Please sign in to comment.