Skip to content

Commit 0a20399

Browse files
committed
Upgrade to L12
1 parent 7eb163b commit 0a20399

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: "8.2"
19+
php-version: "8.4"
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.2, 8.3]
17-
laravel: [10.*, 11.*]
16+
php: [8.2, 8.3, 8.4]
17+
laravel: [10.*, 11.*, 12.*]
1818
stability: [prefer-stable]
1919

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

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
"homepage": "https://github.com/codedor/laravel-online-scope",
1010
"license": "MIT",
1111
"require": {
12-
"php": "^8.2|^8.3",
12+
"php": "^8.2",
1313
"filament/filament": "^3.0",
14-
"illuminate/contracts": "^10.0|^11.0",
14+
"illuminate/contracts": "^10.0|^11.0|^12.0",
1515
"spatie/laravel-package-tools": "^1.12",
1616
"spatie/laravel-translatable": "^6.5"
1717
},
1818
"require-dev": {
1919
"laravel/pint": "^1.0",
2020
"nunomaduro/collision": "^7.0|^8.0",
21-
"larastan/larastan": "^2.0",
22-
"orchestra/testbench": "^8.0|^9.0",
23-
"pestphp/pest": "^2.0",
24-
"pestphp/pest-plugin-laravel": "^2.0",
25-
"phpstan/extension-installer": "^1.1",
26-
"phpstan/phpstan-deprecation-rules": "^1.0",
27-
"phpstan/phpstan-phpunit": "^1.0"
21+
"larastan/larastan": "^2.0|^3.0",
22+
"orchestra/testbench": "^8.0|^9.0|^10.0",
23+
"pestphp/pest": "^2.0|^3.0",
24+
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
25+
"phpstan/extension-installer": "^1.1|^2.0",
26+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
27+
"phpstan/phpstan-phpunit": "^1.0|^2.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

phpstan-baseline.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
identifier: trait.unused
5+
path: src/Models/Traits/HasOnlineScope.php

phpstan.neon.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ parameters:
88
tmpDir: build/phpstan
99
checkOctaneCompatibility: true
1010
checkModelProperties: true
11-
checkMissingIterableValueType: false
12-

0 commit comments

Comments
 (0)