Skip to content

Commit

Permalink
General: Clean up use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Aug 5, 2024
1 parent 2eaca06 commit 25a92eb
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/Lunr/L10n/AbstractL10n.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

namespace Lunr\L10n;

use Psr\Log\LoggerInterface;
use DirectoryIterator;
use Psr\Log\LoggerInterface;

/**
* Localization support trait.
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/AbstractL10nTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\AbstractL10n;
use Lunr\Halo\LunrBaseTest;
use Psr\Log\LoggerInterface;
use ReflectionClass;

/**
* This class contains test methods for the L10n class.
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/GettextL10nProviderBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\GettextL10nProvider;

/**
* This class contains the tests for the constructor and init function.
*
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/GettextL10nProviderLangTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\GettextL10nProvider;

/**
* This class contains the tests for the lang function.
*
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/GettextL10nProviderNlangTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\GettextL10nProvider;

/**
* This class contains the tests for the lang function.
*
Expand Down
3 changes: 1 addition & 2 deletions src/Lunr/L10n/Tests/GettextL10nProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\GettextL10nProvider;
use Lunr\Halo\LunrBaseTest;
use Lunr\L10n\GettextL10nProvider;
use Psr\Log\LoggerInterface;
use ReflectionClass;

/**
* This class contains common setup routines, providers
Expand Down
3 changes: 1 addition & 2 deletions src/Lunr/L10n/Tests/L10nProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\L10nProvider;
use Lunr\Halo\LunrBaseTest;
use Lunr\L10n\L10nProvider;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\MockObject\Stub;
use Psr\Log\LoggerInterface;
use ReflectionClass;

/**
* This class contains test methods for the abstract L10nProvider class.
Expand Down
3 changes: 1 addition & 2 deletions src/Lunr/L10n/Tests/L10nTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\L10n;
use Lunr\Halo\LunrBaseTest;
use ReflectionClass;
use Lunr\L10n\L10n;

/**
* This class contains test methods for the L10n class.
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/PHPL10nProviderBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\PHPL10nProvider;

/**
* This class contains the tests for the constructor and init function,
* as well as the tests for lang() and nlang() with the default language.
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/PHPL10nProviderLangTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\PHPL10nProvider;

/**
* This class contains the tests for the lang function.
*
Expand Down
2 changes: 0 additions & 2 deletions src/Lunr/L10n/Tests/PHPL10nProviderNlangTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\PHPL10nProvider;

/**
* This class contains the tests for the nlang function.
*
Expand Down
3 changes: 1 addition & 2 deletions src/Lunr/L10n/Tests/PHPL10nProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@

namespace Lunr\L10n\Tests;

use Lunr\L10n\PHPL10nProvider;
use Lunr\Halo\LunrBaseTest;
use Lunr\L10n\PHPL10nProvider;
use Psr\Log\LoggerInterface;
use ReflectionClass;

/**
* This class contains common setup routines, providers
Expand Down

0 comments on commit 25a92eb

Please sign in to comment.