Skip to content

Commit

Permalink
Merge pull request #13 from aw-studio/feat/bump-laravel-support
Browse files Browse the repository at this point in the history
Laravel 10 and Laravel 11 Support
  • Loading branch information
lpheller authored May 13, 2024
2 parents fa9120c + 6654cf8 commit ed1fb67
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/vendor/
.phpunit.result.cache
composer.lock
.DS_Store
.DS_Store
.phpunit.cache/test-results
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 4,
"useTabs": false
}
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
}
},
"require": {
"php": "^8.0",
"php": "^8.0|^8.1|^8.2",
"guzzlehttp/guzzle": "^7.3",
"illuminate/support": "^8.0|^9.0",
"illuminate/console": "^8.0|^9.0",
"illuminate/database": "^8.0|^9.0"
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"illuminate/console": "^8.0|^9.0|^10.0|^11.0",
"illuminate/database": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"astrotomic/laravel-translatable": "^11.0",
"phpunit/phpunit": "^9.4",
"phpunit/phpunit": "^9.4|^10.0",
"mockery/mockery": "^1.4",
"illuminate/testing": "^8.0|^9.0",
"orchestra/testbench": "^6.0|^7.0"
"illuminate/testing": "^8.0|^9.0|^10.0|^11.0",
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0"
},
"extra": {
"laravel": {
Expand Down
48 changes: 24 additions & 24 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" beStrictAboutTestsThatDoNotTestAnything="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" verbose="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">
./src
</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Tests">
<directory suffix="Test.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="false" colors="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Tests">
<directory suffix="Test.php">
./tests
</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="testing" />
<server name="BCRYPT_ROUNDS" value="4" />
<server name="APP_DEBUG" value="true" />
<server name="CACHE_DRIVER" value="array" />
<server name="DB_CONNECTION" value="sqlite" />
<server name="DB_DATABASE" value=":memory:" />
<server name="MAIL_MAILER" value="array" />
<server name="QUEUE_CONNECTION" value="sync" />
<server name="SESSION_DRIVER" value="array" />
</php>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="APP_DEBUG" value="true"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
</php>
<source>
<include>
<directory suffix=".php">
./src
</directory>
</include>
</source>
</phpunit>

0 comments on commit ed1fb67

Please sign in to comment.