diff --git a/tests/TestCase/Auth/BasicAuthenticateTest.php b/tests/TestCase/Auth/BasicAuthenticateTest.php index bef0a81aeb3..fb659a42e92 100644 --- a/tests/TestCase/Auth/BasicAuthenticateTest.php +++ b/tests/TestCase/Auth/BasicAuthenticateTest.php @@ -18,10 +18,8 @@ use Cake\I18n\Time; use Cake\Network\Exception\UnauthorizedException; use Cake\Network\Request; -use Cake\ORM\Entity; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; -use Cake\Utility\Security; /** * Test case for BasicAuthentication diff --git a/tests/TestCase/Auth/DigestAuthenticateTest.php b/tests/TestCase/Auth/DigestAuthenticateTest.php index 52f8caae61b..7ef0cba9fdb 100644 --- a/tests/TestCase/Auth/DigestAuthenticateTest.php +++ b/tests/TestCase/Auth/DigestAuthenticateTest.php @@ -20,7 +20,6 @@ use Cake\I18n\Time; use Cake\Network\Exception\UnauthorizedException; use Cake\Network\Request; -use Cake\ORM\Entity; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Auth/FormAuthenticateTest.php b/tests/TestCase/Auth/FormAuthenticateTest.php index 22a5366bbc4..3cef40cefb4 100644 --- a/tests/TestCase/Auth/FormAuthenticateTest.php +++ b/tests/TestCase/Auth/FormAuthenticateTest.php @@ -15,8 +15,6 @@ namespace Cake\Test\TestCase\Auth; use Cake\Auth\FormAuthenticate; -use Cake\Cache\Cache; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\I18n\Time; diff --git a/tests/TestCase/BasicsTest.php b/tests/TestCase/BasicsTest.php index d157e1fbe07..08cfb71dce5 100644 --- a/tests/TestCase/BasicsTest.php +++ b/tests/TestCase/BasicsTest.php @@ -16,12 +16,8 @@ */ namespace Cake\Test\TestCase; -use Cake\Cache\Cache; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Event\EventManager; -use Cake\Filesystem\Folder; -use Cake\Log\Log; use Cake\Network\Response; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Cache/CacheTest.php b/tests/TestCase/Cache/CacheTest.php index d598a8f9859..e2e78eaa5c4 100644 --- a/tests/TestCase/Cache/CacheTest.php +++ b/tests/TestCase/Cache/CacheTest.php @@ -17,7 +17,6 @@ use Cake\Cache\Cache; use Cake\Cache\CacheRegistry; use Cake\Cache\Engine\FileEngine; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Collection/Iterator/SortIteratorTest.php b/tests/TestCase/Collection/Iterator/SortIteratorTest.php index 3b931c61e30..4d661ea0b1b 100644 --- a/tests/TestCase/Collection/Iterator/SortIteratorTest.php +++ b/tests/TestCase/Collection/Iterator/SortIteratorTest.php @@ -16,7 +16,6 @@ use ArrayObject; use Cake\Collection\Iterator\SortIterator; -use Cake\I18n\Time; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Console/ConsoleErrorHandlerTest.php b/tests/TestCase/Console/ConsoleErrorHandlerTest.php index 9dbaf004ad7..8a3ca48080e 100644 --- a/tests/TestCase/Console/ConsoleErrorHandlerTest.php +++ b/tests/TestCase/Console/ConsoleErrorHandlerTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Console; -use Cake\Console\ConsoleErrorHandler; use Cake\Controller\Exception\MissingActionException; use Cake\Core\Exception\Exception; use Cake\Log\Log; diff --git a/tests/TestCase/Console/HelpFormatterTest.php b/tests/TestCase/Console/HelpFormatterTest.php index e373f63d373..f801df02d21 100644 --- a/tests/TestCase/Console/HelpFormatterTest.php +++ b/tests/TestCase/Console/HelpFormatterTest.php @@ -19,7 +19,6 @@ use Cake\Console\ConsoleOptionParser; use Cake\Console\HelpFormatter; use Cake\TestSuite\TestCase; -use \DOMDocument as DomDocument; /** * Class HelpFormatterTest diff --git a/tests/TestCase/Console/ShellDispatcherTest.php b/tests/TestCase/Console/ShellDispatcherTest.php index 1667de3c31d..55ca49b279f 100644 --- a/tests/TestCase/Console/ShellDispatcherTest.php +++ b/tests/TestCase/Console/ShellDispatcherTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Console; use Cake\Console\ShellDispatcher; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Console/ShellTest.php b/tests/TestCase/Console/ShellTest.php index ef03302b638..8c71778f52d 100644 --- a/tests/TestCase/Console/ShellTest.php +++ b/tests/TestCase/Console/ShellTest.php @@ -17,13 +17,10 @@ use Cake\Console\ConsoleIo; use Cake\Console\ConsoleOptionParser; use Cake\Console\Shell; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Filesystem\Folder; -use Cake\Log\Log; use Cake\TestSuite\TestCase; -use Cake\Utility\Hash; use TestApp\Shell\TestingDispatchShell; /** diff --git a/tests/TestCase/Console/TaskRegistryTest.php b/tests/TestCase/Console/TaskRegistryTest.php index 3321d0ed783..6a3af7a837d 100644 --- a/tests/TestCase/Console/TaskRegistryTest.php +++ b/tests/TestCase/Console/TaskRegistryTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Console; use Cake\Console\TaskRegistry; -use Cake\Core\App; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Controller/Component/AuthComponentTest.php b/tests/TestCase/Controller/Component/AuthComponentTest.php index ca8f03e0c0a..b8a7bbf183c 100644 --- a/tests/TestCase/Controller/Component/AuthComponentTest.php +++ b/tests/TestCase/Controller/Component/AuthComponentTest.php @@ -14,19 +14,13 @@ */ namespace Cake\Test\TestCase\Controller\Component; -use Cake\Controller\ComponentRegistry; use Cake\Controller\Component\AuthComponent; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Event\Event; use Cake\Event\EventManager; -use Cake\Network\Exception\ForbiddenException; -use Cake\Network\Exception\UnauthorizedException; use Cake\Network\Request; use Cake\Network\Response; use Cake\Network\Session; -use Cake\ORM\Entity; use Cake\ORM\TableRegistry; use Cake\Routing\Router; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Controller/Component/CookieComponentTest.php b/tests/TestCase/Controller/Component/CookieComponentTest.php index 469191af711..f201b902344 100644 --- a/tests/TestCase/Controller/Component/CookieComponentTest.php +++ b/tests/TestCase/Controller/Component/CookieComponentTest.php @@ -16,8 +16,6 @@ use Cake\Controller\ComponentRegistry; use Cake\Controller\Component\CookieComponent; -use Cake\Controller\Controller; -use Cake\Event\Event; use Cake\I18n\Time; use Cake\Network\Request; use Cake\Network\Response; diff --git a/tests/TestCase/Controller/Component/PaginatorComponentTest.php b/tests/TestCase/Controller/Component/PaginatorComponentTest.php index c6d3f5a03e6..0a3a7ef01bb 100644 --- a/tests/TestCase/Controller/Component/PaginatorComponentTest.php +++ b/tests/TestCase/Controller/Component/PaginatorComponentTest.php @@ -23,7 +23,6 @@ use Cake\Network\Request; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; -use Cake\Utility\Hash; /** * PaginatorTestController class diff --git a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php index df05ce38a5e..ed1cfa22efa 100644 --- a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php +++ b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php @@ -16,12 +16,9 @@ use Cake\Controller\ComponentRegistry; use Cake\Controller\Component\RequestHandlerComponent; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Event\Event; use Cake\Network\Request; -use Cake\Network\Response; use Cake\Routing\DispatcherFactory; use Cake\Routing\Router; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Controller/ComponentRegistryTest.php b/tests/TestCase/Controller/ComponentRegistryTest.php index ed67a193cd6..3e7cae9dfa4 100644 --- a/tests/TestCase/Controller/ComponentRegistryTest.php +++ b/tests/TestCase/Controller/ComponentRegistryTest.php @@ -18,7 +18,6 @@ use Cake\Controller\Component\AuthComponent; use Cake\Controller\Component\CookieComponent; use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Plugin; use Cake\Network\Request; use Cake\Network\Response; diff --git a/tests/TestCase/Controller/ComponentTest.php b/tests/TestCase/Controller/ComponentTest.php index 988f77b26fb..9b1c8cd78d5 100644 --- a/tests/TestCase/Controller/ComponentTest.php +++ b/tests/TestCase/Controller/ComponentTest.php @@ -21,7 +21,6 @@ use Cake\TestSuite\TestCase; use TestApp\Controller\ComponentTestController; use TestApp\Controller\Component\AppleComponent; -use TestApp\Controller\Component\OrangeComponent; /** * ComponentTest class diff --git a/tests/TestCase/Controller/ControllerTest.php b/tests/TestCase/Controller/ControllerTest.php index 718f33961fe..9d09384e97b 100644 --- a/tests/TestCase/Controller/ControllerTest.php +++ b/tests/TestCase/Controller/ControllerTest.php @@ -16,7 +16,6 @@ use Cake\Controller\Component; use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Event\Event; @@ -26,7 +25,6 @@ use Cake\Routing\Router; use Cake\TestSuite\Fixture\TestModel; use Cake\TestSuite\TestCase; -use Cake\Utility\Hash; use TestApp\Controller\Admin\PostsController; use TestPlugin\Controller\TestPluginController; diff --git a/tests/TestCase/Core/Configure/Engine/IniConfigTest.php b/tests/TestCase/Core/Configure/Engine/IniConfigTest.php index a3c58951d4a..bcae576a061 100644 --- a/tests/TestCase/Core/Configure/Engine/IniConfigTest.php +++ b/tests/TestCase/Core/Configure/Engine/IniConfigTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Core\Configure\Engine; -use Cake\Core\App; use Cake\Core\Configure\Engine\IniConfig; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Core/Configure/Engine/JsonConfigTest.php b/tests/TestCase/Core/Configure/Engine/JsonConfigTest.php index fbcb3889bbf..9f97e61683f 100644 --- a/tests/TestCase/Core/Configure/Engine/JsonConfigTest.php +++ b/tests/TestCase/Core/Configure/Engine/JsonConfigTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Core\Configure\Engine; -use Cake\Core\App; use Cake\Core\Configure\Engine\JsonConfig; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Core/Configure/Engine/PhpConfigTest.php b/tests/TestCase/Core/Configure/Engine/PhpConfigTest.php index 2bc9c82515a..9002afe8870 100644 --- a/tests/TestCase/Core/Configure/Engine/PhpConfigTest.php +++ b/tests/TestCase/Core/Configure/Engine/PhpConfigTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Core\Configure\Engine; -use Cake\Core\App; use Cake\Core\Configure\Engine\PhpConfig; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Core/ConfigureTest.php b/tests/TestCase/Core/ConfigureTest.php index 623ae6111e5..6cacfa62a2f 100644 --- a/tests/TestCase/Core/ConfigureTest.php +++ b/tests/TestCase/Core/ConfigureTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Core; use Cake\Cache\Cache; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Configure\Engine\PhpConfig; use Cake\Core\Plugin; diff --git a/tests/TestCase/Core/PluginTest.php b/tests/TestCase/Core/PluginTest.php index cadadaa771c..7d099f75064 100644 --- a/tests/TestCase/Core/PluginTest.php +++ b/tests/TestCase/Core/PluginTest.php @@ -13,7 +13,6 @@ */ namespace Cake\Test\TestCase\Core; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Core/StaticConfigTraitTest.php b/tests/TestCase/Core/StaticConfigTraitTest.php index 45f69030664..ba44de128e8 100644 --- a/tests/TestCase/Core/StaticConfigTraitTest.php +++ b/tests/TestCase/Core/StaticConfigTraitTest.php @@ -15,7 +15,6 @@ use Cake\Core\StaticConfigTrait; use Cake\TestSuite\TestCase; -use PHPUnit_Framework_Test; /** * TestConnectionManagerStaticConfig diff --git a/tests/TestCase/Database/Driver/MysqlTest.php b/tests/TestCase/Database/Driver/MysqlTest.php index 4db89d73e43..fbb812ea30e 100644 --- a/tests/TestCase/Database/Driver/MysqlTest.php +++ b/tests/TestCase/Database/Driver/MysqlTest.php @@ -15,8 +15,6 @@ namespace Cake\Test\TestCase\Database\Driver; use Cake\Core\Configure; -use Cake\Database\Connection; -use Cake\Database\Driver\Mysql; use Cake\Datasource\ConnectionManager; use Cake\TestSuite\TestCase; use \PDO; diff --git a/tests/TestCase/Database/Driver/PostgresTest.php b/tests/TestCase/Database/Driver/PostgresTest.php index c39b2154b01..147252792be 100644 --- a/tests/TestCase/Database/Driver/PostgresTest.php +++ b/tests/TestCase/Database/Driver/PostgresTest.php @@ -15,10 +15,6 @@ namespace Cake\Test\TestCase\Database\Driver; use Cake\Core\Configure; -use Cake\Database\Connection; -use Cake\Database\Driver\Postgres; -use Cake\Database\Query; -use Cake\Datasource\ConnectionManager; use Cake\TestSuite\TestCase; use \PDO; diff --git a/tests/TestCase/Database/Driver/SqliteTest.php b/tests/TestCase/Database/Driver/SqliteTest.php index 5f8294e1723..6767baa0f51 100644 --- a/tests/TestCase/Database/Driver/SqliteTest.php +++ b/tests/TestCase/Database/Driver/SqliteTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Database\Driver; use Cake\Core\Configure; -use Cake\Database\Connection; use Cake\Database\Driver\Sqlite; use Cake\Testsuite\TestCase; use \PDO; diff --git a/tests/TestCase/Database/Driver/SqlserverTest.php b/tests/TestCase/Database/Driver/SqlserverTest.php index ac4ac88d6e9..da3ec828441 100644 --- a/tests/TestCase/Database/Driver/SqlserverTest.php +++ b/tests/TestCase/Database/Driver/SqlserverTest.php @@ -15,9 +15,6 @@ namespace Cake\Test\TestCase\Database\Driver; use Cake\Core\Configure; -use Cake\Database\Connection; -use Cake\Database\Driver\Sqlserver; -use Cake\Database\Query; use Cake\TestSuite\TestCase; use \PDO; diff --git a/tests/TestCase/Database/Expression/QueryExpressionTest.php b/tests/TestCase/Database/Expression/QueryExpressionTest.php index 41edbbb6de8..5462c492439 100644 --- a/tests/TestCase/Database/Expression/QueryExpressionTest.php +++ b/tests/TestCase/Database/Expression/QueryExpressionTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Database\Expression; -use Cake\Database\Expression\CaseExpression; use Cake\Database\Expression\QueryExpression; use Cake\Database\ValueBinder; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Database/Log/LoggingStatementTest.php b/tests/TestCase/Database/Log/LoggingStatementTest.php index 9f436519088..7cb5ad911a8 100644 --- a/tests/TestCase/Database/Log/LoggingStatementTest.php +++ b/tests/TestCase/Database/Log/LoggingStatementTest.php @@ -16,7 +16,6 @@ use Cake\Database\Log\LoggingStatement; use Cake\TestSuite\TestCase; -use PDOStatement; /** * Tests LoggingStatement class diff --git a/tests/TestCase/Database/Schema/CollectionTest.php b/tests/TestCase/Database/Schema/CollectionTest.php index 6356bfa1960..36fc732a93c 100644 --- a/tests/TestCase/Database/Schema/CollectionTest.php +++ b/tests/TestCase/Database/Schema/CollectionTest.php @@ -16,9 +16,7 @@ use Cake\Cache\Cache; use Cake\Core\Configure; -use Cake\Database\Connection; use Cake\Database\Schema\Collection; -use Cake\Database\Schema\Table; use Cake\Datasource\ConnectionManager; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Database/Statement/StatementDecoratorTest.php b/tests/TestCase/Database/Statement/StatementDecoratorTest.php index 3e379aa12d6..c5138d9eb1a 100644 --- a/tests/TestCase/Database/Statement/StatementDecoratorTest.php +++ b/tests/TestCase/Database/Statement/StatementDecoratorTest.php @@ -16,7 +16,6 @@ use Cake\Database\Statement\StatementDecorator; use Cake\TestSuite\TestCase; -use \PDO; /** * Tests StatementDecorator class diff --git a/tests/TestCase/Database/Type/BinaryTypeTest.php b/tests/TestCase/Database/Type/BinaryTypeTest.php index b1b9f0dd4a7..3475ec993b3 100644 --- a/tests/TestCase/Database/Type/BinaryTypeTest.php +++ b/tests/TestCase/Database/Type/BinaryTypeTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Database\Type; use Cake\Database\Type; -use Cake\Database\Type\BinaryType; use Cake\TestSuite\TestCase; use \PDO; diff --git a/tests/TestCase/Database/Type/IntegerTypeTest.php b/tests/TestCase/Database/Type/IntegerTypeTest.php index b6fb007f804..568ef5838bc 100644 --- a/tests/TestCase/Database/Type/IntegerTypeTest.php +++ b/tests/TestCase/Database/Type/IntegerTypeTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Database\Type; use Cake\Database\Type; -use Cake\Database\Type\IntegerType; use Cake\TestSuite\TestCase; use \PDO; diff --git a/tests/TestCase/Database/Type/UuidTypeTest.php b/tests/TestCase/Database/Type/UuidTypeTest.php index fc7320652f1..b4d2835fa3e 100644 --- a/tests/TestCase/Database/Type/UuidTypeTest.php +++ b/tests/TestCase/Database/Type/UuidTypeTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Database\Type; use Cake\Database\Type; -use Cake\Database\Type\UuidType; use Cake\TestSuite\TestCase; use \PDO; diff --git a/tests/TestCase/Datasource/ConnectionManagerTest.php b/tests/TestCase/Datasource/ConnectionManagerTest.php index 9932f31f5a6..b68206b6c2d 100644 --- a/tests/TestCase/Datasource/ConnectionManagerTest.php +++ b/tests/TestCase/Datasource/ConnectionManagerTest.php @@ -11,9 +11,7 @@ */ namespace Cake\Test\TestCase\Datasource; -use Cake\Core\App; use Cake\Core\Plugin; -use Cake\Database\Driver\Sqlite; use Cake\Datasource\ConnectionManager; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Error/DebuggerTest.php b/tests/TestCase/Error/DebuggerTest.php index 7e845d8da03..4ab38cfe207 100644 --- a/tests/TestCase/Error/DebuggerTest.php +++ b/tests/TestCase/Error/DebuggerTest.php @@ -19,7 +19,6 @@ use Cake\Error\Debugger; use Cake\Log\Log; use Cake\TestSuite\TestCase; -use Cake\View\View; /** * DebuggerTestCaseDebugger class diff --git a/tests/TestCase/Error/ErrorHandlerTest.php b/tests/TestCase/Error/ErrorHandlerTest.php index 12e83cf07b5..88346ae82fb 100644 --- a/tests/TestCase/Error/ErrorHandlerTest.php +++ b/tests/TestCase/Error/ErrorHandlerTest.php @@ -14,19 +14,15 @@ */ namespace Cake\Test\TestCase\Error; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Error; use Cake\Error\ErrorHandler; -use Cake\Error\ExceptionRenderer; use Cake\Error\PHP7ErrorException; use Cake\Log\Log; use Cake\Network\Exception\ForbiddenException; use Cake\Network\Exception\NotFoundException; use Cake\Network\Request; -use Cake\Network\Response; use Cake\Routing\Exception\MissingControllerException; use Cake\Routing\Router; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Event/EventDispatcherTraitTest.php b/tests/TestCase/Event/EventDispatcherTraitTest.php index 26f7d01a8a2..35d9308e251 100644 --- a/tests/TestCase/Event/EventDispatcherTraitTest.php +++ b/tests/TestCase/Event/EventDispatcherTraitTest.php @@ -14,7 +14,6 @@ namespace Cake\Test\TestCase\Event; -use Cake\Event\EventDispatcherTrait; use Cake\Event\EventManager; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Log/Engine/ConsoleLogTest.php b/tests/TestCase/Log/Engine/ConsoleLogTest.php index 92d01891ac5..615ccfc6d6f 100644 --- a/tests/TestCase/Log/Engine/ConsoleLogTest.php +++ b/tests/TestCase/Log/Engine/ConsoleLogTest.php @@ -15,7 +15,6 @@ use Cake\Console\ConsoleOutput; use Cake\Log\Engine\ConsoleLog; -use Cake\Log\Log; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Log/LogTest.php b/tests/TestCase/Log/LogTest.php index c7a07341653..fc2666ca713 100644 --- a/tests/TestCase/Log/LogTest.php +++ b/tests/TestCase/Log/LogTest.php @@ -13,7 +13,6 @@ */ namespace Cake\Test\TestCase\Log; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Log\Engine\FileLog; diff --git a/tests/TestCase/Log/LogTraitTest.php b/tests/TestCase/Log/LogTraitTest.php index 2e90443797a..49c9ef1b5a8 100644 --- a/tests/TestCase/Log/LogTraitTest.php +++ b/tests/TestCase/Log/LogTraitTest.php @@ -15,7 +15,6 @@ use Cake\Log\Log; use Cake\Log\LogInterface; -use Cake\Log\LogTrait; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Mailer/MailerTest.php b/tests/TestCase/Mailer/MailerTest.php index 1fba4dceaf4..18335f81d43 100644 --- a/tests/TestCase/Mailer/MailerTest.php +++ b/tests/TestCase/Mailer/MailerTest.php @@ -12,8 +12,6 @@ */ namespace Cake\Test\TestCase\Mailer; -use Cake\Mailer\Email; -use Cake\Mailer\Mailer; use Cake\TestSuite\TestCase; use TestApp\Mailer\TestMailer; diff --git a/tests/TestCase/Mailer/Transport/DebugTransportTest.php b/tests/TestCase/Mailer/Transport/DebugTransportTest.php index 10e5e6dbb78..3ee102ce162 100644 --- a/tests/TestCase/Mailer/Transport/DebugTransportTest.php +++ b/tests/TestCase/Mailer/Transport/DebugTransportTest.php @@ -16,7 +16,6 @@ */ namespace Cake\Test\TestCase\Mailer\Transport; -use Cake\Mailer\Email; use Cake\Mailer\Transport\DebugTransport; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Mailer/Transport/MailTransportTest.php b/tests/TestCase/Mailer/Transport/MailTransportTest.php index 6d76333e4c0..1adf24251e6 100644 --- a/tests/TestCase/Mailer/Transport/MailTransportTest.php +++ b/tests/TestCase/Mailer/Transport/MailTransportTest.php @@ -16,8 +16,6 @@ */ namespace Cake\Test\TestCase\Mailer\Transport; -use Cake\Mailer\Email; -use Cake\Mailer\Transport\MailTransport; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Network/Http/Adapter/StreamTest.php b/tests/TestCase/Network/Http/Adapter/StreamTest.php index 5877365261b..96b876a2ba0 100644 --- a/tests/TestCase/Network/Http/Adapter/StreamTest.php +++ b/tests/TestCase/Network/Http/Adapter/StreamTest.php @@ -13,10 +13,8 @@ */ namespace Cake\Test\TestCase\Network\Http\Adapter; -use Cake\Network\Exception\SocketException; use Cake\Network\Http\Adapter\Stream; use Cake\Network\Http\Request; -use Cake\Network\Http\Response; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Network/Http/FormDataTest.php b/tests/TestCase/Network/Http/FormDataTest.php index 55add391ae4..0e2f9b26be5 100644 --- a/tests/TestCase/Network/Http/FormDataTest.php +++ b/tests/TestCase/Network/Http/FormDataTest.php @@ -14,7 +14,6 @@ namespace Cake\Test\TestCase\Network\Http; use Cake\Network\Http\FormData; -use Cake\Network\Http\FormData\Part; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Network/RequestTest.php b/tests/TestCase/Network/RequestTest.php index a4909adaf5d..5f8298c0472 100644 --- a/tests/TestCase/Network/RequestTest.php +++ b/tests/TestCase/Network/RequestTest.php @@ -18,9 +18,7 @@ use Cake\Network\Exception; use Cake\Network\Request; use Cake\Network\Session; -use Cake\Routing\Dispatcher; use Cake\TestSuite\TestCase; -use Cake\Utility\Xml; /** * Class TestRequest diff --git a/tests/TestCase/Network/Session/DatabaseSessionTest.php b/tests/TestCase/Network/Session/DatabaseSessionTest.php index 68631b8642e..2da9c0caf30 100644 --- a/tests/TestCase/Network/Session/DatabaseSessionTest.php +++ b/tests/TestCase/Network/Session/DatabaseSessionTest.php @@ -21,7 +21,6 @@ use Cake\Network\Session; use Cake\Network\Session\DatabaseSession; use Cake\ORM\Entity; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Network/SessionTest.php b/tests/TestCase/Network/SessionTest.php index 465b4947076..e17c0233f6b 100644 --- a/tests/TestCase/Network/SessionTest.php +++ b/tests/TestCase/Network/SessionTest.php @@ -14,10 +14,7 @@ */ namespace Cake\Test\TestCase\Network; -use Cake\Cache\Cache; -use Cake\Core\App; use Cake\Core\Configure; -use Cake\Core\Plugin; use Cake\Network\Session; use Cake\Network\Session\CacheSession; use Cake\Network\Session\DatabaseSession; diff --git a/tests/TestCase/ORM/Association/BelongsToManyTest.php b/tests/TestCase/ORM/Association/BelongsToManyTest.php index 9005c4c2d41..e1d63f7b099 100644 --- a/tests/TestCase/ORM/Association/BelongsToManyTest.php +++ b/tests/TestCase/ORM/Association/BelongsToManyTest.php @@ -14,14 +14,10 @@ */ namespace Cake\Test\TestCase\ORM\Association; -use Cake\Database\Expression\IdentifierExpression; use Cake\Database\Expression\QueryExpression; -use Cake\Database\TypeMap; use Cake\Datasource\ConnectionManager; use Cake\ORM\Association\BelongsToMany; use Cake\ORM\Entity; -use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/Association/BelongsToTest.php b/tests/TestCase/ORM/Association/BelongsToTest.php index 67bb5b6b587..606a2775a29 100644 --- a/tests/TestCase/ORM/Association/BelongsToTest.php +++ b/tests/TestCase/ORM/Association/BelongsToTest.php @@ -19,8 +19,6 @@ use Cake\Database\TypeMap; use Cake\ORM\Association\BelongsTo; use Cake\ORM\Entity; -use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/Association/HasManyTest.php b/tests/TestCase/ORM/Association/HasManyTest.php index 7d28cb42597..7ceac8e6be3 100644 --- a/tests/TestCase/ORM/Association/HasManyTest.php +++ b/tests/TestCase/ORM/Association/HasManyTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\ORM\Association; -use Cake\Database\Expression\IdentifierExpression; use Cake\Database\Expression\OrderByExpression; use Cake\Database\Expression\QueryExpression; use Cake\Database\Expression\TupleComparison; @@ -23,8 +22,6 @@ use Cake\Datasource\ConnectionManager; use Cake\ORM\Association\HasMany; use Cake\ORM\Entity; -use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/Association/HasOneTest.php b/tests/TestCase/ORM/Association/HasOneTest.php index 7a18b37a6e2..7c97d408830 100644 --- a/tests/TestCase/ORM/Association/HasOneTest.php +++ b/tests/TestCase/ORM/Association/HasOneTest.php @@ -19,8 +19,6 @@ use Cake\Database\TypeMap; use Cake\ORM\Association\HasOne; use Cake\ORM\Entity; -use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/AssociationProxyTest.php b/tests/TestCase/ORM/AssociationProxyTest.php index 98846dfd552..4a531a9219a 100644 --- a/tests/TestCase/ORM/AssociationProxyTest.php +++ b/tests/TestCase/ORM/AssociationProxyTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\ORM; use Cake\ORM\Association; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/Behavior/CounterCacheBehaviorTest.php b/tests/TestCase/ORM/Behavior/CounterCacheBehaviorTest.php index 6f2c01e5960..84410bdddb9 100644 --- a/tests/TestCase/ORM/Behavior/CounterCacheBehaviorTest.php +++ b/tests/TestCase/ORM/Behavior/CounterCacheBehaviorTest.php @@ -18,7 +18,6 @@ use Cake\Datasource\ConnectionManager; use Cake\Datasource\EntityInterface; use Cake\Event\Event; -use Cake\ORM\Behavior\CounterCacheBehavior; use Cake\ORM\Entity; use Cake\ORM\Table; use Cake\ORM\TableRegistry; diff --git a/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php b/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php index 9c2036fa32c..8f1223e4079 100644 --- a/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php +++ b/tests/TestCase/ORM/Behavior/TranslateBehaviorTest.php @@ -15,9 +15,7 @@ namespace Cake\Test\TestCase\ORM\Behavior; use Cake\Collection\Collection; -use Cake\Event\Event; use Cake\I18n\I18n; -use Cake\ORM\Behavior\TranslateBehavior; use Cake\ORM\Behavior\Translate\TranslateTrait; use Cake\ORM\Entity; use Cake\ORM\TableRegistry; diff --git a/tests/TestCase/ORM/Behavior/TreeBehaviorTest.php b/tests/TestCase/ORM/Behavior/TreeBehaviorTest.php index 804cf07ee4a..317087e2814 100644 --- a/tests/TestCase/ORM/Behavior/TreeBehaviorTest.php +++ b/tests/TestCase/ORM/Behavior/TreeBehaviorTest.php @@ -14,9 +14,6 @@ */ namespace Cake\Test\TestCase\ORM\Behavior; -use Cake\Collection\Collection; -use Cake\Event\Event; -use Cake\ORM\Behavior\TranslateBehavior; use Cake\ORM\Entity; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/EagerLoaderTest.php b/tests/TestCase/ORM/EagerLoaderTest.php index d2e5a9de176..966ae865b7b 100644 --- a/tests/TestCase/ORM/EagerLoaderTest.php +++ b/tests/TestCase/ORM/EagerLoaderTest.php @@ -20,7 +20,6 @@ use Cake\Datasource\ConnectionManager; use Cake\ORM\EagerLoader; use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/EntityTest.php b/tests/TestCase/ORM/EntityTest.php index a431761482b..6e3f96b5d1c 100644 --- a/tests/TestCase/ORM/EntityTest.php +++ b/tests/TestCase/ORM/EntityTest.php @@ -16,7 +16,6 @@ use Cake\ORM\Entity; use Cake\TestSuite\TestCase; -use Cake\Validation\Validator; use TestApp\Model\Entity\Extending; use TestApp\Model\Entity\NonExtending; diff --git a/tests/TestCase/ORM/QueryRegressionTest.php b/tests/TestCase/ORM/QueryRegressionTest.php index 88d8a4aa134..cb0cd72b897 100644 --- a/tests/TestCase/ORM/QueryRegressionTest.php +++ b/tests/TestCase/ORM/QueryRegressionTest.php @@ -16,8 +16,6 @@ use Cake\Core\Plugin; use Cake\I18n\Time; -use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/QueryTest.php b/tests/TestCase/ORM/QueryTest.php index ceecc997b76..63e5ad2f186 100644 --- a/tests/TestCase/ORM/QueryTest.php +++ b/tests/TestCase/ORM/QueryTest.php @@ -23,7 +23,6 @@ use Cake\I18n\Time; use Cake\ORM\Query; use Cake\ORM\ResultSet; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/ResultSetTest.php b/tests/TestCase/ORM/ResultSetTest.php index 07331511f49..5002a0e6818 100644 --- a/tests/TestCase/ORM/ResultSetTest.php +++ b/tests/TestCase/ORM/ResultSetTest.php @@ -18,7 +18,6 @@ use Cake\Core\Plugin; use Cake\Datasource\ConnectionManager; use Cake\ORM\Entity; -use Cake\ORM\Query; use Cake\ORM\ResultSet; use Cake\ORM\Table; use Cake\ORM\TableRegistry; diff --git a/tests/TestCase/ORM/RulesCheckerIntegrationTest.php b/tests/TestCase/ORM/RulesCheckerIntegrationTest.php index 35ba2d2180d..7034221fc61 100644 --- a/tests/TestCase/ORM/RulesCheckerIntegrationTest.php +++ b/tests/TestCase/ORM/RulesCheckerIntegrationTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\ORM; use Cake\ORM\Entity; -use Cake\ORM\RulesChecker; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/TableRegistryTest.php b/tests/TestCase/ORM/TableRegistryTest.php index 537870e909b..30fff522c81 100644 --- a/tests/TestCase/ORM/TableRegistryTest.php +++ b/tests/TestCase/ORM/TableRegistryTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\ORM; -use Cake\ORM\Locator\LocatorInterface; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/ORM/TableUuidTest.php b/tests/TestCase/ORM/TableUuidTest.php index 92627ef9dbe..fdac3a39369 100644 --- a/tests/TestCase/ORM/TableUuidTest.php +++ b/tests/TestCase/ORM/TableUuidTest.php @@ -15,10 +15,8 @@ namespace Cake\Test\TestCase\ORM; use Cake\Core\Configure; -use Cake\Database\Expression\QueryExpression; use Cake\Datasource\ConnectionManager; use Cake\ORM\Entity; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; use Cake\Utility\Text; diff --git a/tests/TestCase/Routing/DispatcherTest.php b/tests/TestCase/Routing/DispatcherTest.php index e528459027e..780049a3bed 100644 --- a/tests/TestCase/Routing/DispatcherTest.php +++ b/tests/TestCase/Routing/DispatcherTest.php @@ -14,17 +14,14 @@ namespace Cake\Test\TestCase\Routing; use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; -use Cake\Event\Event; use Cake\Network\Request; use Cake\Network\Response; use Cake\Network\Session; use Cake\Routing\Dispatcher; use Cake\Routing\Filter\ControllerFactoryFilter; use Cake\TestSuite\TestCase; -use Cake\Utility\Inflector; /** * A testing stub that doesn't send headers. diff --git a/tests/TestCase/Routing/Filter/AssetFilterTest.php b/tests/TestCase/Routing/Filter/AssetFilterTest.php index 1e7a895822d..a2113266c3d 100644 --- a/tests/TestCase/Routing/Filter/AssetFilterTest.php +++ b/tests/TestCase/Routing/Filter/AssetFilterTest.php @@ -13,12 +13,10 @@ */ namespace Cake\Test\TestCase\Routing\Filter; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Event\Event; use Cake\Network\Request; -use Cake\Network\Response; use Cake\Routing\Filter\AssetFilter; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Routing/RequestActionTraitTest.php b/tests/TestCase/Routing/RequestActionTraitTest.php index e467c64cbd4..015eddfb221 100644 --- a/tests/TestCase/Routing/RequestActionTraitTest.php +++ b/tests/TestCase/Routing/RequestActionTraitTest.php @@ -13,12 +13,10 @@ */ namespace Cake\Test\TestCase\Routing; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Network\Request; use Cake\Routing\DispatcherFactory; -use Cake\Routing\RequestActionTrait; use Cake\Routing\Router; use Cake\TestSuite\TestCase; use Cake\Utility\Security; diff --git a/tests/TestCase/Routing/Route/DashedRouteTest.php b/tests/TestCase/Routing/Route/DashedRouteTest.php index bbb51bcff5a..dd20b929588 100644 --- a/tests/TestCase/Routing/Route/DashedRouteTest.php +++ b/tests/TestCase/Routing/Route/DashedRouteTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Routing\Route; -use Cake\Core\App; use Cake\Routing\Router; use Cake\Routing\Route\DashedRoute; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Routing/Route/InflectedRouteTest.php b/tests/TestCase/Routing/Route/InflectedRouteTest.php index 7e94262a3fa..644ae481b89 100644 --- a/tests/TestCase/Routing/Route/InflectedRouteTest.php +++ b/tests/TestCase/Routing/Route/InflectedRouteTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Routing\Route; -use Cake\Core\App; use Cake\Routing\Router; use Cake\Routing\Route\InflectedRoute; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Routing/Route/PluginShortRouteTest.php b/tests/TestCase/Routing/Route/PluginShortRouteTest.php index 7ce7671d0c7..1eb71b99aa7 100644 --- a/tests/TestCase/Routing/Route/PluginShortRouteTest.php +++ b/tests/TestCase/Routing/Route/PluginShortRouteTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Routing\Route; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Routing\Router; use Cake\Routing\Route\PluginShortRoute; diff --git a/tests/TestCase/Routing/Route/RedirectRouteTest.php b/tests/TestCase/Routing/Route/RedirectRouteTest.php index 539c27042a8..b2f307dba63 100644 --- a/tests/TestCase/Routing/Route/RedirectRouteTest.php +++ b/tests/TestCase/Routing/Route/RedirectRouteTest.php @@ -14,9 +14,7 @@ */ namespace Cake\Test\TestCase\Routing\Route; -use Cake\Core\App; use Cake\Core\Configure; -use Cake\Network\Response; use Cake\Routing\Router; use Cake\Routing\Route\RedirectRoute; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Routing/Route/RouteTest.php b/tests/TestCase/Routing/Route/RouteTest.php index 80a68057d8a..aa1b4966026 100644 --- a/tests/TestCase/Routing/Route/RouteTest.php +++ b/tests/TestCase/Routing/Route/RouteTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\Routing\Route; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Routing\Router; use Cake\Routing\Route\Route; diff --git a/tests/TestCase/Routing/RouteCollectionTest.php b/tests/TestCase/Routing/RouteCollectionTest.php index b8789eca702..8e7c4fd7c91 100644 --- a/tests/TestCase/Routing/RouteCollectionTest.php +++ b/tests/TestCase/Routing/RouteCollectionTest.php @@ -16,7 +16,6 @@ use Cake\Routing\RouteBuilder; use Cake\Routing\RouteCollection; -use Cake\Routing\Router; use Cake\Routing\Route\Route; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Routing/RouterTest.php b/tests/TestCase/Routing/RouterTest.php index e31db1ae575..859a7d660ed 100644 --- a/tests/TestCase/Routing/RouterTest.php +++ b/tests/TestCase/Routing/RouterTest.php @@ -14,15 +14,12 @@ */ namespace Cake\Test\TestCase\Routing; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Network\Request; -use Cake\Routing\RouteCollection; use Cake\Routing\Router; use Cake\Routing\Route\Route; use Cake\TestSuite\TestCase; -use TestPlugin\Routing\Route\TestRoute; /** * RouterTest class diff --git a/tests/TestCase/Shell/CommandListShellTest.php b/tests/TestCase/Shell/CommandListShellTest.php index 3710c2d3247..0289ca261b1 100644 --- a/tests/TestCase/Shell/CommandListShellTest.php +++ b/tests/TestCase/Shell/CommandListShellTest.php @@ -15,10 +15,7 @@ namespace Cake\Test\TestCase\Shell; use Cake\Console\ConsoleIo; -use Cake\Core\App; use Cake\Core\Plugin; -use Cake\Shell\CommandListShell; -use Cake\Shell\Task\CommandTask; use Cake\TestSuite\Stub\ConsoleOutput; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Shell/CompletionShellTest.php b/tests/TestCase/Shell/CompletionShellTest.php index f6ba0894aa6..56f0a091735 100644 --- a/tests/TestCase/Shell/CompletionShellTest.php +++ b/tests/TestCase/Shell/CompletionShellTest.php @@ -16,11 +16,8 @@ use Cake\Console\ConsoleIo; use Cake\Console\ConsoleOutput; -use Cake\Console\Shell; use Cake\Core\Configure; use Cake\Core\Plugin; -use Cake\Shell\CompletionShell; -use Cake\Shell\Task\CommandTask; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Shell/I18nShellTest.php b/tests/TestCase/Shell/I18nShellTest.php index ad1cc0a788f..9f967b08f51 100644 --- a/tests/TestCase/Shell/I18nShellTest.php +++ b/tests/TestCase/Shell/I18nShellTest.php @@ -14,8 +14,6 @@ */ namespace Cake\Test\TestCase\Shell; -use Cake\Cache\Cache; -use Cake\Datasource\ConnectionManager; use Cake\Shell\I18nShell; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Shell/RoutesShellTest.php b/tests/TestCase/Shell/RoutesShellTest.php index 0f154891610..d261244b3f6 100644 --- a/tests/TestCase/Shell/RoutesShellTest.php +++ b/tests/TestCase/Shell/RoutesShellTest.php @@ -14,8 +14,6 @@ */ namespace Cake\Test\TestCase\Shell; -use Cake\Console\ConsoleIo; -use Cake\Console\ConsoleOutput; use Cake\Routing\Router; use Cake\Shell\RoutesShell; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Shell/ServerShellTest.php b/tests/TestCase/Shell/ServerShellTest.php index 38b1fce7ce2..2c8949d6a62 100644 --- a/tests/TestCase/Shell/ServerShellTest.php +++ b/tests/TestCase/Shell/ServerShellTest.php @@ -14,8 +14,6 @@ */ namespace Cake\Test\TestCase\Shell; -use Cake\Cache\Cache; -use Cake\Datasource\ConnectionManager; use Cake\Shell\ServerShell; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/Shell/Task/AssetsTaskTest.php b/tests/TestCase/Shell/Task/AssetsTaskTest.php index 3e4879e4f96..5968b144c10 100644 --- a/tests/TestCase/Shell/Task/AssetsTaskTest.php +++ b/tests/TestCase/Shell/Task/AssetsTaskTest.php @@ -14,11 +14,9 @@ */ namespace Cake\Test\TestCase\Shell\Task; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Filesystem\Folder; -use Cake\Shell\Task\AssetsTask; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/Shell/Task/ExtractTaskTest.php b/tests/TestCase/Shell/Task/ExtractTaskTest.php index c6ea1185dfc..12656bc5087 100644 --- a/tests/TestCase/Shell/Task/ExtractTaskTest.php +++ b/tests/TestCase/Shell/Task/ExtractTaskTest.php @@ -14,11 +14,9 @@ */ namespace Cake\Test\TestCase\Shell\Task; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Filesystem\Folder; -use Cake\Shell\Task\ExtractTask; use Cake\TestSuite\TestCase; /** diff --git a/tests/TestCase/TestSuite/TestCaseTest.php b/tests/TestCase/TestSuite/TestCaseTest.php index 56a716129bc..9755af0a012 100644 --- a/tests/TestCase/TestSuite/TestCaseTest.php +++ b/tests/TestCase/TestSuite/TestCaseTest.php @@ -14,8 +14,6 @@ */ namespace Cake\Test\TestCase\TestSuite; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Datasource\ConnectionManager; diff --git a/tests/TestCase/Utility/XmlTest.php b/tests/TestCase/Utility/XmlTest.php index 0cc976c1479..4142a9eb6d0 100644 --- a/tests/TestCase/Utility/XmlTest.php +++ b/tests/TestCase/Utility/XmlTest.php @@ -18,7 +18,6 @@ use Cake\Core\Configure; use Cake\ORM\Entity; use Cake\TestSuite\TestCase; -use Cake\Utility\Exception\XmlException; use Cake\Utility\Xml; /** diff --git a/tests/TestCase/View/Form/EntityContextTest.php b/tests/TestCase/View/Form/EntityContextTest.php index 1df7a34439a..bd8cb641ff5 100644 --- a/tests/TestCase/View/Form/EntityContextTest.php +++ b/tests/TestCase/View/Form/EntityContextTest.php @@ -19,7 +19,6 @@ use Cake\Collection\Collection; use Cake\Network\Request; use Cake\ORM\Entity; -use Cake\ORM\Table; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; use Cake\Validation\Validator; diff --git a/tests/TestCase/View/Helper/FlashHelperTest.php b/tests/TestCase/View/Helper/FlashHelperTest.php index 37c04d7cbf3..5158ff8b091 100644 --- a/tests/TestCase/View/Helper/FlashHelperTest.php +++ b/tests/TestCase/View/Helper/FlashHelperTest.php @@ -14,8 +14,6 @@ */ namespace Cake\Test\TestCase\View\Helper; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Plugin; use Cake\Network\Request; use Cake\Network\Session; diff --git a/tests/TestCase/View/Helper/FormHelperTest.php b/tests/TestCase/View/Helper/FormHelperTest.php index 4c16b030701..128c0c8cfbb 100644 --- a/tests/TestCase/View/Helper/FormHelperTest.php +++ b/tests/TestCase/View/Helper/FormHelperTest.php @@ -15,10 +15,7 @@ namespace Cake\Test\TestCase\View\Helper; use Cake\Collection\Collection; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; -use Cake\Core\Plugin; use Cake\Form\Form; use Cake\Network\Request; use Cake\ORM\Entity; @@ -28,7 +25,6 @@ use Cake\TestSuite\TestCase; use Cake\Utility\Security; use Cake\View\Helper\FormHelper; -use Cake\View\Helper\HtmlHelper; use Cake\View\View; /** diff --git a/tests/TestCase/View/Helper/HtmlHelperTest.php b/tests/TestCase/View/Helper/HtmlHelperTest.php index 3909c66c953..d2329dda33a 100644 --- a/tests/TestCase/View/Helper/HtmlHelperTest.php +++ b/tests/TestCase/View/Helper/HtmlHelperTest.php @@ -14,18 +14,13 @@ */ namespace Cake\Test\TestCase\View\Helper; -use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\Filesystem\File; -use Cake\Filesystem\Folder; use Cake\Network\Request; use Cake\Routing\Router; use Cake\TestSuite\TestCase; -use Cake\View\Helper\FormHelper; use Cake\View\Helper\HtmlHelper; -use Cake\View\View; /** * HtmlHelperTest class diff --git a/tests/TestCase/View/Helper/NumberHelperTest.php b/tests/TestCase/View/Helper/NumberHelperTest.php index 6903150f6d3..fb2d2296094 100644 --- a/tests/TestCase/View/Helper/NumberHelperTest.php +++ b/tests/TestCase/View/Helper/NumberHelperTest.php @@ -16,7 +16,6 @@ */ namespace Cake\Test\TestCase\View\Helper; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/View/Helper/RssHelperTest.php b/tests/TestCase/View/Helper/RssHelperTest.php index d83492b3cb4..6cdc17580e0 100644 --- a/tests/TestCase/View/Helper/RssHelperTest.php +++ b/tests/TestCase/View/Helper/RssHelperTest.php @@ -20,7 +20,6 @@ use Cake\Filesystem\Folder; use Cake\TestSuite\TestCase; use Cake\View\Helper\RssHelper; -use Cake\View\Helper\TimeHelper; use Cake\View\View; /** diff --git a/tests/TestCase/View/Helper/TextHelperTest.php b/tests/TestCase/View/Helper/TextHelperTest.php index 573f53821af..da754493b5c 100644 --- a/tests/TestCase/View/Helper/TextHelperTest.php +++ b/tests/TestCase/View/Helper/TextHelperTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\View\Helper; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/View/Helper/TimeHelperTest.php b/tests/TestCase/View/Helper/TimeHelperTest.php index f180804d4bd..37376851f7e 100644 --- a/tests/TestCase/View/Helper/TimeHelperTest.php +++ b/tests/TestCase/View/Helper/TimeHelperTest.php @@ -14,9 +14,7 @@ */ namespace Cake\Test\TestCase\View\Helper; -use Cake\Core\App; use Cake\Core\Configure; -use Cake\Core\Plugin; use Cake\I18n\I18n; use Cake\I18n\Time; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/View/HelperRegistryTest.php b/tests/TestCase/View/HelperRegistryTest.php index 119fb94ec87..ac2f7ffde6d 100644 --- a/tests/TestCase/View/HelperRegistryTest.php +++ b/tests/TestCase/View/HelperRegistryTest.php @@ -14,7 +14,6 @@ */ namespace Cake\Test\TestCase\View; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Core\Plugin; use Cake\TestSuite\TestCase; diff --git a/tests/TestCase/View/JsonViewTest.php b/tests/TestCase/View/JsonViewTest.php index 396e878ed73..78e0bec059e 100644 --- a/tests/TestCase/View/JsonViewTest.php +++ b/tests/TestCase/View/JsonViewTest.php @@ -17,12 +17,10 @@ namespace Cake\Test\TestCase\View; use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Network\Request; use Cake\Network\Response; use Cake\TestSuite\TestCase; -use Cake\View\JsonView; /** * JsonViewTest diff --git a/tests/TestCase/View/ViewVarsTraitTest.php b/tests/TestCase/View/ViewVarsTraitTest.php index f226feed7d5..4ca3bfcc833 100644 --- a/tests/TestCase/View/ViewVarsTraitTest.php +++ b/tests/TestCase/View/ViewVarsTraitTest.php @@ -15,7 +15,6 @@ use Cake\Controller\Controller; use Cake\TestSuite\TestCase; -use Cake\View\ViewVarsTrait; /** * ViewVarsTrait test case diff --git a/tests/TestCase/View/XmlViewTest.php b/tests/TestCase/View/XmlViewTest.php index ff3b8f1ecc0..41432c955f4 100644 --- a/tests/TestCase/View/XmlViewTest.php +++ b/tests/TestCase/View/XmlViewTest.php @@ -17,13 +17,11 @@ namespace Cake\Test\TestCase\View; use Cake\Controller\Controller; -use Cake\Core\App; use Cake\Core\Configure; use Cake\Network\Request; use Cake\Network\Response; use Cake\TestSuite\TestCase; use Cake\Utility\Xml; -use Cake\View\XmlView; /** * XmlViewTest diff --git a/tests/bootstrap.php b/tests/bootstrap.php index b85d4d12bfa..d2607a79f68 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -18,7 +18,6 @@ use Cake\Chronos\MutableDateTime; use Cake\Core\Configure; use Cake\Datasource\ConnectionManager; -use Cake\I18n\I18n; use Cake\Log\Log; require_once 'vendor/autoload.php';