Skip to content

Commit 4903aa5

Browse files
authored
Merge pull request #32 from bigcommerce/phpunit12
Allow PHPUnit 12
2 parents 0535b0d + 9e5aaa1 commit 4903aa5

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs_default: &jobs_default
99
php-version: << matrix.php-version >>
1010
matrix:
1111
parameters:
12-
php-version: [ "8.2", "8.3", "8.4" ]
12+
php-version: [ "8.3", "8.4" ]
1313

1414

1515
workflows:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"minimum-stability": "dev",
2323
"prefer-stable": true,
2424
"require": {
25-
"php": "^8.2",
25+
"php": "^8.3",
2626
"bigcommerce/injector": "^4.1",
2727
"phpspec/prophecy-phpunit": "^2.0",
28-
"phpunit/phpunit": "^11.0"
28+
"phpunit/phpunit": "^11.0 || ^12.0"
2929
},
3030
"require-dev": {
3131
"phpstan/phpstan": "^1.10"

phpunit.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
44
backupGlobals="false"
5-
colors="true"
65
bootstrap="vendor/autoload.php"
7-
failOnWarning="true"
8-
failOnRisky="true"
96
cacheDirectory=".phpunit.cache"
7+
colors="true"
8+
displayDetailsOnTestsThatTriggerErrors="true"
9+
displayDetailsOnTestsThatTriggerNotices="true"
10+
displayDetailsOnTestsThatTriggerWarnings="true"
11+
failOnDeprecation="true"
12+
failOnNotice="true"
13+
failOnPhpunitDeprecation="true"
14+
failOnRisky="true"
15+
failOnWarning="true"
1016
>
1117
<testsuites>
1218
<testsuite name="MockInjector Test Suite">

0 commit comments

Comments
 (0)