From 7f9f67e2be94d98d539c5e6fc43fa676bc254832 Mon Sep 17 00:00:00 2001 From: Vitaliy Reusch Date: Fri, 4 Aug 2023 12:43:11 +0300 Subject: [PATCH] Adding Laravel 10 support --- README.md | 4 ++-- _docs/1-Installation-and-Setup.md | 30 ++++++++++++++++-------------- composer.json | 10 +++++----- phpunit.xml.dist | 14 ++++++++------ 4 files changed, 31 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 4f74ecd..a2ce50b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This Laravel Notes will allow you to add a notes system into your Laravel projec * Easy setup & configuration. * Well documented & IDE Friendly. * Well tested with maximum code quality. - * Laravel `5.1` to `9.x` are supported. + * Laravel `5.1` to `10.x` are supported. * Made with :heart: & :coffee:. ## Table of contents @@ -42,7 +42,7 @@ If you discover any security related issues, please email arcanedev.maroc@gmail. - [ARCANEDEV][link-author] - [All Contributors][link-contributors] -[badge_laravel]: https://img.shields.io/badge/For%20Laravel-5.1%20to%209.x-orange.svg?style=flat-square +[badge_laravel]: https://img.shields.io/badge/For%20Laravel-5.1%20to%2010.x-orange.svg?style=flat-square [badge_license]: https://img.shields.io/packagist/l/arcanedev/laravel-notes.svg?style=flat-square [badge_build]: https://img.shields.io/github/workflow/status/ARCANEDEV/LaravelNotes/run-tests?style=flat-square [badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANEDEV/LaravelNotes.svg?style=flat-square diff --git a/_docs/1-Installation-and-Setup.md b/_docs/1-Installation-and-Setup.md index acf5b06..a46c077 100644 --- a/_docs/1-Installation-and-Setup.md +++ b/_docs/1-Installation-and-Setup.md @@ -8,20 +8,21 @@ ## Version Compatibility -| Laravel | Laravel Notes | -|:-----------------------------|:-----------------------------------------| -| ![Laravel v9.x][laravel_9_x] | ![Laravel Notes v9.x][laravel_notes_9_x] | -| ![Laravel v8.x][laravel_8_x] | ![Laravel Notes v8.x][laravel_notes_8_x] | -| ![Laravel v7.x][laravel_7_x] | ![Laravel Notes v7.x][laravel_notes_7_x] | -| ![Laravel v6.x][laravel_6_x] | ![Laravel Notes v6.x][laravel_notes_6_x] | -| ![Laravel v5.8][laravel_5_8] | ![Laravel Notes v5.x][laravel_notes_5_x] | -| ![Laravel v5.7][laravel_5_7] | ![Laravel Notes v4.x][laravel_notes_4_x] | -| ![Laravel v5.6][laravel_5_6] | ![Laravel Notes v3.x][laravel_notes_3_x] | -| ![Laravel v5.5][laravel_5_5] | ![Laravel Notes v2.x][laravel_notes_2_x] | -| ![Laravel v5.4][laravel_5_4] | ![Laravel Notes v1.x][laravel_notes_1_x] | -| ![Laravel v5.3][laravel_5_3] | ![Laravel Notes v0.x][laravel_notes_0_x] | -| ![Laravel v5.2][laravel_5_2] | ![Laravel Notes v0.x][laravel_notes_0_x] | -| ![Laravel v5.1][laravel_5_1] | ![Laravel Notes v0.x][laravel_notes_0_x] | +| Laravel | Laravel Notes | +|:-------------------------------|:-------------------------------------------| +| ![Laravel v10.x][laravel_10_x] | ![Laravel Notes v10.x][laravel_notes_10_x] | +| ![Laravel v9.x][laravel_9_x] | ![Laravel Notes v9.x][laravel_notes_9_x] | +| ![Laravel v8.x][laravel_8_x] | ![Laravel Notes v8.x][laravel_notes_8_x] | +| ![Laravel v7.x][laravel_7_x] | ![Laravel Notes v7.x][laravel_notes_7_x] | +| ![Laravel v6.x][laravel_6_x] | ![Laravel Notes v6.x][laravel_notes_6_x] | +| ![Laravel v5.8][laravel_5_8] | ![Laravel Notes v5.x][laravel_notes_5_x] | +| ![Laravel v5.7][laravel_5_7] | ![Laravel Notes v4.x][laravel_notes_4_x] | +| ![Laravel v5.6][laravel_5_6] | ![Laravel Notes v3.x][laravel_notes_3_x] | +| ![Laravel v5.5][laravel_5_5] | ![Laravel Notes v2.x][laravel_notes_2_x] | +| ![Laravel v5.4][laravel_5_4] | ![Laravel Notes v1.x][laravel_notes_1_x] | +| ![Laravel v5.3][laravel_5_3] | ![Laravel Notes v0.x][laravel_notes_0_x] | +| ![Laravel v5.2][laravel_5_2] | ![Laravel Notes v0.x][laravel_notes_0_x] | +| ![Laravel v5.1][laravel_5_1] | ![Laravel Notes v0.x][laravel_notes_0_x] | [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" @@ -36,6 +37,7 @@ [laravel_5_2]: https://img.shields.io/badge/version-5.2-blue.svg?style=flat-square "Laravel v5.2" [laravel_5_1]: https://img.shields.io/badge/version-5.1-blue.svg?style=flat-square "Laravel v5.1" +[laravel_notes_10_x]: https://img.shields.io/badge/version-10.x-blue.svg?style=flat-square "LaravelNotes v10.x" [laravel_notes_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "LaravelNotes v9.x" [laravel_notes_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "LaravelNotes v8.x" [laravel_notes_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "LaravelNotes v7.x" diff --git a/composer.json b/composer.json index 2232277..940f3b8 100644 --- a/composer.json +++ b/composer.json @@ -14,15 +14,15 @@ "type": "library", "license": "MIT", "require": { - "php": "^8.0", - "arcanedev/support": "^9.0" + "php": "^8.1", + "arcanedev/support": "^10.0" }, "require-dev": { "fakerphp/faker": "^1.9.1", "mockery/mockery": "^1.4.4", - "laravel/framework": "^9.0", - "orchestra/testbench-core": "^7.0", - "phpunit/phpunit": "^9.5.10" + "laravel/framework": "^10.0", + "orchestra/testbench-core": "^8.0", + "phpunit/phpunit": "^10.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index aedef0a..36a8f63 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,19 +1,16 @@ - ./tests + ./tests ./tests/fixtures - - - ./src - + @@ -23,4 +20,9 @@ + + + ./src + +