8000 Remove php <7.1 code · symfony/property-access@3615254 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3615254

Browse files
author
Robin Chalas
committed
Remove php <7.1 code
1 parent 0da9ebd commit 3615254

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Tests/PropertyAccessorTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,6 @@ public function testThrowTypeErrorWithInterface()
581581
$this->propertyAccessor->setValue($object, 'countable', 'This is a string, \Countable expected.');
582582
}
583583

584-
/**
585-
* @requires PHP 7.0
586-
*/
587584
public function testAnonymousClassRead()
588585
{
589586
$value = 'bar';
@@ -595,9 +592,6 @@ public function testAnonymousClassRead()
595592
$this->assertEquals($value, $propertyAccessor->getValue($obj, 'foo'));
596593
}
597594

598-
/**
599-
* @requires PHP 7.0
600-
*/
601595
public function testAnonymousClassWrite()
602596
{
603597
$value = 'bar';
@@ -642,7 +636,6 @@ public function setFoo($foo)
642636
}
643637

644638
/**
645-
* @requires PHP 7.0
646639
* @expectedException \TypeError
647640
*/
648641
public function testThrowTypeErrorInsideSetterCall()
@@ -653,8 +646,6 @@ public function testThrowTypeErrorInsideSetterCall()
653646
}
654647

655648
/**
656-
* @requires PHP 7
657-
*
658649
* @expectedException \TypeError
659650
*/
660651
public function testDoNotDiscardReturnTypeError()

0 commit comments

Comments
 (0)
0