Skip to content

Commit 088e610

Browse files
committed
Remove always-true requirement
1 parent 94a1d98 commit 088e610

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Tests/PropertyAccessorTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ public function testGetValueThrowsExceptionIfUninitializedProperty()
148148
$this->propertyAccessor->getValue(new UninitializedProperty(), 'uninitialized');
149149
}
150150

151-
/**
152-
* @requires PHP 7
153-
*/
154151
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetter()
155152
{
156153
$this->expectException(AccessException::class);
@@ -159,9 +156,6 @@ public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetter()
159156
$this->propertyAccessor->getValue(new UninitializedPrivateProperty(), 'uninitialized');
160157
}
161158

162-
/**
163-
* @requires PHP 7
164-
*/
165159
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass()
166160
{
167161
$this->expectException(AccessException::class);
@@ -179,9 +173,6 @@ public function getUninitialized(): array
179173
$this->propertyAccessor->getValue($object, 'uninitialized');
180174
}
181175

182-
/**
183-
* @requires PHP 7
184-
*/
185176
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass()
186177
{
187178
$this->expectException(AccessException::class);
@@ -199,9 +190,6 @@ public function getUninitialized(): array
199190
$this->propertyAccessor->getValue($object, 'uninitialized');
200191
}
201192

202-
/**
203-
* @requires PHP 7
204-
*/
205193
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass()
206194
{
207195
$this->expectException(AccessException::class);

0 commit comments

Comments
 (0)