Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110247 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18584 invoked from network); 22 May 2020 16:49:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 May 2020 16:49:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 31C8C1804C2 for ; Fri, 22 May 2020 08:28:32 -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-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 ; Fri, 22 May 2020 08:28:31 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id h188so6744798lfd.7 for ; Fri, 22 May 2020 08:28:31 -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=00rH5kD0mIOYm54Xjh0k6HCBL+FDEPVZVP+60UkL6yc=; b=lyRFDuhWachdBlmurvEpBnTeRNoAWPCF6MBqnGHmmXTy1rsz6jvhYJo1yjuWLI4IlI qv4+xn50g4ZL0ZnNZT3fnJd+HmNpEI3aPb+z6NEL/Naa5hgiFnd/zsly+KQV4iPHIQp/ SpqJdI+aXBDiyEHKxSu/NiIHctxx/b+zR+f87/wP93ypse18/xKIUepDMMN6+SXFKlzR XdtuAKyP+/Ys0kZbHpyAG5qkVqWEw6ScY6V1eRgUHELkfZ2iQrP0lpdoKe13QAqsebR7 zq5AQI5OHMg5Jv4q0yLSkwqHIm1VUKfY6pRAUhsZ5c8sbbufbT9EfIe5MoNx1uwFy0Qs Ekeg== 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=00rH5kD0mIOYm54Xjh0k6HCBL+FDEPVZVP+60UkL6yc=; b=aqCaS8Nv2OLByyS4e4AD2r8HT1J5/AeOuCBiPHJ2vn1hAEydy0aQaC6y1cM+nS6+el VkRtpr4ytHc4hjzCTakTVHGdxV9TDHNwxmfo5aPTvgo1O1vz6fBFxmpMr0fVqgBholqq DFlwZULZL57uHGF3XT3WQqTyfr9MZKGURw+6RoR+Fhzcy2muLM7lgZr84yyTc3OU/Q7b sDoIsDTipvxMXauln8K1gRpNW3qTrI7M/LOgyzqtrHhPY79ktkDH+fqQJW6IkTSYlsO+ H9I7nhRDGnrvsMOD2EbPw7ZiWLeQGuhV2PWPurj0O7+rY3dMKMFKznXfjLUnO3+eztHs fQzA== X-Gm-Message-State: AOAM532T0V6+Rgvdeb0isK2OzquNrOT1gLuSZGG2RLOx4BI/3okkVcri 8JJdwSnyAn+SPayNx+OMRSN+6ijhIKvhMLUydTI= X-Google-Smtp-Source: ABdhPJy5RtquoezX+OgszBrEFuh8m1JU1rc8p0L/JKbJ4ZBWGdphFHBxsQ5xZ+oZl53/ZojAVSlh/QMzDBMAh0U0uCU= X-Received: by 2002:a05:6512:686:: with SMTP id t6mr8147289lfe.154.1590161309236; Fri, 22 May 2020 08:28:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 22 May 2020 17:28:13 +0200 Message-ID: To: Benas IML Cc: Peter Bowyer , Benjamin Eberlei , PHP Internals Content-Type: multipart/alternative; boundary="000000000000f9001605a63e4782" Subject: Re: [PHP-DEV] [RFC] Amendments to Attributes From: nikita.ppv@gmail.com (Nikita Popov) --000000000000f9001605a63e4782 Content-Type: text/plain; charset="UTF-8" On Fri, May 22, 2020 at 2:19 PM Benas IML wrote: > Agreed. > > I don't think we should pollute any other than the `PHP\` namespace. If > that RFC doesn't pass though, we should keep the `Attribute` class in the > global namespace. > > Global namespace is already reserved for PHP and so, BC breaks aren't that > severe whereas `Attributes\` namespace isn't reserved therefore BC breaks > would be "unexpected". > > Best regards, > Benas Seliuginas > I mean, realistically speaking, BC breaks with Attributes\Attribute are a lot less likely than with just Attribute, regardless of what we reserve or don't. Some pragmatism, please. I don't particularly care what namespace the attribute classes are under, just that they should have a common namespace, because there's going to be many of them, presumably. If it was just a matter of the Attribute class, I'd definitely say this belongs in the global namespace, but that's not what we're dealing with at this point. Nikita --000000000000f9001605a63e4782--