Skip to content

Commit 7c9e452

Browse files
committed
php8.1 + laravel 10
1 parent 26107b2 commit 7c9e452

File tree

3 files changed

+21
-28
lines changed

3 files changed

+21
-28
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.idea
22
vendor
3-
.phpunit.result.cache
3+
.phpunit.cache
44
composer.lock

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"version": "3.4.0",
55
"type": "library",
66
"require": {
7-
"php": "^8.0"
7+
"php": "^8.1"
88
},
99
"require-dev": {
10-
"illuminate/routing": "^9.x-dev|^10.0",
11-
"illuminate/events": "^9.x-dev|^10.0",
12-
"phpunit/phpunit": "^9.5",
13-
"mockery/mockery": "^1.4"
10+
"illuminate/routing": "^10.x-dev",
11+
"illuminate/events": "^10.x-dev",
12+
"phpunit/phpunit": "^10.0",
13+
"mockery/mockery": "^1.5"
1414
},
1515
"license": "MIT",
1616
"autoload": {
@@ -29,6 +29,6 @@
2929
"email": "[email protected]"
3030
}
3131
],
32-
"minimum-stability": "dev",
32+
"minimum-stability": "stable",
3333
"prefer-stable": true
3434
}

phpunit.xml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
beStrictAboutTestsThatDoNotTestAnything="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
54
colors="true"
6-
convertDeprecationsToExceptions="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnError="false"
12-
stopOnFailure="false"
13-
verbose="true">
14-
<testsuites>
15-
<testsuite name="Package Test Suite">
16-
<directory suffix="Test.php">./tests</directory>
17-
</testsuite>
18-
</testsuites>
19-
<php>
20-
<ini name="date.timezone" value="UTC" />
21-
<ini name="intl.default_locale" value="C.UTF-8" />
22-
<ini name="memory_limit" value="2048M" />
23-
</php>
5+
beStrictAboutTestsThatDoNotTestAnything="false"
6+
cacheDirectory=".phpunit.cache">
7+
<testsuites>
8+
<testsuite name="Package Test Suite">
9+
<directory>./tests</directory>
10+
</testsuite>
11+
</testsuites>
12+
<php>
13+
<ini name="date.timezone" value="UTC" />
14+
<ini name="intl.default_locale" value="C.UTF-8" />
15+
<ini name="memory_limit" value="2048M" />
16+
</php>
2417
</phpunit>

0 commit comments

Comments
 (0)