Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116153 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 59235 invoked from network); 24 Sep 2021 16:16:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 24 Sep 2021 16:16:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 510F11804E3 for ; Fri, 24 Sep 2021 09:58:40 -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.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, 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-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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, 24 Sep 2021 09:58:39 -0700 (PDT) Received: by mail-wr1-f42.google.com with SMTP id t7so29280037wrw.13 for ; Fri, 24 Sep 2021 09:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=j2thys7MoBfYPfbJyKpNyeoTYjvRdM9u5ksOBlnc1ng=; b=XDzSAviXbCfstiQMwEEB8wfC3EsdZFoJI1ZG4hKw+wGRr/g1UNych5W5umWpFh7jOU qSk4rvnshrIN+wRTOR8vJMngxI1SIQ9NhknaynLFv5CHgAowN+734fysiiYb980Zm/bv 4xPrRJLIre1K4aY7LrdtZXJX0wydQCIlHAE0a41aOFe1oP20+Ab+6TNjlCEi+L30yMCK R0H+KfR8slHYSm+UEATlcWK72Up4YnoqFEUnKQt1rNJDJOMXqLpd3W2exR2N2rWPhQlQ OyApJJ/rO537lEXfmS80hRk6CFTiAxco/7/mhIoDX2X0BBB9U7PX3JOLT/9wFy06s6pL YElw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=j2thys7MoBfYPfbJyKpNyeoTYjvRdM9u5ksOBlnc1ng=; b=xNrkBJy2p4dDNmUhuslHFQaMS8HBzsKx+vJH2G1rNr3OQ2kMiZJfIRJwdQadnfUHdg g0Q32pQkeMRpTR63CNZXKvJrC8dWr8cYsS/2uJA8eb3tLIw9KBilqRdo5VnsGns64Wnw gMnrnVcVTidhH7J2nremuN+eUW6BDsVFBX68Ii4h7jA96GyctYq7VR77o8Srjl1zE85o LdOUaATxbKW7GWEkgm8Cw+UOAJWu0RObYzQ/K6el18Mi5WIZLQYw06Q1CT04106Se/IO 9LbHgaj0zbcUFICXVwxRVrj5ONmJCWgrYWhEfQ2oHTZ8LDty0Z9WDbg3Ev/D9olz+274 HVIA== X-Gm-Message-State: AOAM532nPTL8FlWVpO5KKyjEwIvRwABFDNAOVHup6LafV70S2tpKBEet /bvmtMeS+gGzxfPc8namtmo67J4B9UU= X-Google-Smtp-Source: ABdhPJwktE18bgKourTJomvrifmFwmaYDVdBnis2dSpTcosO3Undo72DmlKlhwzhipFQ8f1oOGz79Q== X-Received: by 2002:adf:d4cb:: with SMTP id w11mr12804160wrk.125.1632502718692; Fri, 24 Sep 2021 09:58:38 -0700 (PDT) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id 135sm13699494wma.32.2021.09.24.09.58.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Sep 2021 09:58:38 -0700 (PDT) To: internals@lists.php.net References: Message-ID: Date: Fri, 24 Sep 2021 17:58:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] BC breaking changes in PHP 8.1 From: rowan.collins@gmail.com (Rowan Tommins) On 24/09/2021 15:11, Larry Garfield wrote: > Might one possible way forward be to work with the PHPUnit folks to make deprecations not a test-breaking issue, but report them side-channel somehow? (Like "risky" tests now pass, but have an extra note on them.) That seems like it would resolve the "deprecations get turned into breaking changes immediately" problem, at least. There is already a "convertDeprecationsToExceptions" configuration setting, but it defaults to "true": https://phpunit.readthedocs.io/en/stable/configuration.html I disagree with that default, but presumably some people think it is a sensible one. Regards, -- Rowan Tommins [IMSoP]