Skip to content

Commit

Permalink
feat(deps)!: add laravel v10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
frovere committed Jan 8, 2024
1 parent 3dd5d1f commit de70f7c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 32 deletions.
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
],
"require": {
"php": "^8.0.2",
"illuminate/mail": "^9.0",
"illuminate/support": "^9.0",
"illuminate/mail": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"symfony/http-client": "^6.1",
"symfony/mailchimp-mailer": "^6.1"
"symfony/mailchimp-mailer": "^6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
"nunomaduro/collision": "^6.3",
"orchestra/testbench": "^7.7",
"phpunit/phpunit": "^9.5"
"friendsofphp/php-cs-fixer": "^3.46",
"nunomaduro/collision": "^6.3|^7.9",
"orchestra/testbench": "^7.7|^8.18",
"phpunit/phpunit": "^9.5|^10.0"
},
"autoload": {
"psr-4": {
Expand Down
45 changes: 20 additions & 25 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheDirectory=".phpunit.result.cache"
backupStaticProperties="false"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<testsuite name="Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
<listeners>
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Printer"/>
</listeners>
<php>
<server name="APP_ENV" value="testing"/>
<server name="MAIL_MAILER" value="mandrill"/>
<server name="MANDRILL_SECRET" value="TEST_API_KEY"/>
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit de70f7c

Please sign in to comment.