Skip to content

Commit 3d303a1

Browse files
committed
v5 support
1 parent 720d194 commit 3d303a1

File tree

7 files changed

+26
-11
lines changed

7 files changed

+26
-11
lines changed

.github/workflows/lint.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- closed
88
branches:
9-
- 3.x
9+
- 4.x
1010
paths:
1111
- '**.php'
1212

@@ -23,8 +23,19 @@ jobs:
2323
with:
2424
ref: ${{ github.head_ref }}
2525

26-
- name: Fix PHP code style issues
27-
uses: aglipanci/laravel-pint-action@v2
26+
- name: Set up PHP
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: 8.3
30+
31+
- name: Install dependencies
32+
run: composer install --no-interaction
33+
34+
- name: Run Rector
35+
run: composer refactor
36+
37+
- name: Run Pint
38+
run: composer lint
2839

2940
- name: Commit changes
3041
uses: stefanzweifel/git-auto-commit-action@v7

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- opened
88
- synchronize
99
branches:
10-
- 3.x
10+
- 4.x
1111
paths:
1212
- '**.php'
1313
- '.github/workflows/tests.yml'
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: true
2323
matrix:
2424
os: [ubuntu-latest]
25-
php: [8.3, 8.2]
25+
php: [8.4, 8.3]
2626
laravel: [12.*, 11.*]
2727
stability: [prefer-stable]
2828
include:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ docs
1313
node_modules
1414
phpunit.xml
1515
phpstan.neon
16-
testbench.yaml
1716
vendor

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ A Filament plugin that adds an app overview widget to your admin panel.
1313
| 1.x | 2.x |
1414
| 2.x | 3.x |
1515
| 3.x | 4.x |
16+
| 4.x | 5.x |
1617

1718
## Installation
1819

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
"require": {
2525
"php": "^8.2",
2626
"ext-intl": "*",
27-
"filament/filament": "^4.0",
27+
"filament/filament": "^5.0",
2828
"spatie/laravel-package-tools": "^1.15"
2929
},
3030
"require-dev": {
3131
"laravel/pint": "^1.0",
3232
"orchestra/testbench": "^9.0|^10.0",
33-
"pestphp/pest": "^3.7",
34-
"pestphp/pest-plugin-laravel": "^3.0",
35-
"pestphp/pest-plugin-livewire": "^3.0",
33+
"pestphp/pest": "^4.3",
34+
"pestphp/pest-plugin-laravel": "^4.0",
35+
"pestphp/pest-plugin-livewire": "^4.0",
3636
"rector/rector": "^2.0",
3737
"spatie/laravel-ray": "^1.26"
3838
},

rector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414
typeDeclarations: true,
1515
privatization: true,
1616
earlyReturn: true,
17-
strictBooleans: true,
1817
)
1918
->withPhpSets();

testbench.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
migrations:
2+
- tests/database/migrations
3+
4+
workbench:
5+
install: true

0 commit comments

Comments
 (0)