Skip to content

Commit

Permalink
Remove deprecated Asset facade methods
Browse files Browse the repository at this point in the history
See #1904 for why we are skipping the normal deprecation process.
  • Loading branch information
caendesilva committed Jul 26, 2024
1 parent 3db1b29 commit f5b7526
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions packages/framework/src/Facades/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use Hyde\Hyde;
use Illuminate\Support\Str;
use JetBrains\PhpStorm\Deprecated;

use function md5_file;
use function file_exists;
Expand Down Expand Up @@ -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);
}
}

0 comments on commit f5b7526

Please sign in to comment.