Remove always-true requirement

This commit is contained in:
Jérémy Derussé 2021-05-19 22:45:21 +02:00
parent 616b2c9fdb
commit 5783800e8f
No known key found for this signature in database
GPG Key ID: 2083FA5758C473D2
2 changed files with 0 additions and 18 deletions

View File

@ -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);

View File

@ -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);