Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123202 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 B3B2D1A009D for ; Wed, 24 Apr 2024 14:55:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1713970591; bh=kBuDMF/i3/lLi9bZ38VJJKKmOXFyih2VocCyOp6r1iA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=U+ueV5fFSCu1d4f7iTkogz+1VRdcfh82tJy1BJNqVIlRBISt5SfM2ZR3kyQJwt2uk kRk368FYMq9ONmdKh1ICMMf69WjIzo0jgb0PVlGrNeVMeLCxt71QTy2mrA+5unlOTl 83gSIGo3fMJCR3ZUkvBlkxpgMCKsIBef9J/Q0fXGsX6ftKAjbfNNMK5FOWox99TYnj UF8wlMdHttfuwTbfKn8QaOP2XNMeJE57Mf1R75rGLQT1i+amu4MqNFnpudZyBLAdQ6 +Oyb7MlzRUaT0pwGWCrxefFdtTNg/DNeoMsHbx/1oc2YDZxbqZvEXcJwDIuMnjiW1I QWfUoH5cguZmw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EBFCB1805E5 for ; Wed, 24 Apr 2024 14:56:28 +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.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) (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 ; Wed, 24 Apr 2024 14:56:25 +0000 (UTC) Received: by mail-ua1-f48.google.com with SMTP id a1e0cc1a2514c-7eb89aa9176so2092673241.3 for ; Wed, 24 Apr 2024 07:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20230601.gappssmtp.com; s=20230601; t=1713970544; x=1714575344; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kBuDMF/i3/lLi9bZ38VJJKKmOXFyih2VocCyOp6r1iA=; b=y/Dhy0TiN0HZSSdFzvBuOShiTKAd0k8zcf9XxlSrc+2enysyQKWDVRc+C5ejAS+bzI FrRMpdq0EzBsFgntRrakTyRcSMtL6etlz+iYRxThUDsJnJKR8h5EQ+ksIhYKwbi/e+Ug Y8aBDutytIWAYD/3o3SuN9AEVC3b1PUlA8VijhhebFZcdwtRJnD2lvn431Fg8pFXqs9F j+lLiwN+sNd3hnG4tOu/D2a82bU8cKjZi5bHMG8aJIY6E7JGop/oonJjIH9X5E7EMc83 +ZQO+KwZiiqrhvOD8nYw/0a4KdWotVvApHgRrnNmz8/glq7D5BsqPqwiJMHVH3bek18f YT0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713970544; x=1714575344; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kBuDMF/i3/lLi9bZ38VJJKKmOXFyih2VocCyOp6r1iA=; b=CpJmf8K4B6ctfH1u/dfM6drpzWFHEYVtdE7hUqyYoDvIWT3Atuc4ghaCPaFpUKM1XN LT6hsFm239wtd6SRR4xywhwzKHu1IcUACJ1N3gDa2WmJLb9MPrl+boixeQZgoeQBHp4q I3EGIPBjpq78ehuB3I7mBdT7nSPoRXPB+ABMB4JEmvNXt2YR0yYLJv3aUiEdHMZxdrmD 5KRXBOnzlY/pmuHH9v97Yrt4hmXC4+bPyBKGJ44QjPOPjzf9d+N+M6NJl3pZ9bIyMCp2 Dbw+Bgjxp2fDgSVNUGcsjlVYP6j5dfihzlKBJqozJjj8c1DiO6RpMezf1HS1r0bUn6Pw dCfw== X-Gm-Message-State: AOJu0Yw0bgrHb1Dbf2GO7ZVKaZIFcZDumcsuCHIuxJTePzhd35ERH5Sd /WINKXnbxpNfWx7Hhw55eAcmfi08P6lUL0V7oAEebH7tZcQUlUvnGpGKhg2S4cL8/NDv0N3tJfN ygFGfJ4R0ANk+CA031pqelYT8KPSqeTKQL5QSwA== X-Google-Smtp-Source: AGHT+IEyLN+gQIkI+UXrKDL+5Y9BOtKsqoD+hs333Iojd3xp4TpR0JR9uWDVYrLWDM0sUixMNR/k1vqHh5z7oO5EFbU= X-Received: by 2002:a05:6102:11f2:b0:47c:1128:53e4 with SMTP id e18-20020a05610211f200b0047c112853e4mr1379744vsg.30.1713970544590; Wed, 24 Apr 2024 07:55:44 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 24 Apr 2024 16:55:32 +0200 Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] #[\Deprecated] attribute again v1.3 To: Lynn Cc: PHP Internals , "tim@tideways-gmbh.com" Content-Type: multipart/alternative; boundary="000000000000775df70616d8dd03" From: kontakt@beberlei.de (=?UTF-8?Q?Benjamin_Au=C3=9Fenhofer?=) --000000000000775df70616d8dd03 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2024 at 2:55=E2=80=AFPM Lynn wrote: > > > On Tue, Apr 23, 2024 at 3:30=E2=80=AFPM Benjamin Au=C3=9Fenhofer > wrote: > >> Hi internals, >> >> My PR for #[\Deprecated] attribute was in hibernation for a long while >> now and after some off-list discussion a few weeks ago I have decided to >> revisit it and asked Tim to help me out with the work. >> >> Tim has cleaned up the PR quite a bit and also worked in additional >> features such as #[Deprecated] support in stub generation. >> >> While there are still some small todos, at this point we want to restart >> the discussion about the RFC for inclusion in 8.4: >> >> RFC: https://wiki.php.net/rfc/deprecated_attribute >> PR: https://github.com/php/php-src/pull/11293 >> Old discussion: https://externals.io/message/112554#112554 >> >> Let me know about your questions and feedback. >> >> greetings >> Benjamin >> > > JetBrains was mentioned in the previous discussion but not sure if this > was considered in the RFC: > https://github.com/JetBrains/phpstorm-attributes/blob/master/src/Deprecat= ed.php > > Yes we considered it, but this is one implementation of a vendor, it might be conflicting with requirements of other projects and vendors. For the implementation and the engine itself this information is just "weight" that is carried around, so we decided not to add them, because its harder to decide on what to include than recommending tools to add their own supplemental attributes. --000000000000775df70616d8dd03 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Apr 24, 2024 at 2:55=E2=80=AF= PM Lynn <kjarli@gmail.com> wr= ote:

=
On Tue= , Apr 23, 2024 at 3:30=E2=80=AFPM Benjamin Au=C3=9Fenhofer <kontakt@beberlei.de> wr= ote:
Hi internals,

My PR for #[\Deprecated] attribute was in hibernation for a long whil= e now and after some off-list discussion a few weeks ago I have decided to = revisit it and asked Tim to help me out with the work.

=
Tim has cleaned up the PR quite a bit and also worked in additional fe= atures such as #[Deprecated] support in stub generation.

While there are still some small todos, at this point we want to res= tart the discussion about the RFC for inclusion in 8.4:

Let me know about your questions and feedback.

= greetings
Benjamin

Je= tBrains was mentioned in the previous discussion but not sure if this was c= onsidered in the RFC: https://github.com= /JetBrains/phpstorm-attributes/blob/master/src/Deprecated.php=C2=A0

Yes we considered it, but th= is is one implementation of a vendor, it might be conflicting with requirem= ents of other projects and vendors. For the implementation and the engine i= tself this information is just "weight" that is carried around, s= o we decided not to add them, because its harder to decide on what to inclu= de than recommending tools to add their own supplemental attributes.
<= /div>
--000000000000775df70616d8dd03--