Merge pull request #6 from pgtruesdell/master

PHP 8 Support and Fixed Tests
This commit is contained in:
Bjorn Voesten 2021-03-21 15:30:04 +01:00 committed by GitHub
commit 9193ff649a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1215 additions and 480 deletions

View File

@ -20,7 +20,7 @@
} }
}, },
"require": { "require": {
"php": "^7.2.5", "php": "^7.2.5|^8.0",
"illuminate/config": "^7.0|^8.0", "illuminate/config": "^7.0|^8.0",
"illuminate/support": "^7.0|^8.0", "illuminate/support": "^7.0|^8.0",
"illuminate/database": "^7.0|^8.0", "illuminate/database": "^7.0|^8.0",

1639
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,36 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false">
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" <coverage processUncoveredFiles="true">
backupGlobals="false" <include>
backupStaticAttributes="false" <directory suffix=".php">./src</directory>
bootstrap="vendor/autoload.php" </include>
colors="true" </coverage>
convertErrorsToExceptions="true" <testsuites>
convertNoticesToExceptions="true" <testsuite name="Unit">
convertWarningsToExceptions="true" <directory suffix="Test.php">./tests/Unit</directory>
processIsolation="false" </testsuite>
stopOnFailure="false"> </testsuites>
<testsuites> <php>
<testsuite name="Unit"> <server name="APP_ENV" value="testing"/>
<directory suffix="Test.php">./tests/Unit</directory> <server name="BCRYPT_ROUNDS" value="4"/>
</testsuite> <server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<testsuite name="Feature"> <server name="QUEUE_CONNECTION" value="sync"/>
<directory suffix="Test.php">./tests/Feature</directory> <server name="SESSION_DRIVER" value="file"/>
</testsuite> <server name="DB_CONNECTION" value="testing"/>
</testsuites> </php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="file"/>
<server name="DB_CONNECTION" value="testing"/>
</php>
</phpunit> </phpunit>