* - berm
* - []LuCkY[]
* - Emperyan
- * @see http://en.wikipedia.org/wiki/Dotted_and_dotless_I
+ * @see https://en.wikipedia.org/wiki/Dotted_and_dotless_I
* @dataProvider provideDottedAndDotlessI
* @covers Language::ucfirst
* @covers Language::lcfirst
}
public static function provideDottedAndDotlessI() {
- return array(
+ return [
# function, input, input case, expected
# Case changed:
- array( 'ucfirst', 'ı', 'lower', 'I' ),
- array( 'ucfirst', 'i', 'lower', 'İ' ),
- array( 'lcfirst', 'I', 'upper', 'ı' ),
- array( 'lcfirst', 'İ', 'upper', 'i' ),
+ [ 'ucfirst', 'ı', 'lower', 'I' ],
+ [ 'ucfirst', 'i', 'lower', 'İ' ],
+ [ 'lcfirst', 'I', 'upper', 'ı' ],
+ [ 'lcfirst', 'İ', 'upper', 'i' ],
# Already using the correct case
- array( 'ucfirst', 'I', 'upper', 'I' ),
- array( 'ucfirst', 'İ', 'upper', 'İ' ),
- array( 'lcfirst', 'ı', 'lower', 'ı' ),
- array( 'lcfirst', 'i', 'lower', 'i' ),
+ [ 'ucfirst', 'I', 'upper', 'I' ],
+ [ 'ucfirst', 'İ', 'upper', 'İ' ],
+ [ 'lcfirst', 'ı', 'lower', 'ı' ],
+ [ 'lcfirst', 'i', 'lower', 'i' ],
# A real example taken from bug 28040 using
- # http://tr.wikipedia.org/wiki/%C4%B0Phone
- array( 'lcfirst', 'iPhone', 'lower', 'iPhone' ),
+ # https://tr.wikipedia.org/wiki/%C4%B0Phone
+ [ 'lcfirst', 'iPhone', 'lower', 'iPhone' ],
# next case is valid in Turkish but are different words if we
# consider IPhone is English!
- array( 'lcfirst', 'IPhone', 'upper', 'ıPhone' ),
+ [ 'lcfirst', 'IPhone', 'upper', 'ıPhone' ],
- );
+ ];
}
}