Skip to content

Commit 81f5342

Browse files
committed
Merge remote-tracking branch 'origin/2.6' into 2.7
Conflicts: src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php src/Symfony/Component/Validator/Constraints/EmailValidator.php
2 parents d1c8351 + eeab366 commit 81f5342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Resource/DirectoryResourceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function testIsFresh()
6969
$this->assertTrue($resource->isFresh(time() + 10), '->isFresh() returns true if the resource has not changed');
7070
$this->assertFalse($resource->isFresh(time() - 86400), '->isFresh() returns false if the resource has been updated');
7171

72-
$resource = new DirectoryResource('/____foo/foobar'.rand(1, 999999));
72+
$resource = new DirectoryResource('/____foo/foobar'.mt_rand(1, 999999));
7373
$this->assertFalse($resource->isFresh(time()), '->isFresh() returns false if the resource does not exist');
7474
}
7575

Tests/Resource/FileResourceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testIsFresh()
4848
$this->assertTrue($this->resource->isFresh($this->time + 10), '->isFresh() returns true if the resource has not changed');
4949
$this->assertFalse($this->resource->isFresh($this->time - 86400), '->isFresh() returns false if the resource has been updated');
5050

51-
$resource = new FileResource('/____foo/foobar'.rand(1, 999999));
51+
$resource = new FileResource('/____foo/foobar'.mt_rand(1, 999999));
5252
$this->assertFalse($resource->isFresh($this->time), '->isFresh() returns false if the resource does not exist');
5353
}
5454

0 commit comments

Comments
 (0)