Skip to content

Commit

Permalink
Add missing CallMap on some IntlDateFormatter related to PHP 8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
niconoe- committed Nov 23, 2022
1 parent 208b745 commit 98c60f4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dictionaries/CallMap_80_delta.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@
'old' => ['string', 'which='=>'int'],
'new' => ['string|false', 'type='=>'int'],
],
'IntlDateFormatter::getPattern' => [
'old' => ['string'],
'new' => ['string|false'],
],
'IntlDateFormatter::getTimeType' => [
'old' => ['int'],
'new' => ['int|false'],
],
'IntlDateFormatter::getTimeZoneId' => [
'old' => ['string'],
'new' => ['string|false'],
],
'IntlDateFormatter::localtime' => [
'old' => ['array', 'value'=>'string', '&rw_position='=>'int'],
'new' => ['array|false', 'string'=>'string', '&rw_offset='=>'int'],
Expand All @@ -101,6 +113,10 @@
'old' => ['bool', 'which'=>'IntlCalendar|int|null'],
'new' => ['bool', 'calendar'=>'IntlCalendar|int|null'],
],
'IntlDateFormatter::setLenient' => [
'old' => ['bool', 'lenient'=>'bool'],
'new' => ['void', 'lenient'=>'bool'],
],
'IntlDateFormatter::setTimeZone' => [
'old' => ['null|false', 'zone'=>'IntlTimeZone|DateTimeZone|string|null'],
'new' => ['null|false', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'],
Expand Down

0 comments on commit 98c60f4

Please sign in to comment.