Skip to content

Commit

Permalink
Add PHPUnit 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgaber committed Feb 21, 2023
1 parent bc16a05 commit e506646
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to NovaUnit will be documented in this file.

## 3.1

- Compatibility with Laravel 10
- Compatibility with PHP 8, Laravel 10 and PHPUnit 10

## 3.0.2

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ composer require --dev joshgaber/novaunit
* PHP 7.3 or higher
* [Laravel](https://laravel.com/) 6.x - 10.x
* [Laravel Nova](https://nova.laravel.com/) 2.x - 4.x
* [PHPUnit](https://github.com/sebastianbergmann/phpunit) 8.5.x - 9.x
* [PHPUnit](https://github.com/sebastianbergmann/phpunit) 8.5.x - 10.x

## Usage

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"cakephp/chronos": ">=2.0.0",
"illuminate/support": "^8.83.4|^9.3.1|^10.0",
"laravel/nova": "^4.0",
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^9.0|^10.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ composer require --dev joshgaber/novaunit
* PHP 7.2 or higher
* [Laravel](https://laravel.com/) 6.x - 10.x
* [Laravel Nova](https://nova.laravel.com/) 2.x - 4.x
* [PHPUnit](https://github.com/sebastianbergmann/phpunit) 8.x - 9.x
* [PHPUnit](https://github.com/sebastianbergmann/phpunit) 8.x - 10.x

## Usage

Expand Down
15 changes: 7 additions & 8 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
<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">
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage cacheDirectory=".phpunit.result/code-coverage" processUncoveredFiles="true">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
Expand Down

0 comments on commit e506646

Please # to comment.