From 5783800e8f0f49a24ad37c967690322ad75f8aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Wed, 19 May 2021 22:45:21 +0200 Subject: [PATCH] Remove always-true requirement --- .../Storage/Proxy/SessionHandlerProxyTest.php | 6 ------ .../PropertyAccess/Tests/PropertyAccessorTest.php | 12 ------------ 2 files changed, 18 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php index e323fc3987..27bf3e27a6 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php @@ -122,9 +122,6 @@ class SessionHandlerProxyTest extends TestCase $this->proxy->gc(86400); } - /** - * @requires PHPUnit 5.1 - */ public function testValidateId() { $mock = $this->createMock(TestSessionHandler::class); @@ -137,9 +134,6 @@ class SessionHandlerProxyTest extends TestCase $this->assertTrue($this->proxy->validateId('id')); } - /** - * @requires PHPUnit 5.1 - */ public function testUpdateTimestamp() { $mock = $this->createMock(TestSessionHandler::class); diff --git a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php index 147be206ff..6ca71798d9 100644 --- a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php +++ b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php @@ -148,9 +148,6 @@ class PropertyAccessorTest extends TestCase $this->propertyAccessor->getValue(new UninitializedProperty(), 'uninitialized'); } - /** - * @requires PHP 7 - */ public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetter() { $this->expectException(AccessException::class); @@ -159,9 +156,6 @@ class PropertyAccessorTest extends TestCase $this->propertyAccessor->getValue(new UninitializedPrivateProperty(), 'uninitialized'); } - /** - * @requires PHP 7 - */ public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass() { $this->expectException(AccessException::class); @@ -179,9 +173,6 @@ class PropertyAccessorTest extends TestCase $this->propertyAccessor->getValue($object, 'uninitialized'); } - /** - * @requires PHP 7 - */ public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass() { $this->expectException(AccessException::class); @@ -199,9 +190,6 @@ class PropertyAccessorTest extends TestCase $this->propertyAccessor->getValue($object, 'uninitialized'); } - /** - * @requires PHP 7 - */ public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass() { $this->expectException(AccessException::class);