Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123489 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 E7B521A009C for ; Mon, 3 Jun 2024 13:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1717420591; bh=HPzqRBpqZxQvREiE3NIKKTz39Zrga9cBqDaqryqrZVA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dSbhviJLrlYFLIQL9s/gZY2COx07KqTMONVwX/PptcUcS0jc0IMvq+98QmybjSrfK VCYIFkS3CFikLOwsMBzZ/eX0k98GwxNQ8dARtVi5XoZXcll6+UblI6sgYhGZCLWLyq Emog63p1rsBQh/Shx5Uve/KfDlvV8Nq/aJzANsLAYyv1Hi5jlg02e3wv/Fie3AjaOj 31zBHpVxI9eGi7MzAZAPi/n2hKPyU0FcxGfYIMcrXsoTYKAcFurXlC0B+3l4dZfca5 mFhQ6bNZZF1yvqWYrQVztaWk/Zhapkq+tS5V9/1rzM6ZTROHt450I9luaN8CSucfyE lo41AzK5COmLg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 902C618004B for ; Mon, 3 Jun 2024 13:16:30 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 ; Mon, 3 Jun 2024 13:16:30 +0000 (UTC) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6f8f024a75cso2453440a34.0 for ; Mon, 03 Jun 2024 06:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717420526; x=1718025326; 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=HPzqRBpqZxQvREiE3NIKKTz39Zrga9cBqDaqryqrZVA=; b=VGTFr/ufW3HQaqQyskdxBTo6pN00+7LZ0et1Lon7AQ4/gM57VTWqmyDHtpiOB01Xvj C9lVDW5GtUgxn/gXeJAahjwqNW7xnDXkyYmd8E/esuSOTeeEBaipSJ4QGfnLRzHC3kmg YTDL9zWMIGVlgex1HfVbjaCHDBKbiS+kb9f+rtyCF67t3GOzK8M8dIpVao90ajEKNuGv Quz/RJcILxUYXDeC1mn9JhJR+TnGQKtusFU9MvTw9G1mxyvPYJRCfzxJ9VSLLqKWmaiE wKOpliYmDXbc2pdvMld+G/phaSjd6hiI4CRrmmx+nVAPY0ZDKjZtNKaAnCT4/n6rA/U6 c0JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717420526; x=1718025326; 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=HPzqRBpqZxQvREiE3NIKKTz39Zrga9cBqDaqryqrZVA=; b=n0o5KM3j+dgN7abf4q1yIW62286QT5YSFDizf/dRKfamCyEj3JIqcCJ9zu/1n2kwTI J1BUZjwYD2wDyGAVmdP3ENJ9VhJqHomtMaFjSp/Rp3ZC4ytdHpAiV4Y4kwjbAoZyzfFf di24lqhKTsPoAuFj7nhsGNai0bbg5vJabpIR5Vt6xQnFJPp9wqAU1Py1qS5rcCGano3z gPJ11DDeYDJboXgCF6Zgfz/loNiZrGzyKs/VU7syPgX2sQFRZS2jV7P7Gw74ecWK62Hl 3ShCklXSrtfiZTKHztbvXuZNMpkXK7K71q0DUX66MhF3vVts3dnJXVrlieyfblAxaYrn hwxg== X-Gm-Message-State: AOJu0Yxx7NtjaU/ikY3wnVlNHb5yQJwAB6C3QwBNrl65uiTjgmwIHI7B 55YYinq0p4RbIP+vQWf5Uee/jiAN8JN7t+LgWxuxxxZlZ1YuG4q+/yY9D2lA9WvaUhckPkoLGHk Hss6BvlwbE1woJkgm7BgZGprGM18= X-Google-Smtp-Source: AGHT+IFcvOc+AiSvyT6gqGEtMsTjzEouN34CtW11OcdvElXVf5CQ2wIERxAVb8DCFJQl8GLBXhm4WR2oczvnJTt7fLo= X-Received: by 2002:a9d:6211:0:b0:6f1:2e3d:d0c7 with SMTP id 46e09a7af769-6f911f48240mr9385011a34.17.1717420525856; Mon, 03 Jun 2024 06:15:25 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 3 Jun 2024 08:15:10 -0500 Message-ID: Subject: Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute To: =?UTF-8?Q?Benjamin_Au=C3=9Fenhofer?= Cc: PHP Internals Content-Type: multipart/alternative; boundary="0000000000005fb0470619fc20e3" From: mweierophinney@gmail.com ("Matthew Weier O'Phinney") --0000000000005fb0470619fc20e3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 22, 2024 at 2:24=E2=80=AFAM Benjamin Au=C3=9Fenhofer wrote: > The vote for the RFC #[\Deprecated] attribute is now open: > > https://wiki.php.net/rfc/deprecated_attribute > > Voting will close on Wednesday 5th June, 08:00 GMT. > I have voted no for a few reasons: - Ideally, I'd like to be able to mark _anything_ as deprecated. In particular, not being able to mark a _class/interface/enum/etc_ as deprecated makes this far less useful. - The "since" parameter is basically worthless to me. It's very easy to find out the last version that wasn't deprecated. What would be far more useful to a consumer is an argument indicating when something will be removed (e.g. $toRemoveInVersion, $versionForRemoval, etc.). This helps me as a user plan for the future. --=20 Matthew Weier O'Phinney mweierophinney@gmail.com https://mwop.net/ he/him --0000000000005fb0470619fc20e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, May 22, 2024 at 2:24=E2=80=AF= AM Benjamin Au=C3=9Fenhofer <kont= akt@beberlei.de> wrote:


I have voted no fo= r a few reasons:

- Ideally, I'd like to be abl= e to mark _anything_ as deprecated. In particular, not being able to mark a= _class/interface/enum/etc_ as deprecated makes this far less useful.
=

- The "since" parameter is basically worthles= s to me. It's very easy to find out the last version that wasn't de= precated. What would be far more useful to a consumer is an argument indica= ting when something will be removed (e.g. $toRemoveInVersion, $versionForRe= moval, etc.). This helps me as a user plan for the future.
--0000000000005fb0470619fc20e3--