Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100980 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31580 invoked from network); 28 Oct 2017 12:42:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2017 12:42:59 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:54144] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/E4-28573-15B74F95 for ; Sat, 28 Oct 2017 08:42:58 -0400 Received: from [192.168.2.106] ([79.243.124.218]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MLB89-1e8hQt2Ein-000JJ7; Sat, 28 Oct 2017 14:42:54 +0200 To: Nikita Popov , PHP internals References: Message-ID: <400665f7-3efa-8308-aff2-b721f9c7a601@gmx.de> Date: Sat, 28 Oct 2017 14:42:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:QeAXDgN7UVo+9p6olHatNlq7Grenn8ENE8/zPRFdYru5yAVvVgg 0PZtRBtKZjcoJA7I2KLbm2hur8Smsiz7+iCL6IRkjX0F2Zf/5Q1d8/gdL6RvVlbx1NoWKsf MqtSS6tOenDRl6Eocfr1L2sq+RKFfJ/n4YPgVrdeoapS35kQIGNdX2qooy69ReM3Y9p41bX JDVnoBb7FxfJdUxxqf5gw== X-UI-Out-Filterresults: notjunk:1;V01:K0:YPBebZ0Fez4=:lxofpIdSD/USzDBTxR5joe mIU0VFAqdpZOlOPldwYn4Dwz2Y7DbvvvFQGpIoEpaIkv3UVBdrc03+/9CNqCP0ylbDpQSmTge Kcy5+mgAn+Ilm4oq+isKFAqcfmidkbyDin4LXC+Hl8DDcsXR0MmXX8xGLdrJVu7mo8LGXrGij a+d0GijHp7WYuMjd/5G+hnXpr6VNvw582pdgaW3szCAMeRjXB02GGpr1KwIMYMktL87yQXKPl G0SoboYskzdGYPVdalo/y4bFmTAEngU5FAM61Qq34WHd/PzPekW3aBjaAfYOquTZTC7Wjw/o+ gOE01c8JTI2mitCVxCLr05a/67iP29/JpCgsv5NcIVMfgnro+T4u7awGDfVcaw6PwkhLdy9DL r3hRv1T9Q5EIwjacFIqQ/QR5mNbJ7tHMK4Fl0rLuoGIiZqt6f0PJp0MwUHRDBqXktymZJer1a gTmWDSPMC5Ny5Ewk+SDGoKWBsNGFfSRlld3BKUEJSq1ObUozyMGmCasnuU6hqeQgbtbxn0JIQ dsTfzvsWl3xjeyEI0y8iVA4GRbIIn+cG273yeUgICRX6C8K3hkmaaty1ztDu4l+jo28ZLtrRV ddm/lqYzX/wWTbrOZTXrDySzkLMyTkeRlo+YFGeV1dZnzmpkfNbpcWregVz7/n7P47rdsC1nW BJG3OjYR+CX/dx1C8n+LJYEc/RwSvXJkfYBTrhDelST8lUYvUGaBtUWRe1NhTZq5uYZ8SmN/R KgIF4kpgsNGc/Dgpc4fmLK2d0wy5QedcYMthMES6F57uqDnYBBNHNEe/2vMQsosboO1l34YO9 Ta552LUE7hq/XadBEOQpB2n3CWFzrbxUQsbskTnA/fTmH8Bdf0= Subject: Re: Consistent indentation for test files From: cmbecker69@gmx.de ("Christoph M. Becker") On 28.10.2017 at 13:59, Nikita Popov wrote: > Right now we do not have a consistent standard for the indentation of PHPT > files. Some people create space-indented files, others create tab-indented > files. Over time, indentation invariably starts to mix, because developers > with different indentation settings work on one file. > > Here are the current statistics for code in .phpt files: > > total: 15515 > prefer tabs: 4273 (27.5%) > prefer spaces: 6307 (40.7%) > draw: 77 (0.5%) > no indentation: 4858 (31.3%) > > There are 1824 (11.8%) files that contain mixed tab and space indentation. > The indentation was determined based on the first character of a line. Thanks for bringing this up! > I would like to propose that we establish a common standard by > a) using space indentation for all future tests (as they currently form the > majority), and > b) reindenting existing test files to use space indentation. +1 I'm rather baffled that doesn't address this issue at all. -- Christoph M. Becker