Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit7be944a

Browse files
bug#25072 [Bridge/PhpUnit] Remove trailing "\n" from ClockMock::microtime(false) (joky)
This PR was merged into the 2.8 branch.Discussion----------[Bridge/PhpUnit] Remove trailing "\n" from ClockMock::microtime(false)| Q | A| ------------- | ---| Branch? | 2.8| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#25050| License | MIT| Doc PR | -Commits-------5ddb121 [Bridge/PhpUnit] Remove trailing "\n" from ClockMock::microtime(false)
2 parentsc23adae +5ddb121 commit7be944a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bridge/PhpUnit/ClockMock.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function microtime($asFloat = false)
6666
returnself::$now;
6767
}
6868

69-
returnsprintf("%0.6f %d\n",self::$now - (int)self::$now, (int)self::$now);
69+
returnsprintf('%0.6f %d',self::$now - (int)self::$now, (int)self::$now);
7070
}
7171

7272
publicstaticfunctionregister($class)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp