From 4d6a540a2bb2331a2bdb8bdc5ab90122eacd0af9 Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Thu, 17 Aug 2017 18:49:42 +0200 Subject: [PATCH] remove unused namespaces --- src/I18n/Formatter/IcuFormatter.php | 1 - src/I18n/Formatter/SprintfFormatter.php | 1 - src/I18n/Translator.php | 1 - tests/TestCase/Http/ControllerFactoryTest.php | 1 - .../test_app/Plugin/TestPlugin/src/Log/Engine/TestPluginLog.php | 1 - tests/test_app/TestApp/Controller/CakesController.php | 1 - tests/test_app/TestApp/Controller/PostsController.php | 1 - tests/test_app/TestApp/Model/Behavior/SluggableBehavior.php | 1 - tests/test_app/TestApp/Model/Table/PaginatorPostsTable.php | 1 - 9 files changed, 9 deletions(-) diff --git a/src/I18n/Formatter/IcuFormatter.php b/src/I18n/Formatter/IcuFormatter.php index c3e0cf644b6..a5d464447f0 100644 --- a/src/I18n/Formatter/IcuFormatter.php +++ b/src/I18n/Formatter/IcuFormatter.php @@ -17,7 +17,6 @@ use Aura\Intl\Exception\CannotFormat; use Aura\Intl\Exception\CannotInstantiateFormatter; use Aura\Intl\FormatterInterface; -use Cake\I18n\PluralRules; use MessageFormatter; /** diff --git a/src/I18n/Formatter/SprintfFormatter.php b/src/I18n/Formatter/SprintfFormatter.php index ab069dc2975..2cb8d5dc301 100644 --- a/src/I18n/Formatter/SprintfFormatter.php +++ b/src/I18n/Formatter/SprintfFormatter.php @@ -15,7 +15,6 @@ namespace Cake\I18n\Formatter; use Aura\Intl\FormatterInterface; -use Cake\I18n\PluralRules; /** * A formatter that will interpolate variables using sprintf and diff --git a/src/I18n/Translator.php b/src/I18n/Translator.php index 294e74748de..86c778b4a0e 100644 --- a/src/I18n/Translator.php +++ b/src/I18n/Translator.php @@ -23,7 +23,6 @@ use Aura\Intl\FormatterInterface; use Aura\Intl\Package; use Aura\Intl\TranslatorInterface; -use Cake\I18n\PluralRules; /** * Provides missing message behavior for CakePHP internal message formats. diff --git a/tests/TestCase/Http/ControllerFactoryTest.php b/tests/TestCase/Http/ControllerFactoryTest.php index 8bc941df9ff..f82caad146c 100644 --- a/tests/TestCase/Http/ControllerFactoryTest.php +++ b/tests/TestCase/Http/ControllerFactoryTest.php @@ -15,7 +15,6 @@ namespace Cake\Test\TestCase\Http; use Cake\Http\ControllerFactory; -use Cake\Http\Response; use Cake\Http\ServerRequest; use Cake\TestSuite\TestCase; diff --git a/tests/test_app/Plugin/TestPlugin/src/Log/Engine/TestPluginLog.php b/tests/test_app/Plugin/TestPlugin/src/Log/Engine/TestPluginLog.php index 5ad7b499b67..a16beb5e864 100644 --- a/tests/test_app/Plugin/TestPlugin/src/Log/Engine/TestPluginLog.php +++ b/tests/test_app/Plugin/TestPlugin/src/Log/Engine/TestPluginLog.php @@ -14,7 +14,6 @@ */ namespace TestPlugin\Log\Engine; -use Cake\Log\LogInterface; use Psr\Log\AbstractLogger; /** diff --git a/tests/test_app/TestApp/Controller/CakesController.php b/tests/test_app/TestApp/Controller/CakesController.php index 57eaaa143e5..1bcdd2dbc26 100644 --- a/tests/test_app/TestApp/Controller/CakesController.php +++ b/tests/test_app/TestApp/Controller/CakesController.php @@ -2,7 +2,6 @@ namespace TestApp\Controller; use Cake\Controller\Controller; -use Cake\Network\Exception\NotFoundException; /** * CakesController class diff --git a/tests/test_app/TestApp/Controller/PostsController.php b/tests/test_app/TestApp/Controller/PostsController.php index 91701661245..63608a7cb98 100644 --- a/tests/test_app/TestApp/Controller/PostsController.php +++ b/tests/test_app/TestApp/Controller/PostsController.php @@ -15,7 +15,6 @@ namespace TestApp\Controller; use Cake\Event\Event; -use TestApp\Controller\AppController; /** * PostsController class diff --git a/tests/test_app/TestApp/Model/Behavior/SluggableBehavior.php b/tests/test_app/TestApp/Model/Behavior/SluggableBehavior.php index 3157bdcbb1d..19dbf55b69d 100644 --- a/tests/test_app/TestApp/Model/Behavior/SluggableBehavior.php +++ b/tests/test_app/TestApp/Model/Behavior/SluggableBehavior.php @@ -21,7 +21,6 @@ use Cake\Event\Event; use Cake\ORM\Behavior; use Cake\ORM\Query; -use Cake\ORM\Table; use Cake\Utility\Inflector; class SluggableBehavior extends Behavior diff --git a/tests/test_app/TestApp/Model/Table/PaginatorPostsTable.php b/tests/test_app/TestApp/Model/Table/PaginatorPostsTable.php index 37eab7b8106..4755c6ad8ec 100644 --- a/tests/test_app/TestApp/Model/Table/PaginatorPostsTable.php +++ b/tests/test_app/TestApp/Model/Table/PaginatorPostsTable.php @@ -15,7 +15,6 @@ use Cake\ORM\Query; use Cake\ORM\Table; -use Cake\Utility\Hash; /** * PaginatorPostsTable class