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": {
"ext-json": "*",
"php": "^7.2|^8.0"
"php": "^8.0"
},
"require-dev": {
"orchestra/testbench": "^5.0"
"orchestra/testbench": "^7.0"
},
"autoload": {
"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"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true"
convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false"
stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>