Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108825 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83627 invoked from network); 3 Mar 2020 16:42:03 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Mar 2020 16:42:03 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9457A1804DD for ; Tue, 3 Mar 2020 07:01:11 -0800 (PST) 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-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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, 3 Mar 2020 07:01:10 -0800 (PST) Received: by mail-lf1-f48.google.com with SMTP id v6so2977346lfo.13 for ; Tue, 03 Mar 2020 07:01:10 -0800 (PST) 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; bh=y76i3HpNkicv0GI3o4mtRqc2hLB59ocozLCJah+gTwM=; b=osGmNWxKzTzCjolrcC+PX3s8NhfyplFjvWxy4vxwBF2QFPYN3BsIR7LtuK105QGn0b mOKmNhNOKPeJCNjioTyyzLgIvt+vYvq5Q8+8jjzm4/1YWcSan/iMcD8fUEK5XEBXhIyE CCzHUER19Tw0KXDicz/q+8vOA1uxUf1SLQVDGymNkwgZdiSqaLKsL8WFENX/F0MRoVCV KezqpLXZjn6vkwYkvBffhERHuR1wUjsjlZGa9crxr7hTxp1malnehtuAwIkz20G0nAmn 8yzUGr+q6pjvNUcDKOhlMUN0+KYg+bGwmc5vyqPVgCFBMz2QKGqjnyVYilcE8dlOoLcI Z0uQ== 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; bh=y76i3HpNkicv0GI3o4mtRqc2hLB59ocozLCJah+gTwM=; b=Ss04LsZQXdrKHZpAHN0sRMo129msA6yWH2hyWENbDJJFBr6+00e9fAw4/xBE5ESXDm CHRzGjpF+uvzzpWBoBIhCJqZSgvPfOhOix1Q7SQ9jSaUDnyC/3ZJ+ZfQpXHMCMYMPyAF s0ZqujlZL2/V0nVRkfrAOSu77HRwMmUHKgSWyEVBfL+V1B69GLi1hiSiQjJSc3Mlw80S Ni+GTQqWxWEAFQ8Ksi5SHTGpzbvyWCc8B4n7qLA+obmL8ilvw3gPns1YFS9deeCdn3LA Wzte7LCYgUG14YhBErxfdMsYphQ8IN6zRoKK36upFxJlGSKRI44pqMvYRdf2DE0h1dwy bfFA== X-Gm-Message-State: ANhLgQ3dZm4x5U2F0OX+8N6BCq1pivrBA3QO98HHeDkR/cAJ/1Sn0Evw L9RlEV3zedbxYdmtVO/R7Ja0D6AIjhD3vSv1Uh0zfgL8 X-Google-Smtp-Source: ADFU+vuNKp0SzzuiTf1uODHr/eZmpDx0T+PnH+jHPFpw+OffVHdxl5INnSUkc4uWJ7sQIpKCs3VKOrC2/g6O45tZswg= X-Received: by 2002:a05:6512:3136:: with SMTP id p22mr3004917lfd.120.1583247667281; Tue, 03 Mar 2020 07:01:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 3 Mar 2020 16:00:51 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000ccc523059ff4924d" Subject: Re: [RFC] Validation for abstract trait methods From: nikita.ppv@gmail.com (Nikita Popov) --000000000000ccc523059ff4924d Content-Type: text/plain; charset="UTF-8" On Fri, Feb 7, 2020 at 11:32 AM Nikita Popov wrote: > Hi internals, > > I've sent a mail about this before, but as this turned into a bit of a > larger change (also allowing "abstract private" methods in traits) and > there's some backwards compatibility impact, I've created a proper RFC for > this: > > https://wiki.php.net/rfc/abstract_trait_method_validation > Based on Nicolas' feedback, I've adjusted the RFC to not validate the visibility of the method (only the signature and "static-ness"). The reason is outlined in the last paragraph of the Proposal section. With that done, I plan to open voting on this tomorrow, unless something new comes up. Regards, Nikita --000000000000ccc523059ff4924d--