Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122641 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 84A661AD8F6 for ; Thu, 14 Mar 2024 15:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1710429314; bh=IWmkZ9fSocXWLarEu3RsbfiOq8DPIYdJBZp08/QBwAs=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=hB+AoKsgPbYUfHEPNL+J7VWhs6ZflmGCtCuar8RzxJF2c3oRsF/JMI7VzMHMWmD3/ PdXF8mwp9OAxVkJf4Xvx3nwzipmp178dvNSLAQ/5WOno9bx2ZytL9xQA4feiHxYaA6 Rvcxe3G/cqry7g4ch2FqQpYJt15MQYvv+nlpSvjqaB2XmKHKarKmj/otg5qpynovCh 3QFUA10gY5cMp1l9GL880V4Vt7ufor4wEWIW+rUxOmEh3lQ87M01ZmyzacW2z8oIr6 EOnE+zxq9/ZElXET2lsc2ZsPpHIFGWLx2KmZoCesDiKiXsTPSNpZAhXAq0oTZpUK5l 8Te7RkHkFDwXA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A07171806AC for ; Thu, 14 Mar 2024 15:15:13 +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=2.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING, HTML_MESSAGE,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from shrimp.cherry.relay.mailchannels.net (shrimp.cherry.relay.mailchannels.net [23.83.223.164]) (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 ; Thu, 14 Mar 2024 15:15:12 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|juliette@adviesenzo.nl Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 57715C36E0 for ; Thu, 14 Mar 2024 15:14:53 +0000 (UTC) Received: from nl1-ss105.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 4D53AC3682 for ; Thu, 14 Mar 2024 15:14:52 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1710429292; a=rsa-sha256; cv=none; b=VVASidxnVpL7MNITX7UxrM8MxpMj6Yb9xVOi3zpTKLlo0y0g/jxFHFOrU8qhGKeJzoeHtE 7bQX0GKq6kdgA+BDJm5x3iH+iXyoD5oOAj8El0iTX5Hyh2WXl5cxqNvrrtxJo1VgoM7YFD SPCkwjhtQhUzEtE9AOWfhnN61c21vkD5Ag1SAsa14BBoQks3a5YQf9aywbC87SGROfaEFT e4swQzpaYeKl2WlcfsrqzTsxITJZhxA95RHAT7dBZus7hsoosU/7Co3Qwlbm+7rCRxNYVH nIkAXnI2xHHZQijzj94/epya7SrFEOTKMgkB23tHzJF+pg9xT6stIJ5WFDwdIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1710429292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=riZlOUYSe9PgJZn4bZeeQAgbMm5hvGmkrnmKy1lskoo=; b=2BV4LfTs5CEKfc+ByRwHDNTCJqZn3CnCrZIcj5E3HzaSzVdd66bqc1RLjAW1g8PfQuJF8b 9L4cKr+a0i+9o6rbVjUauKbacGqLm1E8MQWT9LN3Fp9xWIgLyCJIJPZCQ7nmPjjAlDBszu A0IJwvj973QPGgtTcwS+GLRH2zV07nxFWIc15C/xypVubLWRvQ2SHbucf+Z0LaQfBe5AzP cdFeNnRvCWS87xz+XwRxPwEcRgIF5xg0F7OWSH0DjdiRFizsDlyCLK7SG+mY2JQ/R+jnMF sZ5xc6j2YZc406qBSDAvnVMqzyXwQofn6HodUoSvfcPDgzH35nUW5cixm2F+rA== ARC-Authentication-Results: i=1; rspamd-5f6b6bd7ff-zmxd5; auth=pass smtp.auth=a2hosting smtp.mailfrom=php-internals_nospam@adviesenzo.nl X-Sender-Id: a2hosting|x-authuser|juliette@adviesenzo.nl X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|juliette@adviesenzo.nl X-MailChannels-Auth-Id: a2hosting X-Squirrel-Slimy: 7b1ee122270b670a_1710429292888_191002952 X-MC-Loop-Signature: 1710429292888:712857504 X-MC-Ingress-Time: 1710429292888 Received: from nl1-ss105.a2hosting.com (nl1-ss105.a2hosting.com [85.187.142.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.122.162.95 (trex/6.9.2); Thu, 14 Mar 2024 15:14:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=adviesenzo.nl; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:Cc:References:To:Subject:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=riZlOUYSe9PgJZn4bZeeQAgbMm5hvGmkrnmKy1lskoo=; b=sGfkx+WZberPHToztyhZr0jsi4 NjmMLuw2oDdK6dD3yw4Dgo4RRzxkgo7bLVw6oZYyzRUvWg4bdmqGEeUyYeQzrCas3suAAaGfoNF8E P0LACIe8Y68se+xERqwuXkjyri2+VgNUGNgLtyp44cfhvx2BwkxzjpFWzfX9Bhd3cH1o=; Received: from mailnull by nl1-ss105.a2hosting.com with spam-scanner (Exim 4.96.2) (envelope-from ) id 1rkmnC-00HDLx-1S for internals@lists.php.net; Thu, 14 Mar 2024 16:14:50 +0100 X-ImunifyEmail-Filter-Info: UkNWRF9WSUFfU01UUF9BVVRIIFJDUFRfQ09VTlRfVEhSRUUg VE9fRE5 fU09NRSBWRVJJTE9DS19DQiBSQ1ZEX0NPVU5UX09ORSBCQVlFU19IQU 0gQVJDX05BIFRPX01BVENIX0VOVlJDUFRfU09NRSBNSU1FX1VOS05PV 04gTUlEX1JIU19NQVRDSF9GUk9NIEZST01fSEFTX0ROIFJDVkRfVExT X0FMTCBJRV9WTF9QQkxfQUNDT1VOVF8wNSBJRV9WTF9QQkxfQUNDT1V OVF8wMSBNSU1FX1RSQUNFIEZST01fRVFfRU5WRlJPTSBBU04= X-ImunifyEmail-Filter-Action: no action X-ImunifyEmail-Filter-Score: -3.19 X-ImunifyEmail-Filter-Version: 3.5.6/202403121717 Received: from [143.178.154.86] (port=58393 helo=[192.168.1.16]) by nl1-ss105.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rkmnC-00HDLT-2n; Thu, 14 Mar 2024 16:14:50 +0100 Subject: Re: [PHP-DEV] Re: [PHP-CVS] [php-src] master: Deprecate implicit nullable parameter types (#12959) To: Matteo Beccati , internals@lists.php.net References: <93d57585-30d9-4912-9b26-0c6a699a8b9d@beccati.com> <54f107c7-8b44-42b7-948c-95e4e56aa072@php.net> Cc: Sebastian Bergmann Message-ID: <65F31469.7010104@adviesenzo.nl> Date: Thu, 14 Mar 2024 16:14:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------000504010000030207080909" X-AuthUser: juliette@adviesenzo.nl From: php-internals_nospam@adviesenzo.nl (Juliette Reinders Folmer) This is a multi-part message in MIME format. --------------000504010000030207080909 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 14-3-2024 15:55, Matteo Beccati wrote: > Hi Sebastian, > > Il 14/03/2024 14:15, Sebastian Bergmann ha scritto: >> Am 14.03.2024 um 14:07 schrieb Matteo Beccati: >>> In my daily CI I have several builds failing today, eg. >>> >>> * PHPUnit 9.6 >> >> See https://github.com/sebastianbergmann/phpunit/issues/5719. > > thanks, I had a quick look in the open issues and didn't find anything. > > Kudos for looking into it way ahead of the actual merge of the PR to > master. > > > Cheers For whomever is interested: I've already worked up sniffs for PHPCompatibility [1] to flag the deprecation. The sniffs should be able to help find any issues with high precision. I'm waiting on an update of `git.master` on 3v4l.org [2] to validate the sniffs are matching the PHP native behaviour exactly. Once I have been able to validate, the sniffs will be made publicly available. (hopefully in a day or two) Smile, Juliette 1: https://github.com/PHPCompatibility/PHPCompatibility 2: https://phpc.social/@jrf_nl/112091061544484825 --------------000504010000030207080909 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On 14-3-2024 15:55, Matteo Beccati wrote:
Hi Sebastian,

Il 14/03/2024 14:15, Sebastian Bergmann ha scritto:
Am 14.03.2024 um 14:07 schrieb Matteo Beccati:
In my daily CI I have several builds failing today, eg.

* PHPUnit 9.6

See https://github.com/sebastianbergmann/phpunit/issues/5719.

thanks, I had a quick look in the open issues and didn't find anything.

Kudos for looking into it way ahead of the actual merge of the PR to master.


Cheers


For whomever is interested:

I've already worked up sniffs for PHPCompatibility [1] to flag the deprecation. The sniffs should be able to help find any issues with high precision.

I'm waiting on an update of `git.master` on 3v4l.org [2] to validate the sniffs are matching the PHP native behaviour exactly.
Once I have been able to validate, the sniffs will be made publicly available. (hopefully in a day or two)

Smile,
Juliette

1: https://github.com/PHPCompatibility/PHPCompatibility
2: https://phpc.social/@jrf_nl/112091061544484825
--------------000504010000030207080909--