10000 minor #41297 Remove always-true requirement (jderusse) · symfony/symfony@e955a1e · GitHub
[go: up one dir, main page]

Skip to content

Commit e955a1e

Browse files
committed
minor #41297 Remove always-true requirement (jderusse)
This PR was merged into the 4.4 branch. Discussion ---------- Remove always-true requirement | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This requirement is always true for our version constraint Commits ------- 5783800 Remove always-true requirement
2 parents 36238a4 + 5783800 commit e955a1e

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