Skip to content

Commit 6a213d3

Browse files
authored
Merge pull request #15 from worksome/feature/pest-2.x
feat: update to Pest 2.x
2 parents 91b2014 + 145098d commit 6a213d3

File tree

4 files changed

+9
-25
lines changed

4 files changed

+9
-25
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest]
1818
php: [8.2]
19-
laravel: ['^9.22', '10.*']
19+
laravel: ['10.*']
2020
stability: [prefer-lowest, prefer-stable]
2121
include:
22-
- laravel: "^9.22"
23-
testbench: 7.*
2422
- laravel: 10.*
2523
testbench: 8.*
2624

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.idea
22
.php_cs
33
.php_cs.cache
4-
.phpunit.result.cache
4+
.phpunit.cache
55
build
66
composer.lock
77
coverage

composer.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,17 @@
1818
"require": {
1919
"php": "^8.2",
2020
"guzzlehttp/guzzle": "^7.5",
21-
"laravel/framework": "^9.46|^10.0",
21+
"laravel/framework": "^10.0",
2222
"pragmarx/google2fa": "^8.0",
2323
"spatie/laravel-package-tools": "^1.14.1"
2424
},
2525
"require-dev": {
26-
"nunomaduro/collision": "^6.3",
26+
"nunomaduro/collision": "^7.0",
2727
"nunomaduro/larastan": "^2.4.0",
28-
"orchestra/testbench": "^7.18|^8.0",
29-
"pestphp/pest": "^1.22.3",
30-
"pestphp/pest-plugin-parallel": "^1.2",
31-
"pestphp/pest-plugin-laravel": "^1.4",
32-
"worksome/pest-plugin-silence": "^0.1.2",
33-
"worksome/coding-style": "^2.3"
28+
"orchestra/testbench": "^8.0",
29+
"pestphp/pest": "^2.0",
30+
"pestphp/pest-plugin-laravel": "^2.0",
31+
"worksome/coding-style": "^2.5"
3432
},
3533
"autoload": {
3634
"psr-4": {

phpunit.xml.dist

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,9 @@
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
75
bootstrap="vendor/autoload.php"
86
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false"
14-
executionOrder="random"
15-
failOnWarning="true"
16-
failOnRisky="true"
17-
failOnEmptyTestSuite="true"
18-
beStrictAboutOutputDuringTests="true"
19-
verbose="true"
7+
cacheDirectory=".phpunit.cache"
208
>
219
<testsuites>
2210
<testsuite name="Worksome Test Suite">

0 commit comments

Comments
 (0)