Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f8d787

Browse filesBrowse files
minor #46251 [RateLimiter] Fix CI on PHP 8.2 (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- [RateLimiter] Fix CI on PHP 8.2 | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 8d22839 [RateLimiter] Fix CI on PHP 8.2
2 parents c25a7f5 + 8d22839 commit 4f8d787
Copy full SHA for 4f8d787

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/RateLimiter/Tests/Policy/RateTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/RateTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testFromString(Rate $rate)
2626

2727
public function provideRate(): iterable
2828
{
29-
yield [new Rate(\DateInterval::createFromDateString('15 seconds'), 10)];
29+
yield [new Rate(new \DateInterval('PT15S'), 10)];
3030
yield [Rate::perSecond(10)];
3131
yield [Rate::perMinute(10)];
3232
yield [Rate::perHour(10)];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.