update to Testbench v7 & composer update

This commit is contained in:
Victor Gonzalez
2022-05-17 07:02:05 -05:00
parent 9935cb78cb
commit 9980bc7e9a
3 changed files with 2411 additions and 1153 deletions

View File

@@ -10,10 +10,10 @@
], ],
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"php": "^7.2|^8.0" "php": "^8.0"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^5.0" "orchestra/testbench": "^7.0"
}, },
"autoload": { "autoload": {
"psr-4" : { "psr-4" : {

3537
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,21 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true"
bootstrap="vendor/autoload.php" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false"
colors="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
convertErrorsToExceptions="true" <coverage processUncoveredFiles="true">
convertNoticesToExceptions="true" <include>
convertWarningsToExceptions="true" <directory suffix=".php">./src</directory>
processIsolation="false" </include>
stopOnFailure="false"> </coverage>
<testsuites> <testsuites>
<testsuite name="Unit"> <testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory> <directory suffix="Test.php">./tests/Unit</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit> </phpunit>