Skip to content

Commit

Permalink
Drop Laravel 8-9, add Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Mar 12, 2024
1 parent 6d6903a commit 4abf039
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [8, 9, 10]
laravel: [10, 11]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.phpunit.result.cache
.phpunit.cache
package-lock.json
composer.lock
vendor/
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
}
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24|^9.0|^10.0",
"illuminate/view": "^8.24|^9.0|^10.0"
"php": "^8.2",
"illuminate/support": "^10.0|^11.0",
"illuminate/view": "^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.23|^7.0|^8.0",
"nunomaduro/larastan": "^1.0|^2.4",
"pestphp/pest": "^1.2|^2.0",
"pestphp/pest-plugin-laravel": "^1.0|^2.0",
"orchestra/testbench": "^8.0|^9.0",
"nunomaduro/larastan": "^2.4",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"intervention/image": "^2.7"
},
"extra": {
Expand Down
12 changes: 7 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<report>
<clover outputFile="coverage/phpunit/clover.xml"/>
<html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
Expand All @@ -28,4 +25,9 @@
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit 4abf039

Please sign in to comment.