Skip to content

Commit 03887eb

Browse files
authored
Add Laravel 11 support (#28)
* add laravel 11 support * update tests * update tests * update markdown dependency * update deps * update * update tests * update license
1 parent 5aeb977 commit 03887eb

File tree

4 files changed

+22
-17
lines changed

4 files changed

+22
-17
lines changed

.github/workflows/main.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,26 @@ jobs:
1111
# Disable testing on windows for now...
1212
# os: [ubuntu-latest, windows-latest]
1313
os: [ubuntu-latest]
14-
php: [8.0, 8.1, 8.2]
15-
laravel: [8.*, 9.*, 10.*]
14+
php: [8.0, 8.1, 8.2, 8.3]
15+
laravel: [8.*, 9.*, 10.*, 11.*]
1616
stability: [prefer-stable]
1717
exclude:
1818
- laravel: 8.*
1919
php: 8.2
20+
- laravel: 8.*
21+
php: 8.3
22+
- laravel: 9.*
23+
php: 8.1
24+
- laravel: 9.*
25+
php: 8.2
26+
- laravel: 9.*
27+
php: 8.3
2028
- laravel: 10.*
2129
php: 8.0
30+
- laravel: 11.*
31+
php: 8.0
32+
- laravel: 11.*
33+
php: 8.1
2234

2335
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2436

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Ahmet Özışık
3+
Copyright (c) 2024 Swiftmade OÜ
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"minimum-stability": "stable",
1212
"require": {
1313
"php": "^8.0",
14-
"laravel/framework": "^8.0|^9.0|^10.0",
15-
"ultrono/markdown": "^14.0"
14+
"laravel/framework": "^8.0|^9.0|^10.0|^11.0",
15+
"graham-campbell/markdown": "^15.0"
1616
},
1717
"require-dev": {
18-
"phpunit/phpunit": "^9.0",
19-
"laravel/laravel": "7.*|8.*|9.*|10.*",
18+
"phpunit/phpunit": "^9.0|^10.0",
19+
"laravel/laravel": "8.*|9.*|10.*|11.*",
2020
"mockery/mockery": "^1.3",
2121
"friendsofphp/php-cs-fixer": "^3.13"
2222
},

phpunit.xml

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
>
2+
<phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false">
123
<testsuites>
134
<testsuite name="Package Test Suite">
145
<directory suffix=".php">./tests/Integration</directory>
156
</testsuite>
167
</testsuites>
178
<php>
189
<env name="APP_ENV" value="testing"/>
10+
<env name="CACHE_STORE" value="array"/>
11+
<env name="DATABASE_URL" value="sqlite:///:memory:"/>
1912
</php>
2013
</phpunit>

0 commit comments

Comments
 (0)