} /**
* Should be called before tests that require a feature-complete intl
* implementation.
*
* @return void
*/
public static function requireFullIntl(TestCase
$testCase, string
$minimumIcuVersion = null
) { // We only run tests if the intl extension is loaded...
if (!Intl::
isExtensionLoaded()) { $testCase->
markTestSkipped('Extension intl is required.'
);
} self::
requireIntl($testCase,
$minimumIcuVersion);
// Consequently, tests will
//
// * run only for one ICU version (see Intl::getIcuStubVersion())
// there is no need to add control structures to your tests that
// change the test depending on the ICU version.
// * always use the C intl classes