From ee77ca63e8d804360e1d9ac05d2abadb976ba7d9 Mon Sep 17 00:00:00 2001 From: Corey Taylor Date: Wed, 8 Mar 2023 20:59:14 -0600 Subject: [PATCH] Fix remaining intl callmaps --- dictionaries/CallMap.php | 240 +++++++++--------- dictionaries/CallMap_80_delta.php | 4 + dictionaries/CallMap_historical.php | 240 +++++++++--------- .../Codebase/InternalCallMapHandlerTest.php | 116 --------- 4 files changed, 244 insertions(+), 356 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index 4fcfc2c3966..2e1191c8404 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -5735,8 +5735,8 @@ 'IntlBreakIterator::following' => ['int', 'offset'=>'int'], 'IntlBreakIterator::getErrorCode' => ['int'], 'IntlBreakIterator::getErrorMessage' => ['string'], -'IntlBreakIterator::getLocale' => ['string', 'locale_type'=>'string'], -'IntlBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'int'], +'IntlBreakIterator::getLocale' => ['string|false', 'type'=>'int'], +'IntlBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'type='=>'string'], 'IntlBreakIterator::getText' => ['?string'], 'IntlBreakIterator::isBoundary' => ['bool', 'offset'=>'int'], 'IntlBreakIterator::last' => ['int'], @@ -5750,8 +5750,8 @@ 'intlcal_clear' => ['bool', 'calendar'=>'IntlCalendar', 'field='=>'?int'], 'intlcal_create_instance' => ['?IntlCalendar', 'timezone='=>'mixed', 'locale='=>'?string'], 'intlcal_equals' => ['bool', 'calendar'=>'IntlCalendar', 'other'=>'IntlCalendar'], -'intlcal_field_difference' => ['int', 'calendar'=>'IntlCalendar', 'timestamp'=>'float', 'field'=>'int'], -'intlcal_from_date_time' => ['IntlCalendar', 'datetime'=>'DateTime|string'], +'intlcal_field_difference' => ['int|false', 'calendar'=>'IntlCalendar', 'timestamp'=>'float', 'field'=>'int'], +'intlcal_from_date_time' => ['?IntlCalendar', 'datetime'=>'DateTime|string', 'locale='=>'?string'], 'intlcal_get' => ['int|false', 'calendar'=>'IntlCalendar', 'field'=>'int'], 'intlcal_get_actual_maximum' => ['int', 'calendar'=>'IntlCalendar', 'field'=>'int'], 'intlcal_get_actual_minimum' => ['int', 'calendar'=>'IntlCalendar', 'field'=>'int'], @@ -5771,7 +5771,7 @@ 'intlcal_get_time' => ['float', 'calendar'=>'IntlCalendar'], 'intlcal_get_time_zone' => ['IntlTimeZone', 'calendar'=>'IntlCalendar'], 'intlcal_get_type' => ['string', 'calendar'=>'IntlCalendar'], -'intlcal_get_weekend_transition' => ['int', 'calendar'=>'IntlCalendar', 'dayOfWeek'=>'string'], +'intlcal_get_weekend_transition' => ['int|false', 'calendar'=>'IntlCalendar', 'dayOfWeek'=>'int'], 'intlcal_in_daylight_time' => ['bool', 'calendar'=>'IntlCalendar'], 'intlcal_is_equivalent_to' => ['bool', 'calendar'=>'IntlCalendar', 'other'=>'IntlCalendar'], 'intlcal_is_lenient' => ['bool', 'calendar'=>'IntlCalendar'], @@ -5782,20 +5782,20 @@ 'intlcal_set\'1' => ['bool', 'calendar'=>'IntlCalendar', 'year'=>'int', 'month'=>'int', 'dayOfMonth='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'intlcal_set_first_day_of_week' => ['bool', 'calendar'=>'IntlCalendar', 'dayOfWeek'=>'int'], 'intlcal_set_lenient' => ['bool', 'calendar'=>'IntlCalendar', 'lenient'=>'bool'], -'intlcal_set_repeated_wall_time_option' => ['bool', 'calendar'=>'IntlCalendar', 'option'=>'int'], -'intlcal_set_skipped_wall_time_option' => ['bool', 'calendar'=>'IntlCalendar', 'option'=>'int'], +'intlcal_set_repeated_wall_time_option' => ['true', 'calendar'=>'IntlCalendar', 'option'=>'int'], +'intlcal_set_skipped_wall_time_option' => ['true', 'calendar'=>'IntlCalendar', 'option'=>'int'], 'intlcal_set_time' => ['bool', 'calendar'=>'IntlCalendar', 'timestamp'=>'float'], 'intlcal_set_time_zone' => ['bool', 'calendar'=>'IntlCalendar', 'timezone'=>'mixed'], 'intlcal_to_date_time' => ['DateTime|false', 'calendar'=>'IntlCalendar'], 'IntlCalendar::__construct' => ['void'], -'IntlCalendar::add' => ['bool', 'field'=>'int', 'amount'=>'int'], +'IntlCalendar::add' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlCalendar::after' => ['bool', 'other'=>'IntlCalendar'], 'IntlCalendar::before' => ['bool', 'other'=>'IntlCalendar'], 'IntlCalendar::clear' => ['bool', 'field='=>'?int'], -'IntlCalendar::createInstance' => ['IntlCalendar', 'timeZone='=>'mixed', 'locale='=>'string'], +'IntlCalendar::createInstance' => ['?IntlCalendar', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'locale='=>'?string'], 'IntlCalendar::equals' => ['bool', 'other'=>'IntlCalendar'], -'IntlCalendar::fieldDifference' => ['int', 'when'=>'float', 'field'=>'int'], -'IntlCalendar::fromDateTime' => ['IntlCalendar', 'dateTime'=>'DateTime|string'], +'IntlCalendar::fieldDifference' => ['int|false', 'timestamp'=>'float', 'field'=>'int'], +'IntlCalendar::fromDateTime' => ['?IntlCalendar', 'datetime'=>'DateTime|string', 'locale='=>'?string'], 'IntlCalendar::get' => ['int', 'field'=>'int'], 'IntlCalendar::getActualMaximum' => ['int', 'field'=>'int'], 'IntlCalendar::getActualMinimum' => ['int', 'field'=>'int'], @@ -5805,9 +5805,9 @@ 'IntlCalendar::getErrorMessage' => ['string'], 'IntlCalendar::getFirstDayOfWeek' => ['int'], 'IntlCalendar::getGreatestMinimum' => ['int', 'field'=>'int'], -'IntlCalendar::getKeywordValuesForLocale' => ['Iterator|false', 'key'=>'string', 'locale'=>'string', 'commonlyUsed'=>'bool'], +'IntlCalendar::getKeywordValuesForLocale' => ['IntlIterator|false', 'keyword'=>'string', 'locale'=>'string', 'onlyCommon'=>'bool'], 'IntlCalendar::getLeastMaximum' => ['int', 'field'=>'int'], -'IntlCalendar::getLocale' => ['string', 'localeType'=>'int'], +'IntlCalendar::getLocale' => ['string|false', 'type'=>'int'], 'IntlCalendar::getMaximum' => ['int|false', 'field'=>'int'], 'IntlCalendar::getMinimalDaysInFirstWeek' => ['int'], 'IntlCalendar::getMinimum' => ['int', 'field'=>'int'], @@ -5817,82 +5817,82 @@ 'IntlCalendar::getTime' => ['float'], 'IntlCalendar::getTimeZone' => ['IntlTimeZone'], 'IntlCalendar::getType' => ['string'], -'IntlCalendar::getWeekendTransition' => ['int', 'dayOfWeek'=>'string'], +'IntlCalendar::getWeekendTransition' => ['int|false', 'dayOfWeek'=>'int'], 'IntlCalendar::inDaylightTime' => ['bool'], 'IntlCalendar::isEquivalentTo' => ['bool', 'other'=>'IntlCalendar'], 'IntlCalendar::isLenient' => ['bool'], 'IntlCalendar::isSet' => ['bool', 'field'=>'int'], -'IntlCalendar::isWeekend' => ['bool', 'date='=>'?float'], -'IntlCalendar::roll' => ['bool', 'field'=>'int', 'amountOrUpOrDown'=>'mixed'], +'IntlCalendar::isWeekend' => ['bool', 'timestamp='=>'?float'], +'IntlCalendar::roll' => ['bool', 'field'=>'int', 'value'=>'int|bool'], 'IntlCalendar::set' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlCalendar::set\'1' => ['bool', 'year'=>'int', 'month'=>'int', 'dayOfMonth='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'IntlCalendar::setFirstDayOfWeek' => ['bool', 'dayOfWeek'=>'int'], -'IntlCalendar::setLenient' => ['bool', 'isLenient'=>'string'], -'IntlCalendar::setMinimalDaysInFirstWeek' => ['bool', 'minimalDays'=>'int'], -'IntlCalendar::setRepeatedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], -'IntlCalendar::setSkippedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], -'IntlCalendar::setTime' => ['bool', 'date'=>'float'], -'IntlCalendar::setTimeZone' => ['bool', 'timeZone'=>'mixed'], +'IntlCalendar::setLenient' => ['true', 'lenient'=>'bool'], +'IntlCalendar::setMinimalDaysInFirstWeek' => ['bool', 'days'=>'int'], +'IntlCalendar::setRepeatedWallTimeOption' => ['true', 'option'=>'int'], +'IntlCalendar::setSkippedWallTimeOption' => ['true', 'option'=>'int'], +'IntlCalendar::setTime' => ['bool', 'timestamp'=>'float'], +'IntlCalendar::setTimeZone' => ['bool', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'], 'IntlCalendar::toDateTime' => ['DateTime|false'], -'IntlChar::charAge' => ['array', 'char'=>'int|string'], -'IntlChar::charDigitValue' => ['int', 'codepoint'=>'mixed'], -'IntlChar::charDirection' => ['int', 'codepoint'=>'mixed'], -'IntlChar::charFromName' => ['?int', 'name'=>'string', 'namechoice='=>'int'], -'IntlChar::charMirror' => ['mixed', 'codepoint'=>'mixed'], -'IntlChar::charName' => ['string', 'char'=>'int|string', 'namechoice='=>'int'], -'IntlChar::charType' => ['int', 'codepoint'=>'mixed'], -'IntlChar::chr' => ['string', 'codepoint'=>'mixed'], -'IntlChar::digit' => ['int|false', 'char'=>'int|string', 'radix='=>'int'], -'IntlChar::enumCharNames' => ['void', 'start'=>'mixed', 'limit'=>'mixed', 'callback'=>'callable', 'nameChoice='=>'int'], -'IntlChar::enumCharTypes' => ['void', 'cb='=>'callable'], -'IntlChar::foldCase' => ['int|string', 'char'=>'int|string', 'options='=>'int'], -'IntlChar::forDigit' => ['int', 'digit'=>'int', 'radix'=>'int'], -'IntlChar::getBidiPairedBracket' => ['mixed', 'codepoint'=>'mixed'], -'IntlChar::getBlockCode' => ['int', 'char'=>'int|string'], -'IntlChar::getCombiningClass' => ['int', 'codepoint'=>'mixed'], -'IntlChar::getFC_NFKC_Closure' => ['string', 'char'=>'int|string'], +'IntlChar::charAge' => ['?array', 'codepoint'=>'int|string'], +'IntlChar::charDigitValue' => ['?int', 'codepoint'=>'int|string'], +'IntlChar::charDirection' => ['?int', 'codepoint'=>'int|string'], +'IntlChar::charFromName' => ['?int', 'name'=>'string', 'type='=>'int'], +'IntlChar::charMirror' => ['int|string|null', 'codepoint'=>'int|string'], +'IntlChar::charName' => ['?string', 'codepoint'=>'int|string', 'type='=>'int'], +'IntlChar::charType' => ['?int', 'codepoint'=>'int|string'], +'IntlChar::chr' => ['?string', 'codepoint'=>'int|string'], +'IntlChar::digit' => ['int|false|null', 'codepoint'=>'int|string', 'base='=>'int'], +'IntlChar::enumCharNames' => ['?bool', 'start'=>'string|int', 'end'=>'string|int', 'callback'=>'callable(int,int,int):void', 'type='=>'int'], +'IntlChar::enumCharTypes' => ['void', 'callback'=>'callable(int,int,int):void'], +'IntlChar::foldCase' => ['int|string|null', 'codepoint'=>'int|string', 'options='=>'int'], +'IntlChar::forDigit' => ['int', 'digit'=>'int', 'base='=>'int'], +'IntlChar::getBidiPairedBracket' => ['int|string|null', 'codepoint'=>'int|string'], +'IntlChar::getBlockCode' => ['?int', 'codepoint'=>'int|string'], +'IntlChar::getCombiningClass' => ['?int', 'codepoint'=>'int|string'], +'IntlChar::getFC_NFKC_Closure' => ['?string', 'codepoint'=>'int|string'], 'IntlChar::getIntPropertyMaxValue' => ['int', 'property'=>'int'], 'IntlChar::getIntPropertyMinValue' => ['int', 'property'=>'int'], -'IntlChar::getIntPropertyValue' => ['int', 'char'=>'int|string', 'property'=>'int'], -'IntlChar::getNumericValue' => ['float', 'char'=>'int|string'], +'IntlChar::getIntPropertyValue' => ['?int', 'codepoint'=>'int|string', 'property'=>'int'], +'IntlChar::getNumericValue' => ['?float', 'codepoint'=>'int|string'], 'IntlChar::getPropertyEnum' => ['int', 'alias'=>'string'], -'IntlChar::getPropertyName' => ['string|false', 'property'=>'int', 'namechoice='=>'int'], +'IntlChar::getPropertyName' => ['string|false', 'property'=>'int', 'type='=>'int'], 'IntlChar::getPropertyValueEnum' => ['int', 'property'=>'int', 'name'=>'string'], -'IntlChar::getPropertyValueName' => ['string|false', 'prop'=>'int', 'value'=>'int', 'namechoice='=>'int'], +'IntlChar::getPropertyValueName' => ['string|false', 'property'=>'int', 'value'=>'int', 'type='=>'int'], 'IntlChar::getUnicodeVersion' => ['array'], -'IntlChar::hasBinaryProperty' => ['bool', 'char'=>'int|string', 'property'=>'int'], -'IntlChar::isalnum' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isalpha' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isbase' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isblank' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::iscntrl' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isdefined' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isdigit' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isgraph' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isIDIgnorable' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isIDPart' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isIDStart' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isISOControl' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isJavaIDPart' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isJavaIDStart' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isJavaSpaceChar' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::islower' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isMirrored' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isprint' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::ispunct' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isspace' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::istitle' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isUAlphabetic' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isULowercase' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isupper' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isUUppercase' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isUWhiteSpace' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isWhitespace' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::isxdigit' => ['bool', 'codepoint'=>'mixed'], -'IntlChar::ord' => ['int', 'character'=>'mixed'], -'IntlChar::tolower' => ['mixed', 'codepoint'=>'mixed'], -'IntlChar::totitle' => ['mixed', 'codepoint'=>'mixed'], -'IntlChar::toupper' => ['mixed', 'codepoint'=>'mixed'], +'IntlChar::hasBinaryProperty' => ['?bool', 'codepoint'=>'int|string', 'property'=>'int'], +'IntlChar::isalnum' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isalpha' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isbase' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isblank' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::iscntrl' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isdefined' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isdigit' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isgraph' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isIDIgnorable' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isIDPart' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isIDStart' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isISOControl' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isJavaIDPart' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isJavaIDStart' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isJavaSpaceChar' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::islower' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isMirrored' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isprint' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::ispunct' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isspace' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::istitle' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isUAlphabetic' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isULowercase' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isupper' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isUUppercase' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isUWhiteSpace' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isWhitespace' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::isxdigit' => ['?bool', 'codepoint'=>'int|string'], +'IntlChar::ord' => ['?int', 'character'=>'int|string'], +'IntlChar::tolower' => ['int|string|null', 'codepoint'=>'int|string'], +'IntlChar::totitle' => ['int|string|null', 'codepoint'=>'int|string'], +'IntlChar::toupper' => ['int|string|null', 'codepoint'=>'int|string'], 'IntlCodePointBreakIterator::__construct' => ['void'], 'IntlCodePointBreakIterator::createCharacterInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], 'IntlCodePointBreakIterator::createCodePointInstance' => ['IntlCodePointBreakIterator'], @@ -5902,17 +5902,17 @@ 'IntlCodePointBreakIterator::createWordInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], 'IntlCodePointBreakIterator::current' => ['int'], 'IntlCodePointBreakIterator::first' => ['int'], -'IntlCodePointBreakIterator::following' => ['int', 'offset'=>'string'], +'IntlCodePointBreakIterator::following' => ['int', 'offset'=>'int'], 'IntlCodePointBreakIterator::getErrorCode' => ['int'], 'IntlCodePointBreakIterator::getErrorMessage' => ['string'], 'IntlCodePointBreakIterator::getLastCodePoint' => ['int'], -'IntlCodePointBreakIterator::getLocale' => ['string', 'locale_type'=>'string'], -'IntlCodePointBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'string'], +'IntlCodePointBreakIterator::getLocale' => ['string|false', 'type'=>'int'], +'IntlCodePointBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'type='=>'string'], 'IntlCodePointBreakIterator::getText' => ['?string'], -'IntlCodePointBreakIterator::isBoundary' => ['bool', 'offset'=>'string'], +'IntlCodePointBreakIterator::isBoundary' => ['bool', 'offset'=>'int'], 'IntlCodePointBreakIterator::last' => ['int'], -'IntlCodePointBreakIterator::next' => ['int', 'offset='=>'string'], -'IntlCodePointBreakIterator::preceding' => ['int', 'offset'=>'string'], +'IntlCodePointBreakIterator::next' => ['int', 'offset='=>'?int'], +'IntlCodePointBreakIterator::preceding' => ['int', 'offset'=>'int'], 'IntlCodePointBreakIterator::previous' => ['int'], 'IntlCodePointBreakIterator::setText' => ['?bool', 'text'=>'string'], 'IntlDateFormatter::__construct' => ['void', 'locale'=>'?string', 'dateType='=>'int', 'timeType='=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'], @@ -5937,7 +5937,7 @@ 'IntlDateFormatter::setPattern' => ['bool', 'pattern'=>'string'], 'IntlDateFormatter::setTimeZone' => ['null|false', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'], 'IntlException::__clone' => ['void'], -'IntlException::__construct' => ['void'], +'IntlException::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'?Throwable'], 'IntlException::__toString' => ['string'], 'IntlException::__wakeup' => ['void'], 'IntlException::getCode' => ['int'], @@ -5947,19 +5947,19 @@ 'IntlException::getPrevious' => ['?Throwable'], 'IntlException::getTrace' => ['list\',args?:array}>'], 'IntlException::getTraceAsString' => ['string'], -'intlgregcal_create_instance' => ['IntlGregorianCalendar', 'timezoneOrYear='=>'mixed', 'localeOrMonth='=>'string'], +'intlgregcal_create_instance' => ['?IntlGregorianCalendar', 'timezoneOrYear='=>'IntlTimeZone|DateTimeZone|string|null', 'localeOrMonth='=>'string|int|null', 'day='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'intlgregcal_get_gregorian_change' => ['float', 'calendar'=>'IntlGregorianCalendar'], -'intlgregcal_is_leap_year' => ['bool', 'calendar'=>'int'], +'intlgregcal_is_leap_year' => ['bool', 'calendar'=>'IntlGregorianCalendar', 'year'=>'int'], 'intlgregcal_set_gregorian_change' => ['bool', 'calendar'=>'IntlGregorianCalendar', 'timestamp'=>'float'], 'IntlGregorianCalendar::__construct' => ['void'], -'IntlGregorianCalendar::add' => ['bool', 'field'=>'int', 'amount'=>'int'], +'IntlGregorianCalendar::add' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlGregorianCalendar::after' => ['bool', 'other'=>'IntlCalendar'], 'IntlGregorianCalendar::before' => ['bool', 'other'=>'IntlCalendar'], 'IntlGregorianCalendar::clear' => ['bool', 'field='=>'?int'], -'IntlGregorianCalendar::createInstance' => ['IntlGregorianCalendar', 'timeZone='=>'mixed', 'locale='=>'string'], +'IntlGregorianCalendar::createInstance' => ['?IntlGregorianCalendar', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'locale='=>'?string'], 'IntlGregorianCalendar::equals' => ['bool', 'other'=>'IntlCalendar'], -'IntlGregorianCalendar::fieldDifference' => ['int', 'when'=>'float', 'field'=>'int'], -'IntlGregorianCalendar::fromDateTime' => ['IntlCalendar', 'dateTime'=>'DateTime|string'], +'IntlGregorianCalendar::fieldDifference' => ['int|false', 'timestamp'=>'float', 'field'=>'int'], +'IntlGregorianCalendar::fromDateTime' => ['?IntlCalendar', 'datetime'=>'DateTime|string', 'locale='=>'?string'], 'IntlGregorianCalendar::get' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getActualMaximum' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getActualMinimum' => ['int', 'field'=>'int'], @@ -5970,9 +5970,9 @@ 'IntlGregorianCalendar::getFirstDayOfWeek' => ['int'], 'IntlGregorianCalendar::getGreatestMinimum' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getGregorianChange' => ['float'], -'IntlGregorianCalendar::getKeywordValuesForLocale' => ['Iterator', 'key'=>'string', 'locale'=>'string', 'commonlyUsed'=>'bool'], +'IntlGregorianCalendar::getKeywordValuesForLocale' => ['IntlIterator|false', 'keyword'=>'string', 'locale'=>'string', 'onlyCommon'=>'bool'], 'IntlGregorianCalendar::getLeastMaximum' => ['int', 'field'=>'int'], -'IntlGregorianCalendar::getLocale' => ['string', 'localeType'=>'int'], +'IntlGregorianCalendar::getLocale' => ['string|false', 'type'=>'int'], 'IntlGregorianCalendar::getMaximum' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getMinimalDaysInFirstWeek' => ['int'], 'IntlGregorianCalendar::getMinimum' => ['int', 'field'=>'int'], @@ -5982,24 +5982,24 @@ 'IntlGregorianCalendar::getTime' => ['float'], 'IntlGregorianCalendar::getTimeZone' => ['IntlTimeZone'], 'IntlGregorianCalendar::getType' => ['string'], -'IntlGregorianCalendar::getWeekendTransition' => ['int', 'dayOfWeek'=>'string'], +'IntlGregorianCalendar::getWeekendTransition' => ['int|false', 'dayOfWeek'=>'int'], 'IntlGregorianCalendar::inDaylightTime' => ['bool'], 'IntlGregorianCalendar::isEquivalentTo' => ['bool', 'other'=>'IntlCalendar'], 'IntlGregorianCalendar::isLeapYear' => ['bool', 'year'=>'int'], 'IntlGregorianCalendar::isLenient' => ['bool'], 'IntlGregorianCalendar::isSet' => ['bool', 'field'=>'int'], -'IntlGregorianCalendar::isWeekend' => ['bool', 'date='=>'float'], -'IntlGregorianCalendar::roll' => ['bool', 'field'=>'int', 'amountOrUpOrDown'=>'mixed'], +'IntlGregorianCalendar::isWeekend' => ['bool', 'timestamp='=>'?float'], +'IntlGregorianCalendar::roll' => ['bool', 'field'=>'int', 'value'=>'int|bool'], 'IntlGregorianCalendar::set' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlGregorianCalendar::set\'1' => ['bool', 'year'=>'int', 'month'=>'int', 'dayOfMonth='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'IntlGregorianCalendar::setFirstDayOfWeek' => ['bool', 'dayOfWeek'=>'int'], -'IntlGregorianCalendar::setGregorianChange' => ['bool', 'date'=>'float'], -'IntlGregorianCalendar::setLenient' => ['bool', 'isLenient'=>'string'], -'IntlGregorianCalendar::setMinimalDaysInFirstWeek' => ['bool', 'minimalDays'=>'int'], -'IntlGregorianCalendar::setRepeatedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], -'IntlGregorianCalendar::setSkippedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], -'IntlGregorianCalendar::setTime' => ['bool', 'date'=>'float'], -'IntlGregorianCalendar::setTimeZone' => ['bool', 'timeZone'=>'mixed'], +'IntlGregorianCalendar::setGregorianChange' => ['bool', 'timestamp'=>'float'], +'IntlGregorianCalendar::setLenient' => ['true', 'lenient'=>'bool'], +'IntlGregorianCalendar::setMinimalDaysInFirstWeek' => ['bool', 'days'=>'int'], +'IntlGregorianCalendar::setRepeatedWallTimeOption' => ['true', 'option'=>'int'], +'IntlGregorianCalendar::setSkippedWallTimeOption' => ['true', 'option'=>'int'], +'IntlGregorianCalendar::setTime' => ['bool', 'timestamp'=>'float'], +'IntlGregorianCalendar::setTimeZone' => ['bool', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'], 'IntlGregorianCalendar::toDateTime' => ['DateTime'], 'IntlIterator::__construct' => ['void'], 'IntlIterator::current' => ['mixed'], @@ -6008,7 +6008,7 @@ 'IntlIterator::rewind' => ['void'], 'IntlIterator::valid' => ['bool'], 'IntlPartsIterator::getBreakIterator' => ['IntlBreakIterator'], -'IntlRuleBasedBreakIterator::__construct' => ['void', 'rules'=>'string', 'areCompiled='=>'string'], +'IntlRuleBasedBreakIterator::__construct' => ['void', 'rules'=>'string', 'compiled='=>'bool'], 'IntlRuleBasedBreakIterator::createCharacterInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], 'IntlRuleBasedBreakIterator::createCodePointInstance' => ['IntlCodePointBreakIterator'], 'IntlRuleBasedBreakIterator::createLineInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], @@ -6021,8 +6021,8 @@ 'IntlRuleBasedBreakIterator::getBinaryRules' => ['string'], 'IntlRuleBasedBreakIterator::getErrorCode' => ['int'], 'IntlRuleBasedBreakIterator::getErrorMessage' => ['string'], -'IntlRuleBasedBreakIterator::getLocale' => ['string', 'locale_type'=>'string'], -'IntlRuleBasedBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'int'], +'IntlRuleBasedBreakIterator::getLocale' => ['string|false', 'type'=>'int'], +'IntlRuleBasedBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'type='=>'string'], 'IntlRuleBasedBreakIterator::getRules' => ['string'], 'IntlRuleBasedBreakIterator::getRuleStatus' => ['int'], 'IntlRuleBasedBreakIterator::getRuleStatusVec' => ['array'], @@ -6033,36 +6033,36 @@ 'IntlRuleBasedBreakIterator::preceding' => ['int', 'offset'=>'int'], 'IntlRuleBasedBreakIterator::previous' => ['int'], 'IntlRuleBasedBreakIterator::setText' => ['?bool', 'text'=>'string'], -'IntlTimeZone::countEquivalentIDs' => ['int|false', 'zoneId'=>'string'], +'IntlTimeZone::countEquivalentIDs' => ['int|false', 'timezoneId'=>'string'], 'IntlTimeZone::createDefault' => ['IntlTimeZone'], -'IntlTimeZone::createEnumeration' => ['IntlIterator|false', 'countryOrRawOffset='=>'mixed'], -'IntlTimeZone::createTimeZone' => ['IntlTimeZone|false', 'zoneId'=>'string'], -'IntlTimeZone::createTimeZoneIDEnumeration' => ['IntlIterator|false', 'zoneType'=>'int', 'region='=>'string', 'rawOffset='=>'int'], -'IntlTimeZone::fromDateTimeZone' => ['?IntlTimeZone', 'zoneId'=>'DateTimeZone'], -'IntlTimeZone::getCanonicalID' => ['string|false', 'zoneId'=>'string', '&w_isSystemID='=>'bool'], -'IntlTimeZone::getDisplayName' => ['string|false', 'isDaylight='=>'bool', 'style='=>'int', 'locale='=>'string'], +'IntlTimeZone::createEnumeration' => ['IntlIterator|false', 'countryOrRawOffset='=>'IntlTimeZone|string|int|float|null'], +'IntlTimeZone::createTimeZone' => ['?IntlTimeZone', 'timezoneId'=>'string'], +'IntlTimeZone::createTimeZoneIDEnumeration' => ['IntlIterator|false', 'type'=>'int', 'region='=>'?string', 'rawOffset='=>'?int'], +'IntlTimeZone::fromDateTimeZone' => ['?IntlTimeZone', 'timezone'=>'DateTimeZone'], +'IntlTimeZone::getCanonicalID' => ['string|false', 'timezoneId'=>'string', '&w_isSystemId='=>'bool'], +'IntlTimeZone::getDisplayName' => ['string|false', 'dst='=>'bool', 'style='=>'int', 'locale='=>'?string'], 'IntlTimeZone::getDSTSavings' => ['int'], -'IntlTimeZone::getEquivalentID' => ['string|false', 'zoneId'=>'string', 'index'=>'int'], +'IntlTimeZone::getEquivalentID' => ['string|false', 'timezoneId'=>'string', 'offset'=>'int'], 'IntlTimeZone::getErrorCode' => ['int'], 'IntlTimeZone::getErrorMessage' => ['string'], 'IntlTimeZone::getGMT' => ['IntlTimeZone'], 'IntlTimeZone::getID' => ['string'], -'IntlTimeZone::getIDForWindowsID' => ['string', 'timezone'=>'string', 'region='=>'string'], -'IntlTimeZone::getOffset' => ['int', 'date'=>'float', 'local'=>'bool', '&w_rawOffset'=>'int', '&w_dstOffset'=>'int'], +'IntlTimeZone::getIDForWindowsID' => ['string|false', 'timezoneId'=>'string', 'region='=>'?string'], +'IntlTimeZone::getOffset' => ['bool', 'timestamp'=>'float', 'local'=>'bool', '&w_rawOffset'=>'int', '&w_dstOffset'=>'int'], 'IntlTimeZone::getRawOffset' => ['int'], -'IntlTimeZone::getRegion' => ['string|false', 'zoneId'=>'string'], +'IntlTimeZone::getRegion' => ['string|false', 'timezoneId'=>'string'], 'IntlTimeZone::getTZDataVersion' => ['string'], 'IntlTimeZone::getUnknown' => ['IntlTimeZone'], -'IntlTimeZone::getWindowsID' => ['string|false', 'timezone'=>'string'], -'IntlTimeZone::hasSameRules' => ['bool', 'otherTimeZone'=>'IntlTimeZone'], +'IntlTimeZone::getWindowsID' => ['string|false', 'timezoneId'=>'string'], +'IntlTimeZone::hasSameRules' => ['bool', 'other'=>'IntlTimeZone'], 'IntlTimeZone::toDateTimeZone' => ['DateTimeZone|false'], 'IntlTimeZone::useDaylightTime' => ['bool'], 'intltz_count_equivalent_ids' => ['int', 'timezoneId'=>'string'], -'intltz_create_enumeration' => ['IntlIterator', 'countryOrRawOffset'=>'mixed'], +'intltz_create_enumeration' => ['IntlIterator|false', 'countryOrRawOffset='=>'IntlTimeZone|string|int|float|null'], 'intltz_create_time_zone' => ['?IntlTimeZone', 'timezoneId'=>'string'], 'intltz_from_date_time_zone' => ['?IntlTimeZone', 'timezone'=>'DateTimeZone'], -'intltz_get_canonical_id' => ['string', 'timezoneId'=>'string', '&isSystemId'=>'bool'], -'intltz_get_display_name' => ['string', 'timezone'=>'IntlTimeZone', 'dst'=>'bool', 'style'=>'int', 'locale'=>'string'], +'intltz_get_canonical_id' => ['string|false', 'timezoneId'=>'string', '&isSystemId='=>'bool'], +'intltz_get_display_name' => ['string|false', 'timezone'=>'IntlTimeZone', 'dst='=>'bool', 'style='=>'int', 'locale='=>'?string'], 'intltz_get_dst_savings' => ['int', 'timezone'=>'IntlTimeZone'], 'intltz_get_equivalent_id' => ['string', 'timezoneId'=>'string', 'offset'=>'int'], 'intltz_get_error_code' => ['int', 'timezone'=>'IntlTimeZone'], diff --git a/dictionaries/CallMap_80_delta.php b/dictionaries/CallMap_80_delta.php index 3cd63b29159..89b4bdfc618 100644 --- a/dictionaries/CallMap_80_delta.php +++ b/dictionaries/CallMap_80_delta.php @@ -193,6 +193,10 @@ 'old' => ['null|false', 'zone'=>'IntlTimeZone|DateTimeZone|string|null'], 'new' => ['null|false', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'], ], + 'IntlTimeZone::getIDForWindowsID' => [ + 'old' => ['string|false', 'timezoneId'=>'string', 'region='=>'string'], + 'new' => ['string|false', 'timezoneId'=>'string', 'region='=>'?string'], + ], 'Locale::getDisplayLanguage' => [ 'old' => ['string', 'locale'=>'string', 'displayLocale='=>'string'], 'new' => ['string', 'locale'=>'string', 'displayLocale='=>'?string'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index ad6409eb3af..2b14a8a585e 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -2974,8 +2974,8 @@ 'IntlBreakIterator::following' => ['int', 'offset'=>'int'], 'IntlBreakIterator::getErrorCode' => ['int'], 'IntlBreakIterator::getErrorMessage' => ['string'], - 'IntlBreakIterator::getLocale' => ['string', 'locale_type'=>'string'], - 'IntlBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'int'], + 'IntlBreakIterator::getLocale' => ['string|false', 'type'=>'int'], + 'IntlBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'type='=>'string'], 'IntlBreakIterator::getText' => ['?string'], 'IntlBreakIterator::isBoundary' => ['bool', 'offset'=>'int'], 'IntlBreakIterator::last' => ['int'], @@ -2984,14 +2984,14 @@ 'IntlBreakIterator::previous' => ['int'], 'IntlBreakIterator::setText' => ['?bool', 'text'=>'string'], 'IntlCalendar::__construct' => ['void'], - 'IntlCalendar::add' => ['bool', 'field'=>'int', 'amount'=>'int'], + 'IntlCalendar::add' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlCalendar::after' => ['bool', 'other'=>'IntlCalendar'], 'IntlCalendar::before' => ['bool', 'other'=>'IntlCalendar'], 'IntlCalendar::clear' => ['bool', 'field='=>'?int'], - 'IntlCalendar::createInstance' => ['IntlCalendar', 'timeZone='=>'mixed', 'locale='=>'string'], + 'IntlCalendar::createInstance' => ['?IntlCalendar', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'locale='=>'?string'], 'IntlCalendar::equals' => ['bool', 'other'=>'IntlCalendar'], - 'IntlCalendar::fieldDifference' => ['int', 'when'=>'float', 'field'=>'int'], - 'IntlCalendar::fromDateTime' => ['IntlCalendar', 'dateTime'=>'DateTime|string'], + 'IntlCalendar::fieldDifference' => ['int|false', 'timestamp'=>'float', 'field'=>'int'], + 'IntlCalendar::fromDateTime' => ['?IntlCalendar', 'datetime'=>'DateTime|string', 'locale='=>'?string'], 'IntlCalendar::get' => ['int', 'field'=>'int'], 'IntlCalendar::getActualMaximum' => ['int', 'field'=>'int'], 'IntlCalendar::getActualMinimum' => ['int', 'field'=>'int'], @@ -3001,9 +3001,9 @@ 'IntlCalendar::getErrorMessage' => ['string'], 'IntlCalendar::getFirstDayOfWeek' => ['int'], 'IntlCalendar::getGreatestMinimum' => ['int', 'field'=>'int'], - 'IntlCalendar::getKeywordValuesForLocale' => ['Iterator|false', 'key'=>'string', 'locale'=>'string', 'commonlyUsed'=>'bool'], + 'IntlCalendar::getKeywordValuesForLocale' => ['IntlIterator|false', 'keyword'=>'string', 'locale'=>'string', 'onlyCommon'=>'bool'], 'IntlCalendar::getLeastMaximum' => ['int', 'field'=>'int'], - 'IntlCalendar::getLocale' => ['string', 'localeType'=>'int'], + 'IntlCalendar::getLocale' => ['string|false', 'type'=>'int'], 'IntlCalendar::getMaximum' => ['int|false', 'field'=>'int'], 'IntlCalendar::getMinimalDaysInFirstWeek' => ['int'], 'IntlCalendar::getMinimum' => ['int', 'field'=>'int'], @@ -3013,82 +3013,82 @@ 'IntlCalendar::getTime' => ['float'], 'IntlCalendar::getTimeZone' => ['IntlTimeZone'], 'IntlCalendar::getType' => ['string'], - 'IntlCalendar::getWeekendTransition' => ['int', 'dayOfWeek'=>'string'], + 'IntlCalendar::getWeekendTransition' => ['int|false', 'dayOfWeek'=>'int'], 'IntlCalendar::inDaylightTime' => ['bool'], 'IntlCalendar::isEquivalentTo' => ['bool', 'other'=>'IntlCalendar'], 'IntlCalendar::isLenient' => ['bool'], 'IntlCalendar::isSet' => ['bool', 'field'=>'int'], - 'IntlCalendar::isWeekend' => ['bool', 'date='=>'?float'], - 'IntlCalendar::roll' => ['bool', 'field'=>'int', 'amountOrUpOrDown'=>'mixed'], + 'IntlCalendar::isWeekend' => ['bool', 'timestamp='=>'?float'], + 'IntlCalendar::roll' => ['bool', 'field'=>'int', 'value'=>'int|bool'], 'IntlCalendar::set' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlCalendar::set\'1' => ['bool', 'year'=>'int', 'month'=>'int', 'dayOfMonth='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'IntlCalendar::setFirstDayOfWeek' => ['bool', 'dayOfWeek'=>'int'], - 'IntlCalendar::setLenient' => ['bool', 'isLenient'=>'string'], - 'IntlCalendar::setMinimalDaysInFirstWeek' => ['bool', 'minimalDays'=>'int'], - 'IntlCalendar::setRepeatedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], - 'IntlCalendar::setSkippedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], - 'IntlCalendar::setTime' => ['bool', 'date'=>'float'], - 'IntlCalendar::setTimeZone' => ['bool', 'timeZone'=>'mixed'], + 'IntlCalendar::setLenient' => ['true', 'lenient'=>'bool'], + 'IntlCalendar::setMinimalDaysInFirstWeek' => ['bool', 'days'=>'int'], + 'IntlCalendar::setRepeatedWallTimeOption' => ['true', 'option'=>'int'], + 'IntlCalendar::setSkippedWallTimeOption' => ['true', 'option'=>'int'], + 'IntlCalendar::setTime' => ['bool', 'timestamp'=>'float'], + 'IntlCalendar::setTimeZone' => ['bool', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'], 'IntlCalendar::toDateTime' => ['DateTime|false'], - 'IntlChar::charAge' => ['array', 'char'=>'int|string'], - 'IntlChar::charDigitValue' => ['int', 'codepoint'=>'mixed'], - 'IntlChar::charDirection' => ['int', 'codepoint'=>'mixed'], - 'IntlChar::charFromName' => ['?int', 'name'=>'string', 'namechoice='=>'int'], - 'IntlChar::charMirror' => ['mixed', 'codepoint'=>'mixed'], - 'IntlChar::charName' => ['string', 'char'=>'int|string', 'namechoice='=>'int'], - 'IntlChar::charType' => ['int', 'codepoint'=>'mixed'], - 'IntlChar::chr' => ['string', 'codepoint'=>'mixed'], - 'IntlChar::digit' => ['int|false', 'char'=>'int|string', 'radix='=>'int'], - 'IntlChar::enumCharNames' => ['void', 'start'=>'mixed', 'limit'=>'mixed', 'callback'=>'callable', 'nameChoice='=>'int'], - 'IntlChar::enumCharTypes' => ['void', 'cb='=>'callable'], - 'IntlChar::foldCase' => ['int|string', 'char'=>'int|string', 'options='=>'int'], - 'IntlChar::forDigit' => ['int', 'digit'=>'int', 'radix'=>'int'], - 'IntlChar::getBidiPairedBracket' => ['mixed', 'codepoint'=>'mixed'], - 'IntlChar::getBlockCode' => ['int', 'char'=>'int|string'], - 'IntlChar::getCombiningClass' => ['int', 'codepoint'=>'mixed'], - 'IntlChar::getFC_NFKC_Closure' => ['string', 'char'=>'int|string'], + 'IntlChar::charAge' => ['?array', 'codepoint'=>'int|string'], + 'IntlChar::charDigitValue' => ['?int', 'codepoint'=>'int|string'], + 'IntlChar::charDirection' => ['?int', 'codepoint'=>'int|string'], + 'IntlChar::charFromName' => ['?int', 'name'=>'string', 'type='=>'int'], + 'IntlChar::charMirror' => ['int|string|null', 'codepoint'=>'int|string'], + 'IntlChar::charName' => ['?string', 'codepoint'=>'int|string', 'type='=>'int'], + 'IntlChar::charType' => ['?int', 'codepoint'=>'int|string'], + 'IntlChar::chr' => ['?string', 'codepoint'=>'int|string'], + 'IntlChar::digit' => ['int|false|null', 'codepoint'=>'int|string', 'base='=>'int'], + 'IntlChar::enumCharNames' => ['?bool', 'start'=>'string|int', 'end'=>'string|int', 'callback'=>'callable(int,int,int):void', 'type='=>'int'], + 'IntlChar::enumCharTypes' => ['void', 'callback'=>'callable(int,int,int):void'], + 'IntlChar::foldCase' => ['int|string|null', 'codepoint'=>'int|string', 'options='=>'int'], + 'IntlChar::forDigit' => ['int', 'digit'=>'int', 'base='=>'int'], + 'IntlChar::getBidiPairedBracket' => ['int|string|null', 'codepoint'=>'int|string'], + 'IntlChar::getBlockCode' => ['?int', 'codepoint'=>'int|string'], + 'IntlChar::getCombiningClass' => ['?int', 'codepoint'=>'int|string'], + 'IntlChar::getFC_NFKC_Closure' => ['?string', 'codepoint'=>'int|string'], 'IntlChar::getIntPropertyMaxValue' => ['int', 'property'=>'int'], 'IntlChar::getIntPropertyMinValue' => ['int', 'property'=>'int'], - 'IntlChar::getIntPropertyValue' => ['int', 'char'=>'int|string', 'property'=>'int'], - 'IntlChar::getNumericValue' => ['float', 'char'=>'int|string'], + 'IntlChar::getIntPropertyValue' => ['?int', 'codepoint'=>'int|string', 'property'=>'int'], + 'IntlChar::getNumericValue' => ['?float', 'codepoint'=>'int|string'], 'IntlChar::getPropertyEnum' => ['int', 'alias'=>'string'], - 'IntlChar::getPropertyName' => ['string|false', 'property'=>'int', 'namechoice='=>'int'], + 'IntlChar::getPropertyName' => ['string|false', 'property'=>'int', 'type='=>'int'], 'IntlChar::getPropertyValueEnum' => ['int', 'property'=>'int', 'name'=>'string'], - 'IntlChar::getPropertyValueName' => ['string|false', 'prop'=>'int', 'value'=>'int', 'namechoice='=>'int'], + 'IntlChar::getPropertyValueName' => ['string|false', 'property'=>'int', 'value'=>'int', 'type='=>'int'], 'IntlChar::getUnicodeVersion' => ['array'], - 'IntlChar::hasBinaryProperty' => ['bool', 'char'=>'int|string', 'property'=>'int'], - 'IntlChar::isIDIgnorable' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isIDPart' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isIDStart' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isISOControl' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isJavaIDPart' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isJavaIDStart' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isJavaSpaceChar' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isMirrored' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isUAlphabetic' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isULowercase' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isUUppercase' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isUWhiteSpace' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isWhitespace' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isalnum' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isalpha' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isbase' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isblank' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::iscntrl' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isdefined' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isdigit' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isgraph' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::islower' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isprint' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::ispunct' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isspace' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::istitle' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isupper' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::isxdigit' => ['bool', 'codepoint'=>'mixed'], - 'IntlChar::ord' => ['int', 'character'=>'mixed'], - 'IntlChar::tolower' => ['mixed', 'codepoint'=>'mixed'], - 'IntlChar::totitle' => ['mixed', 'codepoint'=>'mixed'], - 'IntlChar::toupper' => ['mixed', 'codepoint'=>'mixed'], + 'IntlChar::hasBinaryProperty' => ['?bool', 'codepoint'=>'int|string', 'property'=>'int'], + 'IntlChar::isIDIgnorable' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isIDPart' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isIDStart' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isISOControl' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isJavaIDPart' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isJavaIDStart' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isJavaSpaceChar' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isMirrored' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isUAlphabetic' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isULowercase' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isUUppercase' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isUWhiteSpace' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isWhitespace' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isalnum' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isalpha' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isbase' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isblank' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::iscntrl' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isdefined' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isdigit' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isgraph' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::islower' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isprint' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::ispunct' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isspace' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::istitle' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isupper' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::isxdigit' => ['?bool', 'codepoint'=>'int|string'], + 'IntlChar::ord' => ['?int', 'character'=>'int|string'], + 'IntlChar::tolower' => ['int|string|null', 'codepoint'=>'int|string'], + 'IntlChar::totitle' => ['int|string|null', 'codepoint'=>'int|string'], + 'IntlChar::toupper' => ['int|string|null', 'codepoint'=>'int|string'], 'IntlCodePointBreakIterator::__construct' => ['void'], 'IntlCodePointBreakIterator::createCharacterInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], 'IntlCodePointBreakIterator::createCodePointInstance' => ['IntlCodePointBreakIterator'], @@ -3098,17 +3098,17 @@ 'IntlCodePointBreakIterator::createWordInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], 'IntlCodePointBreakIterator::current' => ['int'], 'IntlCodePointBreakIterator::first' => ['int'], - 'IntlCodePointBreakIterator::following' => ['int', 'offset'=>'string'], + 'IntlCodePointBreakIterator::following' => ['int', 'offset'=>'int'], 'IntlCodePointBreakIterator::getErrorCode' => ['int'], 'IntlCodePointBreakIterator::getErrorMessage' => ['string'], 'IntlCodePointBreakIterator::getLastCodePoint' => ['int'], - 'IntlCodePointBreakIterator::getLocale' => ['string', 'locale_type'=>'string'], - 'IntlCodePointBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'string'], + 'IntlCodePointBreakIterator::getLocale' => ['string|false', 'type'=>'int'], + 'IntlCodePointBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'type='=>'string'], 'IntlCodePointBreakIterator::getText' => ['?string'], - 'IntlCodePointBreakIterator::isBoundary' => ['bool', 'offset'=>'string'], + 'IntlCodePointBreakIterator::isBoundary' => ['bool', 'offset'=>'int'], 'IntlCodePointBreakIterator::last' => ['int'], - 'IntlCodePointBreakIterator::next' => ['int', 'offset='=>'string'], - 'IntlCodePointBreakIterator::preceding' => ['int', 'offset'=>'string'], + 'IntlCodePointBreakIterator::next' => ['int', 'offset='=>'?int'], + 'IntlCodePointBreakIterator::preceding' => ['int', 'offset'=>'int'], 'IntlCodePointBreakIterator::previous' => ['int'], 'IntlCodePointBreakIterator::setText' => ['?bool', 'text'=>'string'], 'IntlDateFormatter::__construct' => ['void', 'locale'=>'?string', 'datetype'=>'null|int', 'timetype'=>'null|int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'], @@ -3133,7 +3133,7 @@ 'IntlDateFormatter::setPattern' => ['bool', 'pattern'=>'string'], 'IntlDateFormatter::setTimeZone' => ['null|false', 'zone'=>'IntlTimeZone|DateTimeZone|string|null'], 'IntlException::__clone' => ['void'], - 'IntlException::__construct' => ['void'], + 'IntlException::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'?Throwable'], 'IntlException::__toString' => ['string'], 'IntlException::__wakeup' => ['void'], 'IntlException::getCode' => ['int'], @@ -3144,14 +3144,14 @@ 'IntlException::getTrace' => ['list\',args?:array}>'], 'IntlException::getTraceAsString' => ['string'], 'IntlGregorianCalendar::__construct' => ['void'], - 'IntlGregorianCalendar::add' => ['bool', 'field'=>'int', 'amount'=>'int'], + 'IntlGregorianCalendar::add' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlGregorianCalendar::after' => ['bool', 'other'=>'IntlCalendar'], 'IntlGregorianCalendar::before' => ['bool', 'other'=>'IntlCalendar'], 'IntlGregorianCalendar::clear' => ['bool', 'field='=>'?int'], - 'IntlGregorianCalendar::createInstance' => ['IntlGregorianCalendar', 'timeZone='=>'mixed', 'locale='=>'string'], + 'IntlGregorianCalendar::createInstance' => ['?IntlGregorianCalendar', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'locale='=>'?string'], 'IntlGregorianCalendar::equals' => ['bool', 'other'=>'IntlCalendar'], - 'IntlGregorianCalendar::fieldDifference' => ['int', 'when'=>'float', 'field'=>'int'], - 'IntlGregorianCalendar::fromDateTime' => ['IntlCalendar', 'dateTime'=>'DateTime|string'], + 'IntlGregorianCalendar::fieldDifference' => ['int|false', 'timestamp'=>'float', 'field'=>'int'], + 'IntlGregorianCalendar::fromDateTime' => ['?IntlCalendar', 'datetime'=>'DateTime|string', 'locale='=>'?string'], 'IntlGregorianCalendar::get' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getActualMaximum' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getActualMinimum' => ['int', 'field'=>'int'], @@ -3162,9 +3162,9 @@ 'IntlGregorianCalendar::getFirstDayOfWeek' => ['int'], 'IntlGregorianCalendar::getGreatestMinimum' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getGregorianChange' => ['float'], - 'IntlGregorianCalendar::getKeywordValuesForLocale' => ['Iterator', 'key'=>'string', 'locale'=>'string', 'commonlyUsed'=>'bool'], + 'IntlGregorianCalendar::getKeywordValuesForLocale' => ['IntlIterator|false', 'keyword'=>'string', 'locale'=>'string', 'onlyCommon'=>'bool'], 'IntlGregorianCalendar::getLeastMaximum' => ['int', 'field'=>'int'], - 'IntlGregorianCalendar::getLocale' => ['string', 'localeType'=>'int'], + 'IntlGregorianCalendar::getLocale' => ['string|false', 'type'=>'int'], 'IntlGregorianCalendar::getMaximum' => ['int', 'field'=>'int'], 'IntlGregorianCalendar::getMinimalDaysInFirstWeek' => ['int'], 'IntlGregorianCalendar::getMinimum' => ['int', 'field'=>'int'], @@ -3174,24 +3174,24 @@ 'IntlGregorianCalendar::getTime' => ['float'], 'IntlGregorianCalendar::getTimeZone' => ['IntlTimeZone'], 'IntlGregorianCalendar::getType' => ['string'], - 'IntlGregorianCalendar::getWeekendTransition' => ['int', 'dayOfWeek'=>'string'], + 'IntlGregorianCalendar::getWeekendTransition' => ['int|false', 'dayOfWeek'=>'int'], 'IntlGregorianCalendar::inDaylightTime' => ['bool'], 'IntlGregorianCalendar::isEquivalentTo' => ['bool', 'other'=>'IntlCalendar'], 'IntlGregorianCalendar::isLeapYear' => ['bool', 'year'=>'int'], 'IntlGregorianCalendar::isLenient' => ['bool'], 'IntlGregorianCalendar::isSet' => ['bool', 'field'=>'int'], - 'IntlGregorianCalendar::isWeekend' => ['bool', 'date='=>'float'], - 'IntlGregorianCalendar::roll' => ['bool', 'field'=>'int', 'amountOrUpOrDown'=>'mixed'], + 'IntlGregorianCalendar::isWeekend' => ['bool', 'timestamp='=>'?float'], + 'IntlGregorianCalendar::roll' => ['bool', 'field'=>'int', 'value'=>'int|bool'], 'IntlGregorianCalendar::set' => ['bool', 'field'=>'int', 'value'=>'int'], 'IntlGregorianCalendar::set\'1' => ['bool', 'year'=>'int', 'month'=>'int', 'dayOfMonth='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'IntlGregorianCalendar::setFirstDayOfWeek' => ['bool', 'dayOfWeek'=>'int'], - 'IntlGregorianCalendar::setGregorianChange' => ['bool', 'date'=>'float'], - 'IntlGregorianCalendar::setLenient' => ['bool', 'isLenient'=>'string'], - 'IntlGregorianCalendar::setMinimalDaysInFirstWeek' => ['bool', 'minimalDays'=>'int'], - 'IntlGregorianCalendar::setRepeatedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], - 'IntlGregorianCalendar::setSkippedWallTimeOption' => ['bool', 'wallTimeOption'=>'int'], - 'IntlGregorianCalendar::setTime' => ['bool', 'date'=>'float'], - 'IntlGregorianCalendar::setTimeZone' => ['bool', 'timeZone'=>'mixed'], + 'IntlGregorianCalendar::setGregorianChange' => ['bool', 'timestamp'=>'float'], + 'IntlGregorianCalendar::setLenient' => ['true', 'lenient'=>'bool'], + 'IntlGregorianCalendar::setMinimalDaysInFirstWeek' => ['bool', 'days'=>'int'], + 'IntlGregorianCalendar::setRepeatedWallTimeOption' => ['true', 'option'=>'int'], + 'IntlGregorianCalendar::setSkippedWallTimeOption' => ['true', 'option'=>'int'], + 'IntlGregorianCalendar::setTime' => ['bool', 'timestamp'=>'float'], + 'IntlGregorianCalendar::setTimeZone' => ['bool', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'], 'IntlGregorianCalendar::toDateTime' => ['DateTime'], 'IntlIterator::__construct' => ['void'], 'IntlIterator::current' => ['mixed'], @@ -3200,7 +3200,7 @@ 'IntlIterator::rewind' => ['void'], 'IntlIterator::valid' => ['bool'], 'IntlPartsIterator::getBreakIterator' => ['IntlBreakIterator'], - 'IntlRuleBasedBreakIterator::__construct' => ['void', 'rules'=>'string', 'areCompiled='=>'string'], + 'IntlRuleBasedBreakIterator::__construct' => ['void', 'rules'=>'string', 'compiled='=>'bool'], 'IntlRuleBasedBreakIterator::createCharacterInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], 'IntlRuleBasedBreakIterator::createCodePointInstance' => ['IntlCodePointBreakIterator'], 'IntlRuleBasedBreakIterator::createLineInstance' => ['?IntlRuleBasedBreakIterator', 'locale='=>'?string'], @@ -3213,8 +3213,8 @@ 'IntlRuleBasedBreakIterator::getBinaryRules' => ['string'], 'IntlRuleBasedBreakIterator::getErrorCode' => ['int'], 'IntlRuleBasedBreakIterator::getErrorMessage' => ['string'], - 'IntlRuleBasedBreakIterator::getLocale' => ['string', 'locale_type'=>'string'], - 'IntlRuleBasedBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'int'], + 'IntlRuleBasedBreakIterator::getLocale' => ['string|false', 'type'=>'int'], + 'IntlRuleBasedBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'type='=>'string'], 'IntlRuleBasedBreakIterator::getRuleStatus' => ['int'], 'IntlRuleBasedBreakIterator::getRuleStatusVec' => ['array'], 'IntlRuleBasedBreakIterator::getRules' => ['string'], @@ -3225,28 +3225,28 @@ 'IntlRuleBasedBreakIterator::preceding' => ['int', 'offset'=>'int'], 'IntlRuleBasedBreakIterator::previous' => ['int'], 'IntlRuleBasedBreakIterator::setText' => ['?bool', 'text'=>'string'], - 'IntlTimeZone::countEquivalentIDs' => ['int|false', 'zoneId'=>'string'], + 'IntlTimeZone::countEquivalentIDs' => ['int|false', 'timezoneId'=>'string'], 'IntlTimeZone::createDefault' => ['IntlTimeZone'], - 'IntlTimeZone::createEnumeration' => ['IntlIterator|false', 'countryOrRawOffset='=>'mixed'], - 'IntlTimeZone::createTimeZone' => ['IntlTimeZone|false', 'zoneId'=>'string'], - 'IntlTimeZone::createTimeZoneIDEnumeration' => ['IntlIterator|false', 'zoneType'=>'int', 'region='=>'string', 'rawOffset='=>'int'], - 'IntlTimeZone::fromDateTimeZone' => ['?IntlTimeZone', 'zoneId'=>'DateTimeZone'], - 'IntlTimeZone::getCanonicalID' => ['string|false', 'zoneId'=>'string', '&w_isSystemID='=>'bool'], + 'IntlTimeZone::createEnumeration' => ['IntlIterator|false', 'countryOrRawOffset='=>'IntlTimeZone|string|int|float|null'], + 'IntlTimeZone::createTimeZone' => ['?IntlTimeZone', 'timezoneId'=>'string'], + 'IntlTimeZone::createTimeZoneIDEnumeration' => ['IntlIterator|false', 'type'=>'int', 'region='=>'?string', 'rawOffset='=>'?int'], + 'IntlTimeZone::fromDateTimeZone' => ['?IntlTimeZone', 'timezone'=>'DateTimeZone'], + 'IntlTimeZone::getCanonicalID' => ['string|false', 'timezoneId'=>'string', '&w_isSystemId='=>'bool'], 'IntlTimeZone::getDSTSavings' => ['int'], - 'IntlTimeZone::getDisplayName' => ['string|false', 'isDaylight='=>'bool', 'style='=>'int', 'locale='=>'string'], - 'IntlTimeZone::getEquivalentID' => ['string|false', 'zoneId'=>'string', 'index'=>'int'], + 'IntlTimeZone::getDisplayName' => ['string|false', 'dst='=>'bool', 'style='=>'int', 'locale='=>'?string'], + 'IntlTimeZone::getEquivalentID' => ['string|false', 'timezoneId'=>'string', 'offset'=>'int'], 'IntlTimeZone::getErrorCode' => ['int'], 'IntlTimeZone::getErrorMessage' => ['string'], 'IntlTimeZone::getGMT' => ['IntlTimeZone'], 'IntlTimeZone::getID' => ['string'], - 'IntlTimeZone::getIDForWindowsID' => ['string', 'timezone'=>'string', 'region='=>'string'], - 'IntlTimeZone::getOffset' => ['int', 'date'=>'float', 'local'=>'bool', '&w_rawOffset'=>'int', '&w_dstOffset'=>'int'], + 'IntlTimeZone::getIDForWindowsID' => ['string|false', 'timezoneId'=>'string', 'region='=>'string'], + 'IntlTimeZone::getOffset' => ['bool', 'timestamp'=>'float', 'local'=>'bool', '&w_rawOffset'=>'int', '&w_dstOffset'=>'int'], 'IntlTimeZone::getRawOffset' => ['int'], - 'IntlTimeZone::getRegion' => ['string|false', 'zoneId'=>'string'], + 'IntlTimeZone::getRegion' => ['string|false', 'timezoneId'=>'string'], 'IntlTimeZone::getTZDataVersion' => ['string'], 'IntlTimeZone::getUnknown' => ['IntlTimeZone'], - 'IntlTimeZone::getWindowsID' => ['string|false', 'timezone'=>'string'], - 'IntlTimeZone::hasSameRules' => ['bool', 'otherTimeZone'=>'IntlTimeZone'], + 'IntlTimeZone::getWindowsID' => ['string|false', 'timezoneId'=>'string'], + 'IntlTimeZone::hasSameRules' => ['bool', 'other'=>'IntlTimeZone'], 'IntlTimeZone::toDateTimeZone' => ['DateTimeZone|false'], 'IntlTimeZone::useDaylightTime' => ['bool'], 'InvalidArgumentException::__clone' => ['void'], @@ -11911,8 +11911,8 @@ 'intlcal_clear' => ['bool', 'calendar'=>'IntlCalendar', 'field='=>'?int'], 'intlcal_create_instance' => ['?IntlCalendar', 'timezone='=>'mixed', 'locale='=>'?string'], 'intlcal_equals' => ['bool', 'calendar'=>'IntlCalendar', 'other'=>'IntlCalendar'], - 'intlcal_field_difference' => ['int', 'calendar'=>'IntlCalendar', 'timestamp'=>'float', 'field'=>'int'], - 'intlcal_from_date_time' => ['IntlCalendar', 'datetime'=>'DateTime|string'], + 'intlcal_field_difference' => ['int|false', 'calendar'=>'IntlCalendar', 'timestamp'=>'float', 'field'=>'int'], + 'intlcal_from_date_time' => ['?IntlCalendar', 'datetime'=>'DateTime|string', 'locale='=>'?string'], 'intlcal_get' => ['int|false', 'calendar'=>'IntlCalendar', 'field'=>'int'], 'intlcal_get_actual_maximum' => ['int', 'calendar'=>'IntlCalendar', 'field'=>'int'], 'intlcal_get_actual_minimum' => ['int', 'calendar'=>'IntlCalendar', 'field'=>'int'], @@ -11932,7 +11932,7 @@ 'intlcal_get_time' => ['float', 'calendar'=>'IntlCalendar'], 'intlcal_get_time_zone' => ['IntlTimeZone', 'calendar'=>'IntlCalendar'], 'intlcal_get_type' => ['string', 'calendar'=>'IntlCalendar'], - 'intlcal_get_weekend_transition' => ['int', 'calendar'=>'IntlCalendar', 'dayOfWeek'=>'string'], + 'intlcal_get_weekend_transition' => ['int|false', 'calendar'=>'IntlCalendar', 'dayOfWeek'=>'int'], 'intlcal_in_daylight_time' => ['bool', 'calendar'=>'IntlCalendar'], 'intlcal_is_equivalent_to' => ['bool', 'calendar'=>'IntlCalendar', 'other'=>'IntlCalendar'], 'intlcal_is_lenient' => ['bool', 'calendar'=>'IntlCalendar'], @@ -11943,22 +11943,22 @@ 'intlcal_set\'1' => ['bool', 'calendar'=>'IntlCalendar', 'year'=>'int', 'month'=>'int', 'dayOfMonth='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'intlcal_set_first_day_of_week' => ['bool', 'calendar'=>'IntlCalendar', 'dayOfWeek'=>'int'], 'intlcal_set_lenient' => ['bool', 'calendar'=>'IntlCalendar', 'lenient'=>'bool'], - 'intlcal_set_repeated_wall_time_option' => ['bool', 'calendar'=>'IntlCalendar', 'option'=>'int'], - 'intlcal_set_skipped_wall_time_option' => ['bool', 'calendar'=>'IntlCalendar', 'option'=>'int'], + 'intlcal_set_repeated_wall_time_option' => ['true', 'calendar'=>'IntlCalendar', 'option'=>'int'], + 'intlcal_set_skipped_wall_time_option' => ['true', 'calendar'=>'IntlCalendar', 'option'=>'int'], 'intlcal_set_time' => ['bool', 'calendar'=>'IntlCalendar', 'timestamp'=>'float'], 'intlcal_set_time_zone' => ['bool', 'calendar'=>'IntlCalendar', 'timezone'=>'mixed'], 'intlcal_to_date_time' => ['DateTime|false', 'calendar'=>'IntlCalendar'], - 'intlgregcal_create_instance' => ['IntlGregorianCalendar', 'timezoneOrYear='=>'mixed', 'localeOrMonth='=>'string'], + 'intlgregcal_create_instance' => ['?IntlGregorianCalendar', 'timezoneOrYear='=>'IntlTimeZone|DateTimeZone|string|null', 'localeOrMonth='=>'string|int|null', 'day='=>'int', 'hour='=>'int', 'minute='=>'int', 'second='=>'int'], 'intlgregcal_get_gregorian_change' => ['float', 'calendar'=>'IntlGregorianCalendar'], - 'intlgregcal_is_leap_year' => ['bool', 'calendar'=>'int'], + 'intlgregcal_is_leap_year' => ['bool', 'calendar'=>'IntlGregorianCalendar', 'year'=>'int'], 'intlgregcal_set_gregorian_change' => ['bool', 'calendar'=>'IntlGregorianCalendar', 'timestamp'=>'float'], 'intltz_count_equivalent_ids' => ['int', 'timezoneId'=>'string'], - 'intltz_create_enumeration' => ['IntlIterator', 'countryOrRawOffset'=>'mixed'], + 'intltz_create_enumeration' => ['IntlIterator|false', 'countryOrRawOffset='=>'IntlTimeZone|string|int|float|null'], 'intltz_create_time_zone' => ['?IntlTimeZone', 'timezoneId'=>'string'], 'intltz_from_date_time_zone' => ['?IntlTimeZone', 'timezone'=>'DateTimeZone'], 'intltz_getGMT' => ['IntlTimeZone'], - 'intltz_get_canonical_id' => ['string', 'timezoneId'=>'string', '&isSystemId'=>'bool'], - 'intltz_get_display_name' => ['string', 'timezone'=>'IntlTimeZone', 'dst'=>'bool', 'style'=>'int', 'locale'=>'string'], + 'intltz_get_canonical_id' => ['string|false', 'timezoneId'=>'string', '&isSystemId='=>'bool'], + 'intltz_get_display_name' => ['string|false', 'timezone'=>'IntlTimeZone', 'dst='=>'bool', 'style='=>'int', 'locale='=>'?string'], 'intltz_get_dst_savings' => ['int', 'timezone'=>'IntlTimeZone'], 'intltz_get_equivalent_id' => ['string', 'timezoneId'=>'string', 'offset'=>'int'], 'intltz_get_error_code' => ['int', 'timezone'=>'IntlTimeZone'], diff --git a/tests/Internal/Codebase/InternalCallMapHandlerTest.php b/tests/Internal/Codebase/InternalCallMapHandlerTest.php index 6349d5a592c..cb77012d1bc 100644 --- a/tests/Internal/Codebase/InternalCallMapHandlerTest.php +++ b/tests/Internal/Codebase/InternalCallMapHandlerTest.php @@ -116,123 +116,7 @@ class InternalCallMapHandlerTest extends TestCase 'imagegd2', 'imageopenpolygon', 'imagepolygon', - 'intlbreakiterator::getlocale', - 'intlbreakiterator::getpartsiterator', - 'intlcal_from_date_time', - 'intlcal_get_weekend_transition', - 'intlcalendar::add', - 'intlcalendar::createinstance', - 'intlcalendar::fielddifference', - 'intlcalendar::fromdatetime', - 'intlcalendar::getkeywordvaluesforlocale', - 'intlcalendar::getlocale', - 'intlcalendar::getweekendtransition', - 'intlcalendar::isweekend', - 'intlcalendar::roll', - 'intlcalendar::setlenient', - 'intlcalendar::setminimaldaysinfirstweek', - 'intlcalendar::setrepeatedwalltimeoption', - 'intlcalendar::setskippedwalltimeoption', - 'intlcalendar::settime', - 'intlcalendar::settimezone', - 'intlchar::charage', - 'intlchar::chardigitvalue', - 'intlchar::chardirection', - 'intlchar::charfromname', - 'intlchar::charmirror', - 'intlchar::charname', - 'intlchar::chartype', - 'intlchar::chr', - 'intlchar::digit', - 'intlchar::enumcharnames', - 'intlchar::enumchartypes', - 'intlchar::foldcase', - 'intlchar::fordigit', - 'intlchar::getbidipairedbracket', - 'intlchar::getblockcode', - 'intlchar::getcombiningclass', - 'intlchar::getfc_nfkc_closure', - 'intlchar::getintpropertyvalue', - 'intlchar::getnumericvalue', - 'intlchar::getpropertyname', - 'intlchar::getpropertyvaluename', - 'intlchar::hasbinaryproperty', - 'intlchar::isalnum', - 'intlchar::isalpha', - 'intlchar::isbase', - 'intlchar::isblank', - 'intlchar::iscntrl', - 'intlchar::isdefined', - 'intlchar::isdigit', - 'intlchar::isgraph', - 'intlchar::isidignorable', - 'intlchar::isidpart', - 'intlchar::isidstart', - 'intlchar::isisocontrol', - 'intlchar::isjavaidpart', - 'intlchar::isjavaidstart', - 'intlchar::isjavaspacechar', - 'intlchar::islower', - 'intlchar::ismirrored', - 'intlchar::isprint', - 'intlchar::ispunct', - 'intlchar::isspace', - 'intlchar::istitle', - 'intlchar::isualphabetic', - 'intlchar::isulowercase', - 'intlchar::isupper', - 'intlchar::isuuppercase', - 'intlchar::isuwhitespace', - 'intlchar::iswhitespace', - 'intlchar::isxdigit', - 'intlchar::ord', - 'intlchar::tolower', - 'intlchar::totitle', - 'intlchar::toupper', - 'intlcodepointbreakiterator::following', - 'intlcodepointbreakiterator::getlocale', - 'intlcodepointbreakiterator::getpartsiterator', - 'intlcodepointbreakiterator::isboundary', - 'intlcodepointbreakiterator::next', - 'intlcodepointbreakiterator::preceding', - 'intlexception::__construct', - 'intlgregcal_create_instance', - 'intlgregcal_is_leap_year', 'intlgregoriancalendar::__construct', - 'intlgregoriancalendar::add', - 'intlgregoriancalendar::createinstance', - 'intlgregoriancalendar::fielddifference', - 'intlgregoriancalendar::fromdatetime', - 'intlgregoriancalendar::getkeywordvaluesforlocale', - 'intlgregoriancalendar::getlocale', - 'intlgregoriancalendar::getweekendtransition', - 'intlgregoriancalendar::isweekend', - 'intlgregoriancalendar::roll', - 'intlgregoriancalendar::setgregorianchange', - 'intlgregoriancalendar::setlenient', - 'intlgregoriancalendar::setminimaldaysinfirstweek', - 'intlgregoriancalendar::setrepeatedwalltimeoption', - 'intlgregoriancalendar::setskippedwalltimeoption', - 'intlgregoriancalendar::settime', - 'intlgregoriancalendar::settimezone', - 'intlrulebasedbreakiterator::__construct', - 'intlrulebasedbreakiterator::getlocale', - 'intlrulebasedbreakiterator::getpartsiterator', - 'intltimezone::countequivalentids', - 'intltimezone::createtimezone', - 'intltimezone::createtimezoneidenumeration', - 'intltimezone::fromdatetimezone', - 'intltimezone::getcanonicalid', - 'intltimezone::getdisplayname', - 'intltimezone::getequivalentid', - 'intltimezone::getidforwindowsid', - 'intltimezone::getoffset', - 'intltimezone::getregion', - 'intltimezone::getwindowsid', - 'intltimezone::hassamerules', - 'intltz_create_enumeration', - 'intltz_get_canonical_id', - 'intltz_get_display_name', 'iteratoriterator::__construct', 'jsonexception::__construct', 'limititerator::__construct',