Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109886 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 88958 invoked from network); 28 Apr 2020 17:43:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Apr 2020 17:43:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E5A70180088 for ; Tue, 28 Apr 2020 09:16:35 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 28 Apr 2020 09:16:35 -0700 (PDT) Received: by mail-il1-f176.google.com with SMTP id f82so20866638ilh.8 for ; Tue, 28 Apr 2020 09:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SXeAHGM2ImDykmB+eIQnc9yF2XVzthOUl6fa0PlXWOY=; b=JnQ4SEuIa2WABDN7v8HuJY4P7Zc4gjNPE7cdcLr1JwAQtmqweN+PCiskzsBlhgEaBx lQbzgrQRLwcAet3jt/5fi+JZiRBoAr+fW8n99w1fSiKmzcE9VxHSOlnp//2ASnKsOBAv WRXFUgLiJ5D9gwzc49CFBiuRwYJR6N1cNwxll0dECts4DOdvmZtCf54sh6+gmh25uEp0 8JEtF+vCnsGyPJfPFdDb8BrrtGtGw99fHGQt2frE3NICmJWsW5yEDuaJdoxM0TEr2awG WiOXEvC5XLoJGe/7x3AFNvXVGlhtdphHR2zxzUGxkGmtSrr0cuAYMSVNIZt3iHqGY+c/ BuzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SXeAHGM2ImDykmB+eIQnc9yF2XVzthOUl6fa0PlXWOY=; b=MAkR+jBApbUhzEt14n3YblRWqjoWfQwj51dJ2ni3ONXjg9+m4jd5Ag7iotL0r0FbyX tC2Jr/jf+lmzh79dB+j0+sxX5LGk3WKB2Tbj2UuO/+PP48zo2qwlgz7FCxhzyJeBPDce GncI2s/60WD4FGyB3ISnJZ8pWG9+GxIez+ls1iOGP1ARSnryje+MHYvq54RtdvIWSq1Y jK9TmVh/CCjK6Dw6okFPjietcv92/EqQtwsC0N9eTPy/54FoyKvCL3hbMSS9rZZnKEuV LG0JaHkuqH/vP7hMcqrgqVK5EjRdrYvaNT0//nfPGFywTobudLikgHsF2im3LVADhL6c h9Fw== X-Gm-Message-State: AGi0PubaGYQ7Fw0aPORqhD3ETXZxZD+kEsLxS3bBY+1NLMtMtWV9wcrn 3Mai53KpRQHRN3Y6yi9BSi6pI303vVUWo786f8M= X-Google-Smtp-Source: APiQypJ6hT34BaIZg7NVw+5uMAUyssJcKfOpMHuIcJSC+sPXSmxkG6hUDIhTokY4OlrB9O0MhKCvYAdZyuwYZqYRaLk= X-Received: by 2002:a92:cc4a:: with SMTP id t10mr26984245ilq.292.1588090590996; Tue, 28 Apr 2020 09:16:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 28 Apr 2020 18:16:19 +0200 Message-ID: To: Benas IML Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000008c304205a45c27cd" Subject: Re: [PHP-DEV] Renaming PhpAttribute to Attribute From: ocramius@gmail.com (Marco Pivetta) --0000000000008c304205a45c27cd Content-Type: text/plain; charset="UTF-8" Hey Benas, On Tue, Apr 28, 2020 at 5:59 PM Benas IML wrote: > > `Attribute` is certainly too generic, and will needlessly collide with > code > > in the wild. > > Could you provide any examples as to where '\Attribute' is being used in > the > wild? I haven't seen a single project that has an Attribute class and uses > the > global namespace. > Thankfully (to PSRs), I don't write non-namespaced code myself anymore: that's not something that is true in many legacy and closed-source projects. I tend to also healthily avoid any packages that declare symbols in the global namespace. Like many other things in life, just because you don't see something doesn't mean that it is certainly not there ;-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --0000000000008c304205a45c27cd--