Skip to content

Commit 7f9f67e

Browse files
Adding Laravel 10 support
1 parent dee8adf commit 7f9f67e

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This Laravel Notes will allow you to add a notes system into your Laravel projec
2020
* Easy setup & configuration.
2121
* Well documented & IDE Friendly.
2222
* Well tested with maximum code quality.
23-
* Laravel `5.1` to `9.x` are supported.
23+
* Laravel `5.1` to `10.x` are supported.
2424
* Made with :heart: & :coffee:.
2525

2626
## Table of contents
@@ -42,7 +42,7 @@ If you discover any security related issues, please email arcanedev.maroc@gmail.
4242
- [ARCANEDEV][link-author]
4343
- [All Contributors][link-contributors]
4444

45-
[badge_laravel]: https://img.shields.io/badge/For%20Laravel-5.1%20to%209.x-orange.svg?style=flat-square
45+
[badge_laravel]: https://img.shields.io/badge/For%20Laravel-5.1%20to%2010.x-orange.svg?style=flat-square
4646
[badge_license]: https://img.shields.io/packagist/l/arcanedev/laravel-notes.svg?style=flat-square
4747
[badge_build]: https://img.shields.io/github/workflow/status/ARCANEDEV/LaravelNotes/run-tests?style=flat-square
4848
[badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANEDEV/LaravelNotes.svg?style=flat-square

_docs/1-Installation-and-Setup.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,21 @@
88

99
## Version Compatibility
1010

11-
| Laravel | Laravel Notes |
12-
|:-----------------------------|:-----------------------------------------|
13-
| ![Laravel v9.x][laravel_9_x] | ![Laravel Notes v9.x][laravel_notes_9_x] |
14-
| ![Laravel v8.x][laravel_8_x] | ![Laravel Notes v8.x][laravel_notes_8_x] |
15-
| ![Laravel v7.x][laravel_7_x] | ![Laravel Notes v7.x][laravel_notes_7_x] |
16-
| ![Laravel v6.x][laravel_6_x] | ![Laravel Notes v6.x][laravel_notes_6_x] |
17-
| ![Laravel v5.8][laravel_5_8] | ![Laravel Notes v5.x][laravel_notes_5_x] |
18-
| ![Laravel v5.7][laravel_5_7] | ![Laravel Notes v4.x][laravel_notes_4_x] |
19-
| ![Laravel v5.6][laravel_5_6] | ![Laravel Notes v3.x][laravel_notes_3_x] |
20-
| ![Laravel v5.5][laravel_5_5] | ![Laravel Notes v2.x][laravel_notes_2_x] |
21-
| ![Laravel v5.4][laravel_5_4] | ![Laravel Notes v1.x][laravel_notes_1_x] |
22-
| ![Laravel v5.3][laravel_5_3] | ![Laravel Notes v0.x][laravel_notes_0_x] |
23-
| ![Laravel v5.2][laravel_5_2] | ![Laravel Notes v0.x][laravel_notes_0_x] |
24-
| ![Laravel v5.1][laravel_5_1] | ![Laravel Notes v0.x][laravel_notes_0_x] |
11+
| Laravel | Laravel Notes |
12+
|:-------------------------------|:-------------------------------------------|
13+
| ![Laravel v10.x][laravel_10_x] | ![Laravel Notes v10.x][laravel_notes_10_x] |
14+
| ![Laravel v9.x][laravel_9_x] | ![Laravel Notes v9.x][laravel_notes_9_x] |
15+
| ![Laravel v8.x][laravel_8_x] | ![Laravel Notes v8.x][laravel_notes_8_x] |
16+
| ![Laravel v7.x][laravel_7_x] | ![Laravel Notes v7.x][laravel_notes_7_x] |
17+
| ![Laravel v6.x][laravel_6_x] | ![Laravel Notes v6.x][laravel_notes_6_x] |
18+
| ![Laravel v5.8][laravel_5_8] | ![Laravel Notes v5.x][laravel_notes_5_x] |
19+
| ![Laravel v5.7][laravel_5_7] | ![Laravel Notes v4.x][laravel_notes_4_x] |
20+
| ![Laravel v5.6][laravel_5_6] | ![Laravel Notes v3.x][laravel_notes_3_x] |
21+
| ![Laravel v5.5][laravel_5_5] | ![Laravel Notes v2.x][laravel_notes_2_x] |
22+
| ![Laravel v5.4][laravel_5_4] | ![Laravel Notes v1.x][laravel_notes_1_x] |
23+
| ![Laravel v5.3][laravel_5_3] | ![Laravel Notes v0.x][laravel_notes_0_x] |
24+
| ![Laravel v5.2][laravel_5_2] | ![Laravel Notes v0.x][laravel_notes_0_x] |
25+
| ![Laravel v5.1][laravel_5_1] | ![Laravel Notes v0.x][laravel_notes_0_x] |
2526

2627
[laravel_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "Laravel v9.x"
2728
[laravel_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "Laravel v8.x"
@@ -36,6 +37,7 @@
3637
[laravel_5_2]: https://img.shields.io/badge/version-5.2-blue.svg?style=flat-square "Laravel v5.2"
3738
[laravel_5_1]: https://img.shields.io/badge/version-5.1-blue.svg?style=flat-square "Laravel v5.1"
3839

40+
[laravel_notes_10_x]: https://img.shields.io/badge/version-10.x-blue.svg?style=flat-square "LaravelNotes v10.x"
3941
[laravel_notes_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "LaravelNotes v9.x"
4042
[laravel_notes_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "LaravelNotes v8.x"
4143
[laravel_notes_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "LaravelNotes v7.x"

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"type": "library",
1515
"license": "MIT",
1616
"require": {
17-
"php": "^8.0",
18-
"arcanedev/support": "^9.0"
17+
"php": "^8.1",
18+
"arcanedev/support": "^10.0"
1919
},
2020
"require-dev": {
2121
"fakerphp/faker": "^1.9.1",
2222
"mockery/mockery": "^1.4.4",
23-
"laravel/framework": "^9.0",
24-
"orchestra/testbench-core": "^7.0",
25-
"phpunit/phpunit": "^9.5.10"
23+
"laravel/framework": "^10.0",
24+
"orchestra/testbench-core": "^8.0",
25+
"phpunit/phpunit": "^10.0"
2626
},
2727
"autoload": {
2828
"psr-4": {

phpunit.xml.dist

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
colors="true"
66
>
77
<testsuites>
88
<testsuite name="Package Test Suite">
9-
<directory suffix=".php">./tests</directory>
9+
<directory suffix="Test.php">./tests</directory>
1010
<exclude>./tests/fixtures</exclude>
1111
</testsuite>
1212
</testsuites>
13-
<coverage processUncoveredFiles="true">
14-
<include>
15-
<directory suffix=".php">./src</directory>
16-
</include>
13+
<coverage>
1714
<report>
1815
<clover outputFile="build/coverage/clover.xml"/>
1916
<html outputDirectory="build/coverage/html"/>
@@ -23,4 +20,9 @@
2320
<php>
2421
<env name="DB_CONNECTION" value="testing"/>
2522
</php>
23+
<source>
24+
<include>
25+
<directory suffix=".php">./src</directory>
26+
</include>
27+
</source>
2628
</phpunit>

0 commit comments

Comments
 (0)