Skip to content

Commit 3bbb1d9

Browse files
authored
Merge pull request #1 from mateusjunges/patch-1
Add support for laravel 10
2 parents 0d6ecf7 + 0858463 commit 3bbb1d9

File tree

2 files changed

+14
-25
lines changed

2 files changed

+14
-25
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"homepage": "https://github.com/In-Touch/laravel-newrelic",
1818
"require": {
1919
"php": ">=7.4",
20-
"illuminate/contracts": "^8.0|^9.0",
20+
"illuminate/contracts": "^8.0|^9.0|^10.0",
2121
"intouch/newrelic": "^2.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": "^6.22|^7.0",
24+
"orchestra/testbench": "^6.22|^7.0|^8.0",
2525
"phpunit/phpunit": "^9.5|^10.0"
2626
},
2727
"minimum-stability": "dev",

phpunit.xml.dist

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

0 commit comments

Comments
 (0)