Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getIcuDataVersion example
$this
->
assertTrue
(
Intl::
isExtensionLoaded
(
)
)
;
}
public
function
testGetIcuVersionReadsTheVersionOfInstalledIcuLibrary
(
)
{
$this
->
assertStringMatchesFormat
(
'%d.%d', Intl::
getIcuVersion
(
)
)
;
}
public
function
testGetIcuDataVersionReadsTheVersionOfInstalledIcuData
(
)
{
$this
->
assertStringMatchesFormat
(
'%d.%d', Intl::
getIcuDataVersion
(
)
)
;
}
public
function
testGetIcuStubVersionReadsTheVersionOfBundledStubs
(
)
{
$this
->
assertStringMatchesFormat
(
'%d.%d', Intl::
getIcuStubVersion
(
)
)
;
}
public
function
testGetDataDirectoryReturnsThePathToIcuData
(
)
{
$this
->
assertDirectoryExists
(
Intl::
getDataDirectory
(
)
)
;
}
}