8000 Remove always-true requirement · symfony/symfony@5783800 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5783800

Browse files
committed
Remove always-true requirement
1 parent 616b2c9 commit 5783800

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ public function testGc()
122122
$this->proxy->gc(86400);
123123
}
124124

125-
/**
126-
* @requires PHPUnit 5.1
127-
*/
128125
public function testValidateId()
129126
{
130127
$mock = $this->createMock(TestSessionHandler::class);
@@ -137,9 +134,6 @@ public function testValidateId()
137134
$this->assertTrue($this->proxy->validateId('id'));
138135
}
139136

140-
/**
141-
* @requires PHPUnit 5.1
142-
*/
143137
public function testUpdateTimestamp()
144138
{
145139
$mock = $this->createMock(TestSessionHandler::class);

src/Symfony/Component/PropertyAccess/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)
0