After php/php-src#6475 has been merged, there are a couple of places that need fixing:
[x] strlen(): Passing null to parameter 1 ($string) of type string is deprecated" in ::strlen() (Reader.class.php, line 95, occured once)
[x] iconv(): Passing null to parameter 2 ($to_encoding) of type string is deprecated" in ::iconv() (TextWriter.class.php, line 76, occured once)
[x] iconv(): Passing null to parameter 2 ($to_encoding) of type string is deprecated" in ::iconv() (TextWriter.class.php, line 76, occured once)
[x] ReflectionClass::hasConstant(): Passing null to parameter 1 ($name) of type string is deprecated" in ReflectionClass::hasConstant() (XPClass.class.php, line 355, occured once)
[x] strlen(): Passing null to parameter 1 ($string) of type string is deprecated" in ::strlen() (Type.class.php, line 211, occured once)
[x] strlen(): Passing null to parameter 1 ($string) of type string is deprecated" in ::strlen() (Bytes.class.php, line 39, occured once)
[x] strlen(): Passing null to parameter 1 ($string) of type string is deprecated" in ::strlen() (Type.class.php, line 211, occured once)
[x] ucfirst(): Passing null to parameter 1 ($string) of type string is deprecated" in ::ucfirst() (Environment.class.php, line 122, occured once)
After php/php-src#6475 has been merged, there are a couple of places that need fixing:
See https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg