diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2021-12-29 16:52:43 +0300 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2021-12-29 16:52:43 +0300 |
commit | d66b0426a8f951a05de3b0b7b1df082677d16b60 (patch) | |
tree | e7c38984e53c56fd8cdfc98ef0a432778c3692b6 /ui | |
parent | ce6c63bca5581daa6296bf91df5d3f880c3ad409 (diff) |
.......... [ZBXNEXT-686] removed unnecessary "use" keyword
Diffstat (limited to 'ui')
29 files changed, 1 insertions, 57 deletions
diff --git a/ui/tests/unit/include/classes/html/CButtonTest.php b/ui/tests/unit/include/classes/html/CButtonTest.php index e0d0be6c039..906b7f2efb0 100644 --- a/ui/tests/unit/include/classes/html/CButtonTest.php +++ b/ui/tests/unit/include/classes/html/CButtonTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CButtonTest extends CTagTest { public function constructProvider() { diff --git a/ui/tests/unit/include/classes/html/CRedirectButtonTest.php b/ui/tests/unit/include/classes/html/CRedirectButtonTest.php index 172b816e8c6..bfa2785f08a 100644 --- a/ui/tests/unit/include/classes/html/CRedirectButtonTest.php +++ b/ui/tests/unit/include/classes/html/CRedirectButtonTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CRedirectButtonTest extends CTagTest { public function constructProvider() { diff --git a/ui/tests/unit/include/classes/html/CRowTest.php b/ui/tests/unit/include/classes/html/CRowTest.php index 5128560c68f..4e941f84679 100644 --- a/ui/tests/unit/include/classes/html/CRowTest.php +++ b/ui/tests/unit/include/classes/html/CRowTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CRowTest extends CTagTest { public function constructProvider() { diff --git a/ui/tests/unit/include/classes/html/CSimpleButtonTest.php b/ui/tests/unit/include/classes/html/CSimpleButtonTest.php index 5413895abf3..8aac1b841d1 100644 --- a/ui/tests/unit/include/classes/html/CSimpleButtonTest.php +++ b/ui/tests/unit/include/classes/html/CSimpleButtonTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CSimpleButtonTest extends CTagTest { public function constructProvider() { diff --git a/ui/tests/unit/include/classes/html/CSubmitButtonTest.php b/ui/tests/unit/include/classes/html/CSubmitButtonTest.php index fb78dfdd965..01d743b5627 100644 --- a/ui/tests/unit/include/classes/html/CSubmitButtonTest.php +++ b/ui/tests/unit/include/classes/html/CSubmitButtonTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CSubmitButtonTest extends CTagTest { public function constructProvider() { diff --git a/ui/tests/unit/include/classes/html/CSubmitTest.php b/ui/tests/unit/include/classes/html/CSubmitTest.php index 2d0d3c88345..b205ae3691d 100644 --- a/ui/tests/unit/include/classes/html/CSubmitTest.php +++ b/ui/tests/unit/include/classes/html/CSubmitTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CSubmitTest extends CTagTest { public function constructProvider() { diff --git a/ui/tests/unit/include/classes/import/converters/C10ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C10ImportConverterTest.php index a95be7ecd3f..c1f9d44842d 100644 --- a/ui/tests/unit/include/classes/import/converters/C10ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C10ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C10ImportConverterTest extends CImportConverterTest { public function testTemplateSeparation() { diff --git a/ui/tests/unit/include/classes/import/converters/C20ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C20ImportConverterTest.php index b23ea65bdcf..f98ead49c82 100644 --- a/ui/tests/unit/include/classes/import/converters/C20ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C20ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C20ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/import/converters/C30ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C30ImportConverterTest.php index 8cd9151327d..080ad7f66fa 100644 --- a/ui/tests/unit/include/classes/import/converters/C30ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C30ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C30ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/import/converters/C32ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C32ImportConverterTest.php index 9a0b3dd781f..0ccc38e0c9f 100644 --- a/ui/tests/unit/include/classes/import/converters/C32ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C32ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C32ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/import/converters/C34ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C34ImportConverterTest.php index 43d93c504e7..233b66cc74e 100644 --- a/ui/tests/unit/include/classes/import/converters/C34ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C34ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C34ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/import/converters/C40ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C40ImportConverterTest.php index 0fd65747e22..54a3ee72dee 100644 --- a/ui/tests/unit/include/classes/import/converters/C40ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C40ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C40ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/import/converters/C42ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C42ImportConverterTest.php index d3dc7a7ac0d..849d5e07e09 100644 --- a/ui/tests/unit/include/classes/import/converters/C42ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C42ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C42ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/import/converters/C44ImportConverterTest.php b/ui/tests/unit/include/classes/import/converters/C44ImportConverterTest.php index 3d75f934e94..43bfb4f3c89 100644 --- a/ui/tests/unit/include/classes/import/converters/C44ImportConverterTest.php +++ b/ui/tests/unit/include/classes/import/converters/C44ImportConverterTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C44ImportConverterTest extends CImportConverterTest { public function dataProviderConvert() { diff --git a/ui/tests/unit/include/classes/parsers/C10FunctionMacroParserTest.php b/ui/tests/unit/include/classes/parsers/C10FunctionMacroParserTest.php index b4802b58af5..50a346c6267 100644 --- a/ui/tests/unit/include/classes/parsers/C10FunctionMacroParserTest.php +++ b/ui/tests/unit/include/classes/parsers/C10FunctionMacroParserTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class C10FunctionMacroParserTest extends CParserTest { protected function getParser() { diff --git a/ui/tests/unit/include/classes/parsers/CFunctionIdParserTest.php b/ui/tests/unit/include/classes/parsers/CFunctionIdParserTest.php index 25f94b68928..132392aa984 100644 --- a/ui/tests/unit/include/classes/parsers/CFunctionIdParserTest.php +++ b/ui/tests/unit/include/classes/parsers/CFunctionIdParserTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CFunctionIdParserTest extends CParserTest { protected function getParser() { diff --git a/ui/tests/unit/include/classes/parsers/CLLDMacroFunctionParserTest.php b/ui/tests/unit/include/classes/parsers/CLLDMacroFunctionParserTest.php index 279821f9701..28ec87475c8 100644 --- a/ui/tests/unit/include/classes/parsers/CLLDMacroFunctionParserTest.php +++ b/ui/tests/unit/include/classes/parsers/CLLDMacroFunctionParserTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CLLDMacroFunctionParserTest extends CParserTest { protected function getParser() { diff --git a/ui/tests/unit/include/classes/parsers/CLLDMacroParserTest.php b/ui/tests/unit/include/classes/parsers/CLLDMacroParserTest.php index 0be3f3f2aff..70c58ab7708 100644 --- a/ui/tests/unit/include/classes/parsers/CLLDMacroParserTest.php +++ b/ui/tests/unit/include/classes/parsers/CLLDMacroParserTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CLLDMacroParserTest extends CParserTest { protected function getParser() { diff --git a/ui/tests/unit/include/classes/parsers/CReferenceParserTest.php b/ui/tests/unit/include/classes/parsers/CReferenceParserTest.php index 52f3d88b3b3..3a4e7f4e296 100644 --- a/ui/tests/unit/include/classes/parsers/CReferenceParserTest.php +++ b/ui/tests/unit/include/classes/parsers/CReferenceParserTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CReferenceParserTest extends CParserTest { protected function getParser() { diff --git a/ui/tests/unit/include/classes/parsers/CSetParserTest.php b/ui/tests/unit/include/classes/parsers/CSetParserTest.php index a78d7dd3181..600bf79e5f6 100644 --- a/ui/tests/unit/include/classes/parsers/CSetParserTest.php +++ b/ui/tests/unit/include/classes/parsers/CSetParserTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CSetParserTest extends CParserTest { protected function getParser() { diff --git a/ui/tests/unit/include/classes/validators/CActionCondValidatorTest.php b/ui/tests/unit/include/classes/validators/CActionCondValidatorTest.php index bd4d7e2a151..8d0e322a057 100644 --- a/ui/tests/unit/include/classes/validators/CActionCondValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CActionCondValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CActionCondValidatorTest extends CValidatorTest { public function dataProviderValidParam() { diff --git a/ui/tests/unit/include/classes/validators/CCollectionValidatorTest.php b/ui/tests/unit/include/classes/validators/CCollectionValidatorTest.php index 536de1c0199..389d1202beb 100644 --- a/ui/tests/unit/include/classes/validators/CCollectionValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CCollectionValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CCollectionValidatorTest extends CValidatorTest { public function dataProviderValidParam() { diff --git a/ui/tests/unit/include/classes/validators/CColorValidatorTest.php b/ui/tests/unit/include/classes/validators/CColorValidatorTest.php index 3ec1bfc37c1..3ca1b4da420 100644 --- a/ui/tests/unit/include/classes/validators/CColorValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CColorValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CColorValidatorTest extends CValidatorTest { public function dataProviderValidParam() { diff --git a/ui/tests/unit/include/classes/validators/CEventCorrCondValidatorTest.php b/ui/tests/unit/include/classes/validators/CEventCorrCondValidatorTest.php index c422a58f833..9bf2ea9a4bb 100644 --- a/ui/tests/unit/include/classes/validators/CEventCorrCondValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CEventCorrCondValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CEventCorrCondValidatorTest extends CValidatorTest { public function dataProviderValidParam() { diff --git a/ui/tests/unit/include/classes/validators/CIdValidatorTest.php b/ui/tests/unit/include/classes/validators/CIdValidatorTest.php index 68debb80e57..0cf93207103 100644 --- a/ui/tests/unit/include/classes/validators/CIdValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CIdValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CIdValidatorTest extends CValidatorTest { public function dataProviderValidParam() { diff --git a/ui/tests/unit/include/classes/validators/CLdapAuthValidatorTest.php b/ui/tests/unit/include/classes/validators/CLdapAuthValidatorTest.php index 8b0346ec6e4..61f2d785e17 100644 --- a/ui/tests/unit/include/classes/validators/CLdapAuthValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CLdapAuthValidatorTest.php @@ -18,11 +18,10 @@ ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **/ + /** * @incomplete */ -use PHPUnit\Framework\TestCase; - class CLdapAuthValidatorTest extends CValidatorTest { protected function setUp(): void { diff --git a/ui/tests/unit/include/classes/validators/CLimitedSetValidatorTest.php b/ui/tests/unit/include/classes/validators/CLimitedSetValidatorTest.php index af4c1d4a449..969b74c9b82 100644 --- a/ui/tests/unit/include/classes/validators/CLimitedSetValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CLimitedSetValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CLimitedSetValidatorTest extends CValidatorTest { public function dataProviderValidParam() { diff --git a/ui/tests/unit/include/classes/validators/CRegexValidatorTest.php b/ui/tests/unit/include/classes/validators/CRegexValidatorTest.php index 5a0146aad8b..3942ac0529e 100644 --- a/ui/tests/unit/include/classes/validators/CRegexValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CRegexValidatorTest.php @@ -18,7 +18,6 @@ ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **/ -use PHPUnit\Framework\TestCase; class CRegexValidatorTest extends CValidatorTest { diff --git a/ui/tests/unit/include/classes/validators/CStringValidatorTest.php b/ui/tests/unit/include/classes/validators/CStringValidatorTest.php index bdd18ba4898..3ace147c046 100644 --- a/ui/tests/unit/include/classes/validators/CStringValidatorTest.php +++ b/ui/tests/unit/include/classes/validators/CStringValidatorTest.php @@ -19,8 +19,6 @@ **/ -use PHPUnit\Framework\TestCase; - class CStringValidatorTest extends CValidatorTest { public function dataProviderValidParam() { |