diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index 896beb68cd..840213b042 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -1137,9 +1137,6 @@ class ApplicationTest extends TestCase $this->assertContains('before.error.after.', $tester->getDisplay()); } - /** - * @requires PHP 7 - */ public function testRunWithError() { $application = new Application(); @@ -1230,7 +1227,6 @@ class ApplicationTest extends TestCase } /** - * @requires PHP 7 * @expectedException \LogicException * @expectedExceptionMessage error */ @@ -1252,9 +1248,6 @@ class ApplicationTest extends TestCase $this->assertContains('before.dym.error.after.', $tester->getDisplay(), 'The PHP Error did not dispached events'); } - /** - * @requires PHP 7 - */ public function testRunDispatchesAllEventsWithError() { $application = new Application(); @@ -1272,9 +1265,6 @@ class ApplicationTest extends TestCase $this->assertContains('before.dym.error.after.', $tester->getDisplay(), 'The PHP Error did not dispached events'); } - /** - * @requires PHP 7 - */ public function testRunWithErrorFailingStatusCode() { $application = new Application(); diff --git a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php index b8356500a5..7e8f6cbd82 100644 --- a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php +++ b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php @@ -581,9 +581,6 @@ class PropertyAccessorTest extends TestCase $this->propertyAccessor->setValue($object, 'countable', 'This is a string, \Countable expected.'); } - /** - * @requires PHP 7.0 - */ public function testAnonymousClassRead() { $value = 'bar'; @@ -595,9 +592,6 @@ class PropertyAccessorTest extends TestCase $this->assertEquals($value, $propertyAccessor->getValue($obj, 'foo')); } - /** - * @requires PHP 7.0 - */ public function testAnonymousClassWrite() { $value = 'bar'; @@ -642,7 +636,6 @@ class PropertyAccessorTest extends TestCase } /** - * @requires PHP 7.0 * @expectedException \TypeError */ public function testThrowTypeErrorInsideSetterCall() @@ -653,8 +646,6 @@ class PropertyAccessorTest extends TestCase } /** - * @requires PHP 7 - * * @expectedException \TypeError */ public function testDoNotDiscardReturnTypeError()