Skip to content

Commit 5572d5c

Browse files
authored
Merge pull request #9 from zonneplan/feature/add-laravel-10-support
Add Laravel 10 support
2 parents 4f40547 + e0c6a89 commit 5572d5c

File tree

3 files changed

+20
-28
lines changed

3 files changed

+20
-28
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ phpunit.xml
88
.idea
99
.phpunit.result.cache
1010
.DS_Store
11+
.phpunit.cache

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
"license": "MIT",
1313
"authors": [],
1414
"require": {
15-
"php": "^8.0",
16-
"illuminate/console": "^9.0",
17-
"illuminate/database": "^9.0",
18-
"illuminate/support": "^9.0",
19-
"illuminate/routing": "^9.0"
15+
"php": "^8.1",
16+
"illuminate/console": "^10.0",
17+
"illuminate/database": "^10.0",
18+
"illuminate/support": "^10.0",
19+
"illuminate/routing": "^10.0"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^9.5",
22+
"phpunit/phpunit": "^9.5||^10.0",
2323
"mockery/mockery": "^1.4",
24-
"orchestra/testbench": "^7.0"
24+
"orchestra/testbench": "^8.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

phpunit.xml.dist

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
12-
<testsuites>
13-
<testsuite name="Laravel Module Loader Test Suite">
14-
<directory>tests</directory>
15-
</testsuite>
16-
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
</phpunit>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Laravel Module Loader Test Suite">
10+
<directory>tests</directory>
11+
</testsuite>
12+
</testsuites>
13+
</phpunit>

0 commit comments

Comments
 (0)