Skip to content

Commit 54a21c4

Browse files
authored
Merge pull request #60 from filamentphp/main
Merge changes in main into 3.x
2 parents aab6b3f + 77e4016 commit 54a21c4

File tree

7 files changed

+7
-12
lines changed

7 files changed

+7
-12
lines changed

.github/workflows/fix-php-code-styling.yml renamed to .github/workflows/fix-php-code-style-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
ref: ${{ github.head_ref }}
2020

2121
- name: Fix PHP code style issues
22-
uses: aglipanci/[email protected].0
22+
uses: aglipanci/[email protected].1
2323

2424
- name: Commit changes
2525
uses: stefanzweifel/git-auto-commit-action@v5

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
coverage: none
2121

2222
- name: Install composer dependencies
23-
uses: ramsey/composer-install@v2
23+
uses: ramsey/composer-install@v3
2424

2525
- name: Run PHPStan
2626
run: ./vendor/bin/phpstan --error-format=github

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
include:
2020
- laravel: 10.*
2121
testbench: 8.*
22-
carbon: ^2.63
22+
carbon: 2.*
2323

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug)
44
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/:vendor_slug/:package_slug/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/:vendor_slug/:package_slug/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/:vendor_slug/:package_slug/fix-php-code-styling.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3A"Fix+PHP+code+styling"+branch%3Amain)
66
[![Total Downloads](https://img.shields.io/packagist/dt/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug)
77

88
<!--delete-->

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@
2424
"filament/filament": "^3.0",
2525
"filament/forms": "^3.0",
2626
"filament/tables": "^3.0",
27-
"spatie/laravel-package-tools": "^1.15.0",
28-
"illuminate/contracts": "^10.0"
27+
"spatie/laravel-package-tools": "^1.15.0"
2928
},
3029
"require-dev": {
3130
"laravel/pint": "^1.0",
3231
"nunomaduro/collision": "^7.9",
3332
"nunomaduro/larastan": "^2.0.1",
3433
"orchestra/testbench": "^8.0",
35-
"pestphp/pest": "^2.0",
34+
"pestphp/pest": "^2.1",
3635
"pestphp/pest-plugin-arch": "^2.0",
3736
"pestphp/pest-plugin-laravel": "^2.0",
3837
"phpstan/extension-installer": "^1.1",

configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
match (true) {
139139
str_contains($file, determineSeparator('src/Skeleton.php')) => rename($file, determineSeparator('./src/' . $className . '.php')),
140140
str_contains($file, determineSeparator('src/SkeletonServiceProvider.php')) => rename($file, determineSeparator('./src/' . $className . 'ServiceProvider.php')),
141-
str_contains($file, determineSeparator('src/SkeletonTheme.php')) => rename($file, determineSeparator('./src/' . $className . 'Theme.php')),
141+
str_contains($file, determineSeparator('src/SkeletonTheme.php')) => rename($file, determineSeparator('./src/' . $className . (str_ends_with($className, 'Theme') ? '.php' : 'Theme.php'))),
142142
str_contains($file, determineSeparator('src/SkeletonPlugin.php')) => rename($file, determineSeparator('./src/' . $className . 'Plugin.php')),
143143
str_contains($file, determineSeparator('src/Facades/Skeleton.php')) => rename($file, determineSeparator('./src/Facades/' . $className . '.php')),
144144
str_contains($file, determineSeparator('src/Commands/SkeletonCommand.php')) => rename($file, determineSeparator('./src/Commands/' . $className . 'Command.php')),

tests/TestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
use Filament\Forms\FormsServiceProvider;
1010
use Filament\Infolists\InfolistsServiceProvider;
1111
use Filament\Notifications\NotificationsServiceProvider;
12-
use Filament\SpatieLaravelSettingsPluginServiceProvider;
13-
use Filament\SpatieLaravelTranslatablePluginServiceProvider;
1412
use Filament\Support\SupportServiceProvider;
1513
use Filament\Tables\TablesServiceProvider;
1614
use Filament\Widgets\WidgetsServiceProvider;
@@ -43,8 +41,6 @@ protected function getPackageProviders($app)
4341
InfolistsServiceProvider::class,
4442
LivewireServiceProvider::class,
4543
NotificationsServiceProvider::class,
46-
SpatieLaravelSettingsPluginServiceProvider::class,
47-
SpatieLaravelTranslatablePluginServiceProvider::class,
4844
SupportServiceProvider::class,
4945
TablesServiceProvider::class,
5046
WidgetsServiceProvider::class,

0 commit comments

Comments
 (0)