Merge branch '4.4' into 5.2
* 4.4: Remove always-true requirement
This commit is contained in:
commit
4bdc0f48cc
@ -122,9 +122,6 @@ class SessionHandlerProxyTest extends TestCase
|
|||||||
$this->proxy->gc(86400);
|
$this->proxy->gc(86400);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHPUnit 5.1
|
|
||||||
*/
|
|
||||||
public function testValidateId()
|
public function testValidateId()
|
||||||
{
|
{
|
||||||
$mock = $this->createMock(TestSessionHandler::class);
|
$mock = $this->createMock(TestSessionHandler::class);
|
||||||
@ -137,9 +134,6 @@ class SessionHandlerProxyTest extends TestCase
|
|||||||
$this->assertTrue($this->proxy->validateId('id'));
|
$this->assertTrue($this->proxy->validateId('id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHPUnit 5.1
|
|
||||||
*/
|
|
||||||
public function testUpdateTimestamp()
|
public function testUpdateTimestamp()
|
||||||
{
|
{
|
||||||
$mock = $this->createMock(TestSessionHandler::class);
|
$mock = $this->createMock(TestSessionHandler::class);
|
||||||
|
@ -157,9 +157,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue(new UninitializedPrivateProperty(), 'uninitialized');
|
$this->propertyAccessor->getValue(new UninitializedPrivateProperty(), 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
@ -177,9 +174,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue($object, 'uninitialized');
|
$this->propertyAccessor->getValue($object, 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
@ -197,9 +191,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue($object, 'uninitialized');
|
$this->propertyAccessor->getValue($object, 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
|
Reference in New Issue
Block a user