Skip to content

Commit 8549787

Browse files
authored
Laravel 10 Support (#320)
* Laravel 10 Support * Fix for PHP Unit 10 xml config
1 parent 01fe708 commit 8549787

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ build
66
.lock
77
composer.lock
88
/fonts
9-
.phpunit.result.cache
9+
.phpunit.result.cache
10+
.phpunit.cache

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
}
2222
],
2323
"require": {
24-
"php": ">=7.1.3",
25-
"illuminate/support": "^5.4|^6.0|^7.0|^8.0|^9.0",
26-
"illuminate/view": "^5.4|^6.0|^7.0|^8.0|^9.0",
24+
"php": "^7.1|^8.0",
25+
"illuminate/support": "^5.4|^6.0|^7.0|^8.0|^9.0|^10.0",
26+
"illuminate/view": "^5.4|^6.0|^7.0|^8.0|^9.0|^10.0",
2727
"erusev/parsedown-extra": "^0.8.1|^0.8",
2828
"symfony/dom-crawler": "^4.1|^5.0|^6.0"
2929
},
3030
"require-dev": {
31-
"phpunit/phpunit": "^7.0|^8.0|^9.0",
32-
"laravel/framework": "^5.4|^6.0|^7.0|^8.0|^9.0",
33-
"orchestra/testbench": "^3.4|^4.0|^5.0|^7.0"
31+
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0",
32+
"laravel/framework": "^5.4|^6.0|^7.0|^8.0|^9.0|^10.0",
33+
"orchestra/testbench": "^3.4|^4.0|^5.0|^7.0|^8.0"
3434
},
3535
"autoload": {
3636
"files": [

phpunit.xml

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
4+
backupStaticProperties="false"
45
bootstrap="vendor/autoload.php"
6+
cacheDirectory=".phpunit.cache"
57
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
108
processIsolation="false"
119
stopOnFailure="false"
12-
>
10+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd">
1311
<testsuites>
1412
<testsuite name="LaRecipe Test Suite">
1513
<directory>tests</directory>
@@ -21,4 +19,4 @@
2119
<env name="APP_URL" value="http://localhost"/>
2220
<env name="APP_KEY" value="base64:M1igrxNfAWlVGyxxDholHqvVqvtPjAzCoJ+2/ILAVPw="/>
2321
</php>
24-
</phpunit>
22+
</phpunit>

0 commit comments

Comments
 (0)