Skip to content

Commit 59cf6bf

Browse files
isunjaKrisell
andauthored
Support for Laravel 10 (#1)
* Support for Laravel 10 * Update phpunit.xml format Co-authored-by: Martin Krisell <[email protected]>
1 parent f72e703 commit 59cf6bf

File tree

2 files changed

+19
-28
lines changed

2 files changed

+19
-28
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.3|^8.0",
20-
"illuminate/support": "^7.0|^8.0|^9.0"
19+
"php": "^8.1",
20+
"illuminate/support": "^10.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^5.0",
24-
"phpunit/phpunit": "^8.0"
23+
"orchestra/testbench": "^8.0",
24+
"phpunit/phpunit": "^9.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

phpunit.xml.dist

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
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="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-
<php>
23-
<env name="DB_CONNECTION" value="testing"/>
24-
<env name="MAIL_MAILER" value="log"/>
25-
</php>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Test Suite">
10+
<directory>tests</directory>
11+
</testsuite>
12+
</testsuites>
13+
<php>
14+
<env name="DB_CONNECTION" value="testing"/>
15+
<env name="MAIL_MAILER" value="log"/>
16+
</php>
2617
</phpunit>

0 commit comments

Comments
 (0)