Skip to content

Commit

Permalink
feat: add laravel 10 support (#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
maloun96 authored Feb 17, 2023
1 parent a8861b2 commit c2c6b1d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
coverage: none

- name: Install composer dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1]
laravel: [^9.0]
php: [8.1]
laravel: [^10.0]
stability: [prefer-stable]
include:
- laravel: ^9.0
testbench: ^7.0
- laravel: ^10.0
testbench: ^8.0

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

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
}
],
"require": {
"php": "^8.0",
"illuminate/support": "^9.0",
"php": "^8.0|^8.1",
"illuminate/support": "^9.0|^10.0",
"opis/closure": "^3.6"
},
"require-dev": {
"brianium/paratest": "^6.2",
"nunomaduro/collision": "^6.0",
"brianium/paratest": "^6.2|^7.0.6",
"nunomaduro/collision": "^5.3|^6.1|^7.0",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^8.0",
"phpstan/extension-installer": "^1.1",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ray": "^1.9",
"spatie/test-time": "^1.2"
},
Expand Down
11 changes: 0 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="BinarCode Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit c2c6b1d

Please sign in to comment.