Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123121 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id D93581A009C for ; Fri, 12 Apr 2024 12:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712926599; bh=WrqaAPMCuqCBsrjyyLdK3zHzA9dEA9XyxNQq9fDFnxQ=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=ZZ5kGwP9Tw+2eyb6QcWNirezzQIUwORqlYz58fcNbXDrCM6uKDj9D1+xmDrPK8PNK mzjixEL8llm/YDIX18SXtzy0MK4CY9hvaYtS+sQz7fLc0DI5JSl1PUFCC3eK4fEpEF JKfD7lkxHdw8x7/ZzTt8htWPqu7TUg24EYUruDDZ84a9uSqmZH4uqYjbDa8MO+HWi+ K/hXhAUJrTd3hbAnc9wVzneRN6wrnLCq8IH6FCZD7gw0aDy6TE/m/TrIOONnYjaow5 89X244d2epD69PotBwLDc7FW836YQvBH1HjN/CFyM1xpZjs4bW9FTfxp8t4SAVBsWL ygxeamzLzZ+bg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BA126180068 for ; Fri, 12 Apr 2024 12:56:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 12 Apr 2024 12:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1712926557; x=1713185757; bh=WrqaAPMCuqCBsrjyyLdK3zHzA9dEA9XyxNQq9fDFnxQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=FsG3tMBcnnlCV3vGH4j+x+1qvys2k8NWIF5OhKW88z81RYbWj63s2GAWz0hXNFf+F MPiGoIm8mnqruunV08i644Ej1wGyL75AFQdcwhX0IdKB7qqfk2DmX2V03OTVslrsCZ xTK1fhksgFCGUIUD9Ke8APNO70l5Jd3u04opTHKhfuBW76LTrzwMK8NoO/i2TYJD+h uUPITmqlzUQI6purhuAJTeLxdabz/2xvX8NyV+nT0wa79ciWF3qafwAHvpdU5p/h12 Rs/EGDr+bO7NB5Uj0e0I1/doKqD85rwg2Cl1257JrWniJYnFWZN3Zxzu2vy5jiyDSP iQ22aiNfLU0oA== Date: Fri, 12 Apr 2024 12:55:52 +0000 To: =?utf-8?Q?Tim_D=C3=BCsterhus?= Cc: PHP internals Subject: Re: [PHP-DEV] [RFC] Casing of acronyms in class and method names Message-ID: In-Reply-To: <792b2282-b7a3-40dd-899c-daab55353316@bastelstu.be> References: <792b2282-b7a3-40dd-899c-daab55353316@bastelstu.be> Feedback-ID: 96993444:user:proton Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Friday, 5 April 2024 at 18:00, Tim D=C3=BCsterhus wro= te: > Hi >=20 > I've just written up the follow-up RFC to my previous =E2=80=9CCasing of > acronyms in class and method names=E2=80=9D thread and I'm officially ope= ning up > the discussion period for it. >=20 > Please find the following links for your convenience: >=20 > RFC: https://wiki.php.net/rfc/class-naming-acronyms > Previous ML discussion: https://externals.io/message/120959#120959 > Related discussion in PHP-FIG: > https://github.com/php-fig/per-coding-style/issues/83 >=20 Thank you for working on this! I agree that this policy change makes sense. I was wondering, however, if there should be a follow-up RFC to normalize t= he casing of existing classes? This isn't a BC Break in theory as class names are, for the time being, cas= e-insensitive. I know in practice that tooling in the ecosystem normalize the names to be = the one as currently defined, so it might produce diffs depending on which = version of PHP the tool is ran on. The output of tests could be affected. Maybe this change is better suited for PHP 9? Best regards, Gina P. Banyard