From 1046e5bf8e1801f97fd0cdb57d761bc136f96db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Mon, 4 Mar 2019 21:36:42 +0100 Subject: [PATCH] Marks Zend\Writer\Writer::lcfirst method as deprecated --- src/Writer/Writer.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Writer/Writer.php b/src/Writer/Writer.php index dc80d10b..f15adef4 100644 --- a/src/Writer/Writer.php +++ b/src/Writer/Writer.php @@ -205,6 +205,12 @@ public static function registerCoreExtensions() ); } + /** + * @deprecated This method is deprecated and will be removed with version 3.0 + * Use PHP's lcfirst function instead. @see https://php.net/manual/function.lcfirst.php + * @param string $str + * @return string + */ public static function lcfirst($str) { $str[0] = strtolower($str[0]);