Skip to content

Commit e2cdabd

Browse files
Merge branch '3.4' into 4.3
* 3.4: Improve some URLs Fix test compatibility with 4.x components [Cache] cs fix
2 parents 0976600 + f1aceac commit e2cdabd

File tree

8 files changed

+69
-70
lines changed

8 files changed

+69
-70
lines changed

Collator/Collator.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function asort(&$array, $sortFlag = self::SORT_REGULAR)
130130
* 0 if $str1 is equal than $str2
131131
* -1 if $str1 is less than $str2
132132
*
133-
* @see http://www.php.net/manual/en/collator.compare.php
133+
* @see https://php.net/collator.compare
134134
*
135135
* @throws MethodNotImplementedException
136136
*/
@@ -146,7 +146,7 @@ public function compare($str1, $str2)
146146
*
147147
* @return bool|int The attribute value on success or false on error
148148
*
149-
* @see http://www.php.net/manual/en/collator.getattribute.php
149+
* @see https://php.net/collator.getattribute
150150
*
151151
* @throws MethodNotImplementedException
152152
*/
@@ -195,7 +195,7 @@ public function getLocale($type = Locale::ACTUAL_LOCALE)
195195
*
196196
* @return string The collation key for $string
197197
*
198-
* @see http://www.php.net/manual/en/collator.getsortkey.php
198+
* @see https://php.net/collator.getsortkey
199199
*
200200
* @throws MethodNotImplementedException
201201
*/
@@ -209,7 +209,7 @@ public function getSortKey($string)
209209
*
210210
* @return bool|int The current collator's strength or false on failure
211211
*
212-
* @see http://www.php.net/manual/en/collator.getstrength.php
212+
* @see https://php.net/collator.getstrength
213213
*
214214
* @throws MethodNotImplementedException
215215
*/
@@ -226,7 +226,7 @@ public function getStrength()
226226
*
227227
* @return bool True on success or false on failure
228228
*
229-
* @see http://www.php.net/manual/en/collator.setattribute.php
229+
* @see https://php.net/collator.setattribute
230230
*
231231
* @throws MethodNotImplementedException
232232
*/
@@ -248,7 +248,7 @@ public function setAttribute($attr, $val)
248248
*
249249
* @return bool True on success or false on failure
250250
*
251-
* @see http://www.php.net/manual/en/collator.setstrength.php
251+
* @see https://php.net/collator.setstrength
252252
*
253253
* @throws MethodNotImplementedException
254254
*/
@@ -264,7 +264,7 @@ public function setStrength($strength)
264264
*
265265
* @return bool True on success or false on failure
266266
*
267-
* @see http://www.php.net/manual/en/collator.sortwithsortkeys.php
267+
* @see https://php.net/collator.sortwithsortkeys
268268
*
269269
* @throws MethodNotImplementedException
270270
*/
@@ -284,7 +284,7 @@ public function sortWithSortKeys(&$arr)
284284
*
285285
* @return bool True on success or false on failure
286286
*
287-
* @see http://www.php.net/manual/en/collator.sort.php
287+
* @see https://php.net/collator.sort
288288
*
289289
* @throws MethodNotImplementedException
290290
*/

Data/Generator/LanguageDataGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
class LanguageDataGenerator extends AbstractDataGenerator
2828
{
2929
/**
30-
* Source: http://www-01.sil.org/iso639-3/codes.asp.
30+
* Source: https://iso639-3.sil.org/code_tables/639/data
3131
*/
3232
private static $preferredAlpha2ToAlpha3Mapping = [
3333
'ak' => 'aka',

Data/Util/ArrayAccessibleResourceBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Work-around for a bug in PHP's \ResourceBundle implementation.
1818
*
19-
* More information can be found on https://bugs.php.net/bug.php?id=64356.
19+
* More information can be found on https://bugs.php.net/64356.
2020
* This class can be removed once that bug is fixed.
2121
*
2222
* @author Bernhard Schussek <bschussek@gmail.com>

DateFormatter/DateFormat/TimezoneTransformer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ public function extractDateOptions(string $matched, int $length): array
9292
*
9393
* @return string A timezone identifier
9494
*
95-
* @see http://php.net/manual/en/timezones.others.php
96-
* @see http://www.twinsun.com/tz/tz-link.htm
95+
* @see https://php.net/timezones.others
9796
*
9897
* @throws NotImplementedException When the GMT time zone have minutes offset different than zero
9998
* @throws \InvalidArgumentException When the value can not be matched with pattern

DateFormatter/IntlDateFormatter.php

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class IntlDateFormatter
126126
* supported value is IntlDateFormatter::GREGORIAN (or null using the default calendar, i.e. "GREGORIAN")
127127
* @param string|null $pattern Optional pattern to use when formatting
128128
*
129-
* @see http://www.php.net/manual/en/intldateformatter.create.php
129+
* @see https://php.net/intldateformatter.create
130130
* @see http://userguide.icu-project.org/formatparse/datetime
131131
*
132132
* @throws MethodArgumentValueNotImplementedException When $locale different than "en" or null is passed
@@ -162,7 +162,7 @@ public function __construct(?string $locale, ?int $datetype, ?int $timetype, $ti
162162
*
163163
* @return self
164164
*
165-
* @see http://www.php.net/manual/en/intldateformatter.create.php
165+
* @see https://php.net/intldateformatter.create
166166
* @see http://userguide.icu-project.org/formatparse/datetime
167167
*
168168
* @throws MethodArgumentValueNotImplementedException When $locale different than "en" or null is passed
@@ -180,7 +180,7 @@ public static function create($locale, $datetype, $timetype, $timezone = null, $
180180
*
181181
* @return string|bool The formatted value or false if formatting failed
182182
*
183-
* @see http://www.php.net/manual/en/intldateformatter.format.php
183+
* @see https://php.net/intldateformatter.format
184184
*
185185
* @throws MethodArgumentValueNotImplementedException If one of the formatting characters is not implemented
186186
*/
@@ -231,7 +231,7 @@ public function format($timestamp)
231231
*
232232
* @return string The formatted value
233233
*
234-
* @see http://www.php.net/manual/en/intldateformatter.formatobject.php
234+
* @see https://php.net/intldateformatter.formatobject
235235
*
236236
* @throws MethodNotImplementedException
237237
*/
@@ -246,7 +246,7 @@ public function formatObject($object, $format = null, $locale = null)
246246
* @return int The calendar being used by the formatter. Currently always returns
247247
* IntlDateFormatter::GREGORIAN.
248248
*
249-
* @see http://www.php.net/manual/en/intldateformatter.getcalendar.php
249+
* @see https://php.net/intldateformatter.getcalendar
250250
*/
251251
public function getCalendar()
252252
{
@@ -258,7 +258,7 @@ public function getCalendar()
258258
*
259259
* @return object The calendar's object being used by the formatter
260260
*
261-
* @see http://www.php.net/manual/en/intldateformatter.getcalendarobject.php
261+
* @see https://php.net/intldateformatter.getcalendarobject
262262
*
263263
* @throws MethodNotImplementedException
264264
*/
@@ -272,7 +272,7 @@ public function getCalendarObject()
272272
*
273273
* @return int The current value of the formatter
274274
*
275-
* @see http://www.php.net/manual/en/intldateformatter.getdatetype.php
275+
* @see https://php.net/intldateformatter.getdatetype
276276
*/
277277
public function getDateType()
278278
{
@@ -284,7 +284,7 @@ public function getDateType()
284284
*
285285
* @return int The error code from last formatter call
286286
*
287-
* @see http://www.php.net/manual/en/intldateformatter.geterrorcode.php
287+
* @see https://php.net/intldateformatter.geterrorcode
288288
*/
289289
public function getErrorCode()
290290
{
@@ -296,7 +296,7 @@ public function getErrorCode()
296296
*
297297
* @return string The error message from last formatter call
298298
*
299-
* @see http://www.php.net/manual/en/intldateformatter.geterrormessage.php
299+
* @see https://php.net/intldateformatter.geterrormessage
300300
*/
301301
public function getErrorMessage()
302302
{
@@ -311,7 +311,7 @@ public function getErrorMessage()
311311
* @return string The locale used to create the formatter. Currently always
312312
* returns "en".
313313
*
314-
* @see http://www.php.net/manual/en/intldateformatter.getlocale.php
314+
* @see https://php.net/intldateformatter.getlocale
315315
*/
316316
public function getLocale($type = Locale::ACTUAL_LOCALE)
317317
{
@@ -323,7 +323,7 @@ public function getLocale($type = Locale::ACTUAL_LOCALE)
323323
*
324324
* @return string The pattern string used by the formatter
325325
*
326-
* @see http://www.php.net/manual/en/intldateformatter.getpattern.php
326+
* @see https://php.net/intldateformatter.getpattern
327327
*/
328328
public function getPattern()
329329
{
@@ -335,7 +335,7 @@ public function getPattern()
335335
*
336336
* @return int The time type used by the formatter
337337
*
338-
* @see http://www.php.net/manual/en/intldateformatter.gettimetype.php
338+
* @see https://php.net/intldateformatter.gettimetype
339339
*/
340340
public function getTimeType()
341341
{
@@ -347,7 +347,7 @@ public function getTimeType()
347347
*
348348
* @return string The timezone identifier used by the formatter
349349
*
350-
* @see http://www.php.net/manual/en/intldateformatter.gettimezoneid.php
350+
* @see https://php.net/intldateformatter.gettimezoneid
351351
*/
352352
public function getTimeZoneId()
353353
{
@@ -363,7 +363,7 @@ public function getTimeZoneId()
363363
*
364364
* @return mixed The timezone used by the formatter
365365
*
366-
* @see http://www.php.net/manual/en/intldateformatter.gettimezone.php
366+
* @see https://php.net/intldateformatter.gettimezone
367367
*
368368
* @throws MethodNotImplementedException
369369
*/
@@ -377,7 +377,7 @@ public function getTimeZone()
377377
*
378378
* @return bool Currently always returns false
379379
*
380-
* @see http://www.php.net/manual/en/intldateformatter.islenient.php
380+
* @see https://php.net/intldateformatter.islenient
381381
*
382382
* @throws MethodNotImplementedException
383383
*/
@@ -397,7 +397,7 @@ public function isLenient()
397397
*
398398
* @return string Localtime compatible array of integers: contains 24 hour clock value in tm_hour field
399399
*
400-
* @see http://www.php.net/manual/en/intldateformatter.localtime.php
400+
* @see https://php.net/intldateformatter.localtime
401401
*
402402
* @throws MethodNotImplementedException
403403
*/
@@ -417,7 +417,7 @@ public function localtime($value, &$position = 0)
417417
*
418418
* @return int Parsed value as a timestamp
419419
*
420-
* @see http://www.php.net/manual/en/intldateformatter.parse.php
420+
* @see https://php.net/intldateformatter.parse
421421
*
422422
* @throws MethodArgumentNotImplementedException When $position different than null, behavior not implemented
423423
*/
@@ -447,7 +447,7 @@ public function parse($value, &$position = null)
447447
*
448448
* @return bool true on success or false on failure
449449
*
450-
* @see http://www.php.net/manual/en/intldateformatter.setcalendar.php
450+
* @see https://php.net/intldateformatter.setcalendar
451451
*
452452
* @throws MethodNotImplementedException
453453
*/
@@ -469,7 +469,7 @@ public function setCalendar($calendar)
469469
*
470470
* @return bool true on success or false on failure
471471
*
472-
* @see http://www.php.net/manual/en/intldateformatter.setlenient.php
472+
* @see https://php.net/intldateformatter.setlenient
473473
*
474474
* @throws MethodArgumentValueNotImplementedException When $lenient is true
475475
*/
@@ -489,7 +489,7 @@ public function setLenient($lenient)
489489
*
490490
* @return bool true on success or false on failure
491491
*
492-
* @see http://www.php.net/manual/en/intldateformatter.setpattern.php
492+
* @see https://php.net/intldateformatter.setpattern
493493
* @see http://userguide.icu-project.org/formatparse/datetime
494494
*/
495495
public function setPattern($pattern)
@@ -512,7 +512,7 @@ public function setPattern($pattern)
512512
*
513513
* @return bool true on success or false on failure
514514
*
515-
* @see http://www.php.net/manual/en/intldateformatter.settimezoneid.php
515+
* @see https://php.net/intldateformatter.settimezoneid
516516
*/
517517
public function setTimeZoneId($timeZoneId)
518518
{
@@ -556,7 +556,7 @@ public function setTimeZoneId($timeZoneId)
556556
*
557557
* @return bool true on success or false on failure
558558
*
559-
* @see http://www.php.net/manual/en/intldateformatter.settimezone.php
559+
* @see https://php.net/intldateformatter.settimezone
560560
*/
561561
public function setTimeZone($timeZone)
562562
{

0 commit comments

Comments
 (0)