Skip to content

Commit cfad418

Browse files
authored
Bump version (#14)
1 parent de6e446 commit cfad418

File tree

8 files changed

+49
-62
lines changed

8 files changed

+49
-62
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,35 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: ['8.0', 8.1, 8.2]
12-
laravel: [11, 10, 9]
13-
include:
14-
- { laravel: 11, phpunit: 11 }
15-
- { laravel: 10, phpunit: 10 }
16-
- { laravel: 9, phpunit: 9 }
11+
php: [8.2, 8.3, 8.4]
12+
lib:
13+
- laravel: ^13.0.x-dev
14+
- laravel: ^12.0
15+
- laravel: ^11.0
1716
exclude:
18-
- { php: 8.0, laravel: 10 }
19-
- { php: 8.0, laravel: 11 }
20-
- { php: 8.1, laravel: 11 }
17+
- php: 8.2
18+
lib:
19+
laravel: ^13.0.x-dev
2120

2221
steps:
23-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v3
2423

2524
- name: Setup PHP
2625
uses: shivammathur/setup-php@v2
2726
with:
2827
php-version: ${{ matrix.php }}
2928
coverage: xdebug
3029

31-
- run: composer require "laravel/framework:^${{ matrix.laravel }}" --dev
32-
- run: composer require "phpunit/phpunit:^${{ matrix.phpunit }}" --dev
30+
- run: composer require "laravel/framework:${{ matrix.lib.laravel }}" --dev
3331
- run: mkdir -p build/logs
34-
- run: vendor/bin/phpunit -c 'phpunit${{ matrix.phpunit }}.xml' --coverage-clover build/logs/clover.xml
32+
- run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
3533

3634
- name: Upload Coverage
3735
uses: nick-invision/retry@v2
3836
env:
3937
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4038
COVERALLS_PARALLEL: 'true'
41-
COVERALLS_FLAG_NAME: 'laravel:${{ matrix.laravel }}'
39+
COVERALLS_FLAG_NAME: 'laravel:${{ matrix.lib.laravel }}'
4240
with:
4341
timeout_minutes: 1
4442
max_attempts: 3

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build:
1818
- php-scrutinizer-run
1919

2020
environment:
21-
php: '8.1.8'
21+
php: '8.3.17'
2222

2323
dependencies:
2424
before:

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ Null Guard for Laravel. Designed for Middleware-based authentication and testing
88

99
## Requirements
1010

11-
- PHP: `^8.0`
12-
- Laravel: `^9.0 || ^10.0 || ^11.0`
11+
- PHP: `^8.2`
12+
- Laravel: `^11.0 || ^12.0`
13+
14+
> [!NOTE]
15+
> Older versions have outdated dependency requirements. If you cannot prepare the latest environment, please refer to past releases.
1316
1417
## Installing
1518

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"require": {
2424
"php": "^8.0",
25-
"illuminate/auth": "^9.0 || ^10.0 || ^11.0",
26-
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0",
27-
"illuminate/support": "^9.0 || ^10.0 || ^11.0"
25+
"illuminate/auth": "^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
26+
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
27+
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0"
2828
},
2929
"require-dev": {
3030
"orchestra/testbench": "*",
31-
"orchestra/testbench-core": ">=7.0",
32-
"phpunit/phpunit": ">=9.5",
33-
"mockery/mockery": "^1.3.3 || ^1.4.2"
31+
"orchestra/testbench-core": ">=9.0",
32+
"phpunit/phpunit": ">=11.0",
33+
"mockery/mockery": "^1.6.12"
3434
},
3535
"minimum-stability": "dev",
3636
"prefer-stable": true,

phpunit.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
processIsolation="false"
7+
stopOnFailure="false"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
9+
cacheDirectory=".phpunit.cache"
10+
backupStaticProperties="false">
11+
12+
<source>
13+
<include>
14+
<directory>./src</directory>
15+
</include>
16+
</source>
17+
18+
<coverage/>
19+
20+
<testsuites>
21+
<testsuite name="Package Test Suite">
22+
<directory suffix="Test.php">./tests</directory>
23+
</testsuite>
24+
</testsuites>
25+
</phpunit>

phpunit10.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

phpunit11.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

phpunit9.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)