Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Jan 2, 2024
1 parent cdcffc2 commit cb9292f
Show file tree
Hide file tree
Showing 18 changed files with 936 additions and 805 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-latest]
bun: [1.0]
php: [8.1, 8.2]
php: [8.2, 8.3]
dependencies: [lowest, highest]
experimental: [false]
name: 👷 Test on PHP-${{ matrix.php }} ${{ matrix.dependencies }} and Bun-${{ matrix.bun }} under ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ composer debug

## 📋 Requirements

- **Requires [PHP 8.1+](https://php.net/releases/)** (at least 8.1.25 recommended to avoid potential bugs).
- **Requires [Bun 1.0+](https://bun.sh/)** (at least 1.0.13 recommended to avoid potential bugs).
- **Requires [Composer >=2.6.5](https://getcomposer.org/)** to manage [PHP][php-link] dependencies.
- **Requires [PHP 8.2+](https://php.net/releases/)** (at least 8.2.14 recommended to avoid potential bugs).
- **Requires [Bun 1.0+](https://bun.sh/)** (at least 1.0.21 recommended to avoid potential bugs).
- **Requires [Composer >=2.6.6](https://getcomposer.org/)** to manage [PHP][php-link] dependencies.
- **Requires [Git ~2.42.0](https://git-scm.com/)** to manage source code.

## 📖 Documentation
Expand Down
2 changes: 2 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Kernel extends ConsoleKernel
/**
* Define the application's command schedule.
*/
#[\Override]
protected function schedule(Schedule $schedule): void
{
// $schedule->command('inspire')->hourly();
Expand All @@ -18,6 +19,7 @@ protected function schedule(Schedule $schedule): void
/**
* Register the commands for the application.
*/
#[\Override]
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
Expand Down
1 change: 1 addition & 0 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Handler extends ExceptionHandler
/**
* Register the exception handling callbacks for the application.
*/
#[\Override]
public function register(): void
{
$this->reportable(function (Throwable $e) {
Expand Down
1 change: 1 addition & 0 deletions app/Http/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Authenticate extends Middleware
/**
* Get the path the user should be redirected to when they are not authenticated.
*/
#[\Override]
protected function redirectTo(Request $request): ?string
{
return $request->expectsJson() ? null : route('login');
Expand Down
1 change: 1 addition & 0 deletions app/Http/Middleware/TrustHosts.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class TrustHosts extends Middleware
*
* @return array<int, string|null>
*/
#[\Override]
public function hosts(): array
{
return [
Expand Down
1 change: 1 addition & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class AppServiceProvider extends ServiceProvider
/**
* Register any application services.
*/
#[\Override]
public function register(): void
{
//
Expand Down
2 changes: 2 additions & 0 deletions app/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class EventServiceProvider extends ServiceProvider
/**
* Register any events for your application.
*/
#[\Override]
public function boot(): void
{
//
Expand All @@ -30,6 +31,7 @@ public function boot(): void
/**
* Determine if events and listeners should be automatically discovered.
*/
#[\Override]
public function shouldDiscoverEvents(): bool
{
return false;
Expand Down
1 change: 1 addition & 0 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class RouteServiceProvider extends ServiceProvider
/**
* Define your route model bindings, pattern filters, and other route configuration.
*/
#[\Override]
public function boot(): void
{
RateLimiter::for('api', fn (Request $request) => Limit::perMinute(60)->by($request->user()?->id ?: $request->ip()));
Expand Down
1 change: 1 addition & 0 deletions app/View/Components/AppBrand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function __construct()
/**
* Get the view / contents that represent the component.
*/
#[\Override]
public function render(): View|Closure|string
{
return view('components.app-brand');
Expand Down
Binary file modified bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
"chat": "https://github.com/orgs/sikessem/discussions"
},
"require": {
"php": "^8.1||^8.2",
"php": "*",
"guzzlehttp/guzzle": "^7.8",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8",
"livewire/livewire": "^3.1",
"livewire/livewire": "^3.3",
"sikessem/framework": "^0.4.0",
"sikessem/ui": "^0.7.0",
"spatie/laravel-sitemap": "^6.4"
},
"require-dev": {
"sikessem/laravel-devtools": "^0.8.0"
"sikessem/laravel-devtools": "^0.9.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit cb9292f

Please sign in to comment.