Skip to content

Commit 7502bc4

Browse files
committed
laravel 8, phpunit
1 parent 1d08865 commit 7502bc4

File tree

3 files changed

+15
-23
lines changed

3 files changed

+15
-23
lines changed

.phpunit.result.cache

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
C:37:"PHPUnit\Runner\DefaultTestResultCache":258:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:3:{s:58:"STS\EmailEvents\Tests\BasicHttpAuthTest::testBasicHttpAuth";d:0.04;s:52:"STS\EmailEvents\Tests\TokenAuthTest::testSimpleToken";d:0.002;s:57:"STS\EmailEvents\Tests\TokenAuthTest::testCustomTokenParam";d:0.002;}}}

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"homepage": "https://github.com/stechstudio/laravel-email-events",
1313
"keywords": ["Laravel", "Email Events", "Webhooks", "SendGrid", "Postmark"],
1414
"require": {
15-
"illuminate/support": "~5|~6"
15+
"illuminate/support": "^5.6|^6.0|^7.0|^8.0"
1616
},
1717
"require-dev": {
18-
"phpunit/phpunit": "~7.0",
18+
"phpunit/phpunit": "^8.0|^9.0",
1919
"mockery/mockery": "^1.1",
20-
"orchestra/testbench": "~3.0",
20+
"orchestra/testbench": "^4.0|^5.0|^6.0",
2121
"sempro/phpunit-pretty-print": "^1.0"
2222
},
2323
"autoload": {

phpunit.xml

+11-20
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="Package">
14-
<directory suffix=".php">./tests/</directory>
15-
</testsuite>
16-
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory>src/</directory>
20-
</whitelist>
21-
</filter>
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>src/</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Package">
10+
<directory suffix=".php">./tests/</directory>
11+
</testsuite>
12+
</testsuites>
2213
</phpunit>

0 commit comments

Comments
 (0)