Skip to content

Commit 63fbf12

Browse files
committed
update pint
1 parent 47f93e0 commit 63fbf12

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
- name: Setup PHP
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: 8.4
21+
php-version: 8.5
2222
tools: composer:v2
2323
coverage: none
2424

2525
- name: Init composer
2626
run: composer init --no-interaction
2727

2828
- name: Install Laravel Pint
29-
run: composer require "laravel/pint:^1.15.3"
29+
run: composer require "laravel/pint:^1.28"
3030

3131
- name: Run Pint
3232
run: vendor/bin/pint --test

arma-reforger-workshop/src/Filament/Server/Pages/BrowseWorkshopPage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Filament\Tables\Contracts\HasTable;
2020
use Filament\Tables\Table;
2121
use Illuminate\Pagination\LengthAwarePaginator;
22+
use Illuminate\Support\Str;
2223
use spolny\ArmaReforgerWorkshop\Facades\ArmaReforgerWorkshop;
2324

2425
class BrowseWorkshopPage extends Page implements HasTable
@@ -115,7 +116,7 @@ public function table(Table $table): Table
115116
->label(trans('arma-reforger-workshop::arma-reforger-workshop.labels.mod'))
116117
->weight('bold')
117118
->searchable()
118-
->description(fn (array $record) => \Illuminate\Support\Str::limit($record['summary'] ?? '', 80)),
119+
->description(fn (array $record) => Str::limit($record['summary'] ?? '', 80)),
119120
TextColumn::make('author')
120121
->label(trans('arma-reforger-workshop::arma-reforger-workshop.labels.author'))
121122
->icon('tabler-user')

pastefox-share/src/Filament/Components/Actions/UploadLogsAction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function getActiveCustomDomain(?string $apiKey): ?string
139139
}
140140
}
141141
}
142-
} catch (\Exception $e) {
142+
} catch (Exception $e) {
143143
// Silently fail, fall back to default
144144
}
145145

@@ -162,7 +162,7 @@ protected function isApiKeyValid(?string $apiKey): bool
162162
->json();
163163

164164
return $response['success'] ?? false;
165-
} catch (\Exception $e) {
165+
} catch (Exception $e) {
166166
return false;
167167
}
168168
}

0 commit comments

Comments
 (0)