Skip to content

Commit

Permalink
Merge branch 'release/0.9.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Aug 5, 2024
2 parents ae8d2ae + a20fd07 commit 995985e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 3 additions & 4 deletions src/Lunr/Halo/LegacyBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@

namespace Lunr\Halo;

use Closure;
use PHPUnit\Framework\TestCase;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
use Throwable;
use Closure;
use ReflectionClass;
use RuntimeException;

/**
Expand Down Expand Up @@ -491,7 +490,7 @@ protected function expectOutputMatchesFile(string $file): void
$content = file_get_contents($file);
if ($content === FALSE)
{
throw new \RuntimeException("File \"$file\" could not be read!");
throw new RuntimeException("File \"$file\" could not be read!");
}

$this->expectOutputString($content);
Expand Down
7 changes: 3 additions & 4 deletions src/Lunr/Halo/LunrBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@

namespace Lunr\Halo;

use Closure;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
use Throwable;
use Closure;
use ReflectionClass;
use RuntimeException;

/**
Expand Down Expand Up @@ -511,7 +510,7 @@ protected function expectOutputMatchesFile(string $file): void
$content = file_get_contents($file);
if ($content === FALSE)
{
throw new \RuntimeException("File \"$file\" could not be read!");
throw new RuntimeException("File \"$file\" could not be read!");
}

$this->expectOutputString($content);
Expand Down
1 change: 0 additions & 1 deletion src/Lunr/Halo/Tests/LunrBaseTestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
namespace Lunr\Halo\Tests;

use Lunr\Halo\LunrBaseTest;
use ReflectionClass;

/**
* This class contains the tests for the unit test base class.
Expand Down

0 comments on commit 995985e

Please sign in to comment.