Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85964 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22136 invoked from network); 27 Apr 2015 09:03:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2015 09:03:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.114.167 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.114.167 spritz.beccati.com Received: from [176.9.114.167] ([176.9.114.167:35857] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/84-17556-36BFD355 for ; Mon, 27 Apr 2015 05:03:32 -0400 Received: (qmail 16704 invoked from network); 27 Apr 2015 09:03:27 -0000 Received: from home.beccati.com (HELO ?192.168.1.202?) (88.149.176.119) by mail.beccati.com with SMTP; 27 Apr 2015 09:03:27 -0000 Message-ID: <553DFB53.3000005@beccati.com> Date: Mon, 27 Apr 2015 11:03:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Benjamin Eberlei , Stanislav Malyshev CC: Nate Abele , internals References: <553DBEC4.7000609@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] Reserving More Types in PHP 7 From: php@beccati.com (Matteo Beccati) On 27/04/2015 10:15, Benjamin Eberlei wrote: > It should be possible to write something with PHP Parser detecting all the > occurances of "String/string" class usage to at least give a worklog of > entries that need to be changed, or maybe generate a patch file that can be > applied to the code base after review. Sure, or just open a fairly recent IDE, right-click on class String, click refactor/rename. That alone should take care of most usages. Hopefully ;) Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/