Skip to content

Commit

Permalink
Add support for Laravel 11 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
olssonm committed Mar 22, 2024
1 parent f88adb9 commit bfd56fa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
strategy:
matrix:
include:
- php: 8.3
laravel: ^11.0
- php: 8.2
laravel: ^11.0
- php: 8.2
laravel: ^10.0
- php: 8.1
laravel: ^10.0
- php: 8.1
laravel: ^9.0
- php: 8.1
laravel: ^8.0
- php: 8.0
laravel: ^8.0

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
"license": "MIT",
"minimum-stability": "stable",
"require": {
"laravel/framework": "^8|^9|^10",
"laravel/framework": "^9|^10|^11",
"spatie/sheets": "^1.10"
},
"require-dev": {
"brianium/paratest": "^6.2",
"nunomaduro/collision": "^5|^6",
"orchestra/testbench": ">=6.15",
"squizlabs/php_codesniffer": "^3.5"
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "<11"
},
"autoload": {
"psr-4": {
Expand Down
18 changes: 2 additions & 16 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,27 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true"
verbose="true"
printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer">
>
<testsuites>
<testsuite name="Ampersand Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<coverage />
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<server name="XDEBUG_MODE" value="coverage" />
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
</php>
</phpunit>

0 comments on commit bfd56fa

Please sign in to comment.