Remove php <7.1 code

This commit is contained in:
Robin Chalas 2017-08-30 23:53:09 +02:00
parent edb8c33f35
commit fa3ab1fac8
2 changed files with 0 additions and 19 deletions

View File

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

View File

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