Skip to content

Commit

Permalink
Merge pull request #27 from arthurkirkosa/l11
Browse files Browse the repository at this point in the history
Laravel 11 Support
  • Loading branch information
binaryk authored Apr 3, 2024
2 parents 00959d1 + 6e5244d commit 84fd90a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1]
laravel: [10.*]
php: [8.1, 8.2]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
],
"require": {
"php": "^8.1",
"illuminate/contracts": "^10.0"
"illuminate/contracts": "^10.0|^11.0"
},
"require-dev": {
"brianium/paratest": "^6.3",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^9.3.3",
"brianium/paratest": "^6.3|^7.0",
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^9.3.3|^10.0|^11.0",
"spatie/laravel-ray": "^1.9",
"vimeo/psalm": "^4.4"
"vimeo/psalm": "^4.4|^5.0|^6.0"
},
"autoload": {
"psr-4": {
Expand Down
12 changes: 6 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="BinarCode Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src/</directory>
</include>
</source>
</phpunit>

0 comments on commit 84fd90a

Please sign in to comment.