Skip to content

Commit

Permalink
Cleanup console/exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Mar 18, 2024
1 parent 1d8a75d commit fd6f3cc
Show file tree
Hide file tree
Showing 5 changed files with 496 additions and 47 deletions.
18 changes: 0 additions & 18 deletions app/Console/Kernel.php

This file was deleted.

26 changes: 0 additions & 26 deletions app/Exceptions/Handler.php

This file was deleted.

5 changes: 2 additions & 3 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class AppServiceProvider extends ServiceProvider
{
public const HOME = '/';
public const string HOME = '/';

public function register(): void
{
Expand All @@ -29,9 +29,8 @@ public function boot(): void

]);

Validator::extend('absent', fn ($attribute, $value, $parameters, $validator) => ! Arr::has($validator->getData(), $attribute));

Carbon::macro('userTimezone', fn () => $this->tz('Europe/Amsterdam')); /** @phpstan-ignore-line */

Password::defaults(function () {
$rule = Password::min(8)
->letters()
Expand Down
Loading

0 comments on commit fd6f3cc

Please sign in to comment.