fixed CS
This commit is contained in:
parent
acc10a1518
commit
2da97c1a2f
@ -89,13 +89,13 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
protected function normalizeIcuVersion($version)
|
protected function normalizeIcuVersion($version)
|
||||||
{
|
{
|
||||||
$versionIds = explode(".", $version);
|
$versionIds = explode('.', $version);
|
||||||
|
|
||||||
$multi = 1000;
|
$multi = 1000;
|
||||||
$intVersion = 0;
|
$intVersion = 0;
|
||||||
foreach ($versionIds as $id) {
|
foreach ($versionIds as $id) {
|
||||||
$intVersion += $id * $multi;
|
$intVersion += $id * $multi;
|
||||||
$multi = $multi/10;
|
$multi = $multi / 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (int) $intVersion;
|
return (int) $intVersion;
|
||||||
|
Reference in New Issue
Block a user