Skip to content

Commit 3813d23

Browse files
committed
chore: 🤖 Drop support for stale versions
1 parent 6e4e8fd commit 3813d23

File tree

5 files changed

+19
-35
lines changed

5 files changed

+19
-35
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,18 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [7.3, 7.4, '8.0', 8.1]
11+
php: ['8.0', 8.1, 8.2]
1212
lib:
13+
- { laravel: ^11.0 }
1314
- { laravel: ^10.0 }
1415
- { laravel: ^9.0 }
15-
- { laravel: ^8.0 }
16-
- { laravel: ^7.0 }
17-
- { laravel: ^6.0 }
18-
- { laravel: ^6.0, flags: --prefer-lowest }
1916
exclude:
20-
- { php: 8.1, lib: { laravel: ^7.0 } }
21-
- { php: 8.1, lib: { laravel: ^6.0 } }
22-
- { php: 8.1, lib: { laravel: ^6.0, flags: --prefer-lowest } }
2317
- { php: 8.0, lib: { laravel: ^10.0 } }
24-
- { php: 7.4, lib: { laravel: ^10.0 } }
25-
- { php: 7.4, lib: { laravel: ^9.0 } }
26-
- { php: 7.3, lib: { laravel: ^10.0 } }
27-
- { php: 7.3, lib: { laravel: ^9.0 } }
18+
- { php: 8.0, lib: { laravel: ^11.0 } }
19+
- { php: 8.1, lib: { laravel: ^11.0 } }
2820

2921
steps:
30-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
3123

3224
- name: Setup PHP
3325
uses: shivammathur/setup-php@v2
@@ -37,7 +29,7 @@ jobs:
3729

3830
- name: Adjust package versions
3931
run: |
40-
composer require "laravel/framework:${{ matrix.lib.laravel }}" --dev ${{ matrix.lib.flags }}
32+
composer require "laravel/framework:${{ matrix.lib.laravel }}" --dev
4133
4234
- run: mkdir -p build/logs
4335
- run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
/.idea/
12
/vendor/
23
.php_cs.cache
3-
.phpunit.result.cache
4+
/.phpunit.cache/
45
composer.lock

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
## Requirements
66

7-
- PHP: `^7.3 || ^8.0`
8-
- Laravel: `^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0`
7+
- PHP: `^8.0`
8+
- Laravel: `^9.0 || ^10.0`
99
- Mockery: `^1.3.3 || ^1.4.2`
1010
- [mpyw/mockery-pdo](https://github.com/mpyw/mockery-pdo): `alpha`
1111

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
"require": {
2424
"php": "^7.3 || ^8.0",
2525
"ext-pdo": "*",
26-
"illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
27-
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
26+
"illuminate/database": "^9.0 || ^10.0 || ^11.0",
27+
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
2828
"mpyw/mockery-pdo": "0.0.1-alpha7@alpha"
2929
},
3030
"require-dev": {
3131
"orchestra/testbench": "*",
32-
"orchestra/testbench-core": "^4.9 || ^5.9 || >=6.6",
32+
"orchestra/testbench-core": ">=7.0",
3333
"phpunit/phpunit": ">=9.5",
3434
"nilportugues/sql-query-formatter": "^1.2.2"
3535
},

phpunit.xml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
bootstrap="vendor/autoload.php"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
>
2+
<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.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src</directory>
6+
</include>
7+
</coverage>
128
<testsuites>
139
<testsuite name="Package Test Suite">
1410
<directory suffix="Test.php">./tests/</directory>
1511
</testsuite>
1612
</testsuites>
17-
<filter>
18-
<whitelist processUncoveredFilesFromWhitelist="true">
19-
<directory suffix=".php">src</directory>
20-
</whitelist>
21-
</filter>
2213
</phpunit>

0 commit comments

Comments
 (0)