Skip to content

Commit

Permalink
♻️ move ManifestNotFoundException
Browse files Browse the repository at this point in the history
  • Loading branch information
QWp6t committed Mar 18, 2024
1 parent b6a0171 commit 8643b41
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

use Exception;

/**
* @deprecated 4.0.0 -- This has been moved to `Roots\Acorn\Assets\Exceptions\ManifestNotFoundException`
*/
class ManifestNotFoundException extends Exception
{
//
Expand Down
10 changes: 10 additions & 0 deletions src/Roots/Acorn/Assets/Exceptions/ManifestNotFoundException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Roots\Acorn\Assets\Exceptions;

use Exception;

class ManifestNotFoundException extends Exception
{
//
}
2 changes: 1 addition & 1 deletion src/Roots/Acorn/Assets/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use InvalidArgumentException;
use Roots\Acorn\Assets\Contracts\Manifest as ManifestContract;
use Roots\Acorn\Assets\Contracts\ManifestNotFoundException;
use Roots\Acorn\Assets\Exceptions\ManifestNotFoundException;
use Roots\Acorn\Assets\Middleware\LaravelMixMiddleware;
use Roots\Acorn\Assets\Middleware\RootsBudMiddleware;

Expand Down
2 changes: 1 addition & 1 deletion tests/Assets/ManagerTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Roots\Acorn\Assets\Contracts\Manifest as ManifestContract;
use Roots\Acorn\Assets\Contracts\ManifestNotFoundException;
use Roots\Acorn\Assets\Exceptions\ManifestNotFoundException;
use Roots\Acorn\Assets\Manager;
use Roots\Acorn\Assets\Manifest;
use Roots\Acorn\Tests\Test\TestCase;
Expand Down

0 comments on commit 8643b41

Please sign in to comment.