From a453e8f20102f9342adfd7bb5946e8204ffe8b31 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sun, 11 Jan 2015 20:56:59 +0100 Subject: [PATCH] #7095 - removing useless require annotations: already defined in `composer.json` --- tests/ZendTest/EventManager/EventManagerAwareTraitTest.php | 3 --- tests/ZendTest/EventManager/ListenerAggregateTraitTest.php | 3 --- tests/ZendTest/Form/FormFactoryAwareTraitTest.php | 3 --- tests/ZendTest/I18n/Translator/TranslatorAwareTraitTest.php | 3 --- tests/ZendTest/InputFilter/InputFilterAwareTraitTest.php | 3 --- tests/ZendTest/Json/TestAsset/JsonSerializableBuiltinImpl.php | 2 -- tests/ZendTest/Log/LoggerAwareTraitTest.php | 3 --- .../ServiceManager/MutableCreationOptionsTraitTest.php | 3 --- tests/ZendTest/ServiceManager/ServiceLocatorAwareTraitTest.php | 1 - .../ZendTest/Stdlib/Guard/ArrayOrTraversableGuardTraitTest.php | 1 - tests/ZendTest/Stdlib/Guard/EmptyGuardTraitTest.php | 1 - tests/ZendTest/Stdlib/Guard/NullGuardTraitTest.php | 1 - tests/ZendTest/Stdlib/Hydrator/HydratorAwareTraitTest.php | 3 --- 13 files changed, 30 deletions(-) diff --git a/tests/ZendTest/EventManager/EventManagerAwareTraitTest.php b/tests/ZendTest/EventManager/EventManagerAwareTraitTest.php index 7344cca6afb..d553bb60e92 100644 --- a/tests/ZendTest/EventManager/EventManagerAwareTraitTest.php +++ b/tests/ZendTest/EventManager/EventManagerAwareTraitTest.php @@ -12,9 +12,6 @@ use PHPUnit_Framework_TestCase as TestCase; use Zend\EventManager\EventManager; -/** - * @requires PHP 5.4 - */ class EventManagerAwareTraitTest extends TestCase { public function testSetEventManager() diff --git a/tests/ZendTest/EventManager/ListenerAggregateTraitTest.php b/tests/ZendTest/EventManager/ListenerAggregateTraitTest.php index cd742587767..334278c18d3 100644 --- a/tests/ZendTest/EventManager/ListenerAggregateTraitTest.php +++ b/tests/ZendTest/EventManager/ListenerAggregateTraitTest.php @@ -11,9 +11,6 @@ use ZendTest\EventManager\TestAsset\MockListenerAggregateTrait; -/** - * @requires PHP 5.4 - */ class ListenerAggregateTraitTest extends \PHPUnit_Framework_TestCase { /** diff --git a/tests/ZendTest/Form/FormFactoryAwareTraitTest.php b/tests/ZendTest/Form/FormFactoryAwareTraitTest.php index daf56005c03..62333191b91 100644 --- a/tests/ZendTest/Form/FormFactoryAwareTraitTest.php +++ b/tests/ZendTest/Form/FormFactoryAwareTraitTest.php @@ -12,9 +12,6 @@ use PHPUnit_Framework_TestCase as TestCase; use Zend\Form\Factory; -/** - * @requires PHP 5.4 - */ class FormFactoryAwareTraitTest extends TestCase { public function testSetFormFactory() diff --git a/tests/ZendTest/I18n/Translator/TranslatorAwareTraitTest.php b/tests/ZendTest/I18n/Translator/TranslatorAwareTraitTest.php index ae857b07287..19355d0c22d 100644 --- a/tests/ZendTest/I18n/Translator/TranslatorAwareTraitTest.php +++ b/tests/ZendTest/I18n/Translator/TranslatorAwareTraitTest.php @@ -12,9 +12,6 @@ use PHPUnit_Framework_TestCase as TestCase; use Zend\I18n\Translator\Translator; -/** - * @requires PHP 5.4 - */ class TranslatorAwareTraitTest extends TestCase { public function testSetTranslator() diff --git a/tests/ZendTest/InputFilter/InputFilterAwareTraitTest.php b/tests/ZendTest/InputFilter/InputFilterAwareTraitTest.php index d4cc35e12cf..bf0d9d8d78d 100644 --- a/tests/ZendTest/InputFilter/InputFilterAwareTraitTest.php +++ b/tests/ZendTest/InputFilter/InputFilterAwareTraitTest.php @@ -12,9 +12,6 @@ use PHPUnit_Framework_TestCase as TestCase; use Zend\InputFilter\InputFilter; -/** - * @requires PHP 5.4 - */ class InputFilterAwareTraitTest extends TestCase { public function testSetInputFilter() diff --git a/tests/ZendTest/Json/TestAsset/JsonSerializableBuiltinImpl.php b/tests/ZendTest/Json/TestAsset/JsonSerializableBuiltinImpl.php index 704419f4916..a574c00ba04 100644 --- a/tests/ZendTest/Json/TestAsset/JsonSerializableBuiltinImpl.php +++ b/tests/ZendTest/Json/TestAsset/JsonSerializableBuiltinImpl.php @@ -14,8 +14,6 @@ /** * Implementation of the built-in JsonSerializable interface. - * - * This asset will not work in PHP <5.4.0. */ class JsonSerializableBuiltinImpl implements JsonSerializable { diff --git a/tests/ZendTest/Log/LoggerAwareTraitTest.php b/tests/ZendTest/Log/LoggerAwareTraitTest.php index 4714675c35a..ef47da14cdf 100644 --- a/tests/ZendTest/Log/LoggerAwareTraitTest.php +++ b/tests/ZendTest/Log/LoggerAwareTraitTest.php @@ -12,9 +12,6 @@ use PHPUnit_Framework_TestCase as TestCase; use Zend\Log\Logger; -/** - * @requires PHP 5.4 - */ class LoggerAwareTraitTest extends TestCase { public function testSetLogger() diff --git a/tests/ZendTest/ServiceManager/MutableCreationOptionsTraitTest.php b/tests/ZendTest/ServiceManager/MutableCreationOptionsTraitTest.php index 0c67b5ab004..6ba63bac245 100644 --- a/tests/ZendTest/ServiceManager/MutableCreationOptionsTraitTest.php +++ b/tests/ZendTest/ServiceManager/MutableCreationOptionsTraitTest.php @@ -11,9 +11,6 @@ use PHPUnit_Framework_TestCase as TestCase; -/** - * @requires PHP 5.4.0 - */ class MutableCreationOptionsTraitTest extends TestCase { protected $stub; diff --git a/tests/ZendTest/ServiceManager/ServiceLocatorAwareTraitTest.php b/tests/ZendTest/ServiceManager/ServiceLocatorAwareTraitTest.php index a135d25b38f..8bdae845753 100644 --- a/tests/ZendTest/ServiceManager/ServiceLocatorAwareTraitTest.php +++ b/tests/ZendTest/ServiceManager/ServiceLocatorAwareTraitTest.php @@ -13,7 +13,6 @@ use Zend\ServiceManager\ServiceManager; /** - * @requires PHP 5.4 * @group Zend_ServiceManager */ class ServiceLocatorAwareTraitTest extends TestCase diff --git a/tests/ZendTest/Stdlib/Guard/ArrayOrTraversableGuardTraitTest.php b/tests/ZendTest/Stdlib/Guard/ArrayOrTraversableGuardTraitTest.php index 3fb1e9473bf..b478b391376 100644 --- a/tests/ZendTest/Stdlib/Guard/ArrayOrTraversableGuardTraitTest.php +++ b/tests/ZendTest/Stdlib/Guard/ArrayOrTraversableGuardTraitTest.php @@ -14,7 +14,6 @@ use Zend\Stdlib\ArrayObject; /** - * @requires PHP 5.4 * @covers Zend\Stdlib\Guard\ArrayOrTraversableGuardTrait */ class ArrayOrTraversableGuardTraitTest extends TestCase diff --git a/tests/ZendTest/Stdlib/Guard/EmptyGuardTraitTest.php b/tests/ZendTest/Stdlib/Guard/EmptyGuardTraitTest.php index 01a8440656f..2161d9b2079 100644 --- a/tests/ZendTest/Stdlib/Guard/EmptyGuardTraitTest.php +++ b/tests/ZendTest/Stdlib/Guard/EmptyGuardTraitTest.php @@ -13,7 +13,6 @@ use ZendTest\Stdlib\TestAsset\GuardedObject; /** - * @requires PHP 5.4 * @covers Zend\Stdlib\Guard\EmptyGuardTrait */ class EmptyGuardTraitTest extends TestCase diff --git a/tests/ZendTest/Stdlib/Guard/NullGuardTraitTest.php b/tests/ZendTest/Stdlib/Guard/NullGuardTraitTest.php index 7c48ad3dd8c..e906ce66b50 100644 --- a/tests/ZendTest/Stdlib/Guard/NullGuardTraitTest.php +++ b/tests/ZendTest/Stdlib/Guard/NullGuardTraitTest.php @@ -13,7 +13,6 @@ use ZendTest\Stdlib\TestAsset\GuardedObject; /** - * @requires PHP 5.4 * @covers Zend\Stdlib\Guard\NullGuardTrait */ class NullGuardTraitTest extends TestCase diff --git a/tests/ZendTest/Stdlib/Hydrator/HydratorAwareTraitTest.php b/tests/ZendTest/Stdlib/Hydrator/HydratorAwareTraitTest.php index 1051d0fa78c..67ac4c1f66f 100644 --- a/tests/ZendTest/Stdlib/Hydrator/HydratorAwareTraitTest.php +++ b/tests/ZendTest/Stdlib/Hydrator/HydratorAwareTraitTest.php @@ -12,9 +12,6 @@ use PHPUnit_Framework_TestCase as TestCase; -/** - * @requires PHP 5.4 - */ class HydratorAwareTraitTest extends TestCase { public function testSetHydrator()