Skip to content

Commit

Permalink
Migrate phpunit to 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcHagen committed Feb 22, 2024
1 parent 316546a commit 0aa1adb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/extras/
/vendor/
.phpunit.result.cache
/.phpunit.cache/
composer.lock
composer.phar
phpunit.xml
14 changes: 6 additions & 8 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">tests/</directory>
<directory>tests/</directory>
<exclude>tests/database/factories/</exclude>
</testsuite>
</testsuites>
Expand Down

0 comments on commit 0aa1adb

Please sign in to comment.