Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123399 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 15A731A009C for ; Wed, 22 May 2024 07:39:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1716363629; bh=/pYD69hJJ++XFzEHNcrWc/G5tAb2KmXbpyzztcb++80=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DWP10zLOGt0HCrBHgltT6diwYyJVFSPWtTYtZWwqCnYr1gocrA1ntUpG3fbqs7V9x wBiCqOsNs6Jb8apsHq9M89fP2H8ynWiUbZwvRDPdCvNSnZsQsYaKoOBCLbhb/QCQ+A 9Som04+5pslgqLMv/mhf4IGvyl7bnnE8TSEY0pMUynl9BuB2/wOyoy1pZQ4TKFbdT4 QfCvBA9IcTGVSEZ2zWa/G5WvkryD+iiBdkPSvMMuzEKvZGOXMb1dFgvdgd1hdQKFpX UQyOPgxzU5uxkTn71KQZ6+8u8fSBF3Dz9uUTxNoESw2EJG12zee6GbkTwBY9dOc0Uh V+Rv1CSOSlLFQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5B509180061 for ; Wed, 22 May 2024 07:40:29 +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.7 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,URIBL_SBL_A 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-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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, 22 May 2024 07:40:25 +0000 (UTC) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2b432be5cc9so1025629a91.3 for ; Wed, 22 May 2024 00:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716363569; x=1716968369; 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=/pYD69hJJ++XFzEHNcrWc/G5tAb2KmXbpyzztcb++80=; b=frAJ/3iMwb8S6FrV5URTa6kDyai0RcA6IT2OJtbE5Hqsj8cQETfoLnvVtC/OInuSFt VzRnkzqCg4iKDxZjg5xfbNLaqgppUArUkwcbQNSA0jJLpXk8/Odbemd5iKHYZlcjNVKk uobWlfAIBziSlEeDrxpdhJepHU1UhNxhVK6xA8bbQaifIMuSeIDrvSCaXqUB8/bFCff8 OpNJkCPfBwsQZ9Cy9ReZRyavOLDJmut3JJ/jXEDlqafkfxiGT4nxyzOU/BZKQUzydYtr JuAdFZ1Ul7G7L8nXaxJxc8MpAQFq4YHY2K7wgjeUH/oaMOLitR+026avOcHWMKrp1s9j RfOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716363569; x=1716968369; 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=/pYD69hJJ++XFzEHNcrWc/G5tAb2KmXbpyzztcb++80=; b=m31ZUQtkJWca6provGdRYzeCWrTTtxsS/lFv/RXhbPwM6Q4YQrEhqc7S5+JEgDXq3Y Y/kEKWNkaGW7FBkAhStWMDSDMiGVnVxg/jFkrhHIpzOAuhse5Aaag8gnwGiSE26QfuKM SRh5XlrH9vik0EfdtyKW5UAljaanp7ugWSZn4PsVK3xkyEDfxdoxKReai+utYIozmGML LgnqMYVtHslSE/aqco1052S6JmT7txdk9/HoW3+jZnTD+XJeifXWZIvilomn9+0LBqhv OfsTLqpVCUUgbNT03wzigYTx/JugsFdjQEtxQhAQGMAgDg45wyUqyBo2V1W1ak8Vn0rD eK9Q== X-Gm-Message-State: AOJu0YxxbXBQM6KOQVbc+LzDjQ+0ysLY38jDE7zoPmnC2IdC4V/AXJgz BeLBLXkuTSiySWBUfnppVkPwaNegG/q+VCUqM67Ux6qM1DqfM4Aij3mUxO+6f7iybOYsxZN7a61 qkvTU1jSgc3sXSbMNJAi+woFxkyzvt7S5okA= X-Google-Smtp-Source: AGHT+IGJ8BVlgVMQVLfXGOd+wZ0PTAcGIcaj6v39Zoq+qecfba3QAgrzlwI0WzR17vZbjiqC1rO6pbvK8o29lmXJUGo= X-Received: by 2002:a17:90a:668e:b0:2ae:6cc7:23d8 with SMTP id 98e67ed59e1d1-2bd9f5a5a38mr1307425a91.41.1716363568750; Wed, 22 May 2024 00:39:28 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 22 May 2024 09:39:15 +0200 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="000000000000d229fa06190608f8" From: ocramius@gmail.com (Marco Pivetta) --000000000000d229fa06190608f8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Benjamin, I voted against it: * I very much like having reflection methods that work on internal symbols relying on `#[\Deprecated]`. I can rely on these in my static analysis tooling, test suites, decorators, dependency injection tools, etc. * I am still disagree with abusing global runtime effects (`E_DEPRECATED` / `E_USER_DEPRECATED`) to signal deprecations. Insert "PTSD Chihuaua" meme here regarding PHP and library upgrades I had to work on over the last decade. No: don't want. Don't add side-effects to otherwise functionally pure code. Marco Pivetta https://mastodon.social/@ocramius https://ocramius.github.io/ On Wed, 22 May 2024 at 09:23, 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. > --000000000000d229fa06190608f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Benjamin,

I voted agains= t it:

* I very much like having reflection methods= that work on internal symbols relying on `#[\Deprecated]`. I can rely on t= hese in my static analysis tooling, test suites, decorators, dependency inj= ection tools, etc.
* I am still disagree with abusing global = runtime effects (`E_DEPRECATED` / `E_USER_DEPRECATED`) to signal deprecatio= ns. Insert "PTSD Chihuaua" meme here regarding PHP and library up= grades I had to work on over the last decade. No: don't want. Don't= add side-effects to otherwise functionally pure code.

On Wed, 22 May= 2024 at 09:23, Benjamin Au=C3=9Fenhofer <kontakt@beberlei.de> wrote:
The vote for= the RFC #[\Deprecated] attribute=C2=A0is now open:

https://wiki.ph= p.net/rfc/deprecated_attribute

Voting will close on Wednesday 5t= h June, 08:00 GMT.
--000000000000d229fa06190608f8--