Skip to content

Commit

Permalink
Laravel 10 Support (#320)
Browse files Browse the repository at this point in the history
* Laravel 10 Support

* Fix for PHP Unit 10 xml config
  • Loading branch information
RohanSakhale committed Feb 21, 2023
1 parent 01fe708 commit 8549787
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ build
.lock
composer.lock
/fonts
.phpunit.result.cache
.phpunit.result.cache
.phpunit.cache
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
}
],
"require": {
"php": ">=7.1.3",
"illuminate/support": "^5.4|^6.0|^7.0|^8.0|^9.0",
"illuminate/view": "^5.4|^6.0|^7.0|^8.0|^9.0",
"php": "^7.1|^8.0",
"illuminate/support": "^5.4|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/view": "^5.4|^6.0|^7.0|^8.0|^9.0|^10.0",
"erusev/parsedown-extra": "^0.8.1|^0.8",
"symfony/dom-crawler": "^4.1|^5.0|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^8.0|^9.0",
"laravel/framework": "^5.4|^6.0|^7.0|^8.0|^9.0",
"orchestra/testbench": "^3.4|^4.0|^5.0|^7.0"
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0",
"laravel/framework": "^5.4|^6.0|^7.0|^8.0|^9.0|^10.0",
"orchestra/testbench": "^3.4|^4.0|^5.0|^7.0|^8.0"
},
"autoload": {
"files": [
Expand Down
14 changes: 6 additions & 8 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticProperties="false"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd">
<testsuites>
<testsuite name="LaRecipe Test Suite">
<directory>tests</directory>
Expand All @@ -21,4 +19,4 @@
<env name="APP_URL" value="http://localhost"/>
<env name="APP_KEY" value="base64:M1igrxNfAWlVGyxxDholHqvVqvtPjAzCoJ+2/ILAVPw="/>
</php>
</phpunit>
</phpunit>

0 comments on commit 8549787

Please sign in to comment.