From f5b752610ac5d9f8027afcaa13428669215b8110 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 26 Jul 2024 14:52:35 +0200 Subject: [PATCH] Remove deprecated Asset facade methods See https://github.com/hydephp/develop/pull/1904 for why we are skipping the normal deprecation process. --- packages/framework/src/Facades/Asset.php | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/packages/framework/src/Facades/Asset.php b/packages/framework/src/Facades/Asset.php index 6d7a3afaeb3..2300dd6dc72 100644 --- a/packages/framework/src/Facades/Asset.php +++ b/packages/framework/src/Facades/Asset.php @@ -6,7 +6,6 @@ use Hyde\Hyde; use Illuminate\Support\Str; -use JetBrains\PhpStorm\Deprecated; use function md5_file; use function file_exists; @@ -54,26 +53,4 @@ protected static function getCacheBustKey(string $file): string ? '?v='.md5_file(Hyde::mediaPath("$file")) : ''; } - - /** - * @deprecated Use HydeFront::version() instead. - * - * @codeCoverageIgnore Deprecated method. - */ - #[Deprecated(reason: 'Use HydeFront::version() instead.', replacement: '\Hyde\Facades\HydeFront::version()')] - public static function version(): string - { - return HydeFront::version(); - } - - /** - * @deprecated Use HydeFront::cdnLink() instead. - * - * @codeCoverageIgnore Deprecated method. - */ - #[Deprecated(reason: 'Use HydeFront::cdnLink() instead.', replacement: '\Hyde\Facades\HydeFront::cdnLink()')] - public static function cdnLink(string $file): string - { - return HydeFront::cdnLink($file); - } }