[PHP-DEV] Re: [PHP-CVS] [php-src] master: Deprecate implicit nullable parameter types (#12959)

See Prepare dependencies for deprecation of implicitly nullable parameter types in PHP 8.4 · Issue #5719 · sebastianbergmann/phpunit · GitHub.

···

Am 14.03.2024 um 14:07 schrieb Matteo Beccati:

In my daily CI I have several builds failing today, eg.

* PHPUnit 9.6

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: 2:

···

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

https://github.com/PHPCompatibility/PHPCompatibility
https://phpc.social/@jrf_nl/112091061544484825

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 Prepare dependencies for deprecation of implicitly nullable parameter types in PHP 8.4 · Issue #5719 · sebastianbergmann/phpunit · GitHub.

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
--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

Am 14.03.2024 um 15:55 schrieb Matteo Beccati:

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

AFAICS, Do not use implicitly nullable parameters by sebastianbergmann · Pull Request #984 · nikic/PHP-Parser · GitHub has not made it into a release yet. But apart from that there are no open issues on PHPUnit's side.