Skip to content

Commit

Permalink
Merge pull request #9 from zonneplan/feature/add-laravel-10-support
Browse files Browse the repository at this point in the history
Add Laravel 10 support
  • Loading branch information
rdgout authored Feb 16, 2023
2 parents 4f40547 + e0c6a89 commit 5572d5c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ phpunit.xml
.idea
.phpunit.result.cache
.DS_Store
.phpunit.cache
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"license": "MIT",
"authors": [],
"require": {
"php": "^8.0",
"illuminate/console": "^9.0",
"illuminate/database": "^9.0",
"illuminate/support": "^9.0",
"illuminate/routing": "^9.0"
"php": "^8.1",
"illuminate/console": "^10.0",
"illuminate/database": "^10.0",
"illuminate/support": "^10.0",
"illuminate/routing": "^10.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^9.5||^10.0",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^7.0"
"orchestra/testbench": "^8.0"
},
"autoload": {
"psr-4": {
Expand Down
33 changes: 12 additions & 21 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Laravel Module Loader Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</phpunit>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Laravel Module Loader Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 5572d5c

Please sign in to comment.