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)
This commit is contained in:
commit
7be944a787
@ -66,7 +66,7 @@ class ClockMock
|
||||
return self::$now;
|
||||
}
|
||||
|
||||
return sprintf("%0.6f %d\n", self::$now - (int) self::$now, (int) self::$now);
|
||||
return sprintf('%0.6f %d', self::$now - (int) self::$now, (int) self::$now);
|
||||
}
|
||||
|
||||
public static function register($class)
|
||||
|
Reference in New Issue
Block a user