Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:

strategy:
matrix:
php: [8.0, 7.4]
laravel: [9.*, 8.*, 7.*, 6.*, 5.8.*]
php: [8.2, 8.1, 8.0, 7.4]
laravel: [10.*, 9.*, 8.*, 7.*, 6.*, 5.8.*]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest, windows-latest]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
Expand All @@ -27,14 +29,26 @@ jobs:
- laravel: 5.8.*
testbench: 3.8.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 10.*
php: 7.4
- laravel: 9.*
php: 7.4
- laravel: 8.*
php: 7.4
php: 8.2
- laravel: 7.*
php: 8.0
php: 8.2
- laravel: 7.*
php: 8.1
- laravel: 6.*
php: 8.2
- laravel: 6.*
php: 8
php: 8.1
- laravel: 5.8.*
php: 8.2
- laravel: 5.8.*
php: 8.1
- laravel: 5.8.*
php: 8.0

Expand All @@ -45,11 +59,10 @@ jobs:
uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v1
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extension-csv: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
extensions:
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Install dependencies
Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
}
],
"require": {
"php": ">=7.1",
"laravel/framework": "^5.2 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"php": ">=7.1 || ^8.0",
"laravel/framework": "^5.2 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"ext-json": "*"
},
"require-dev": {
"orchestra/testbench": "^7.1"
"orchestra/testbench": "^7.1 || ^8.0",
"phpunit/phpunit": "^8.5.23 || ^9.5.10"
},
"autoload": {
"psr-4": {
Expand All @@ -30,9 +31,10 @@
"\"Programic\\\\LaravelConvertCaseMiddleware\\Tests\\": "tests"
}
},
"minimum-stability": "dev",
"scripts": {
"test": [
"vendor/bin/phpunit"
"vendor/bin/phpunit tests"
]
}
}
9 changes: 2 additions & 7 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

namespace Programic\LaravelConvertCaseMiddleware\Tests;

use Orchestra\Testbench\TestCase as Orchestra;

abstract class TestCase extends Orchestra
abstract class TestCase extends \Orchestra\Testbench\TestCase
{
public function setUp(): void
{
parent::setUp();
}
//
}