JsonLD icon indicating copy to clipboard operation
JsonLD copied to clipboard

Make nullable parameters explicity nullable for PHP 8.4

Open emteknetnz opened this issue 1 year ago • 4 comments

Implicitly nullable parameter types are deprecated in PHP 8.4

https://www.php.net/manual/it/migration84.deprecated.php#migration84.deprecated.core.implicitly-nullable-parameter

emteknetnz avatar Dec 04 '24 04:12 emteknetnz

I could be wrong, but changes regarding PHP 8 are currently collected in the php8 branch. Further more information about this are here: https://github.com/lanthaler/JsonLD/pull/107#issuecomment-1262015707

k00ni avatar Dec 04 '24 06:12 k00ni

Have updated PR to merge into the php8 branch

emteknetnz avatar Dec 04 '24 20:12 emteknetnz

Quick workaround while PR is not merged:

composer req 'ml/json-ld:dev-php8#f87ba28e38f0bd14edf338fa5cf5529e6ed99cf8 as 1.3'

mingalevme avatar Dec 28 '24 13:12 mingalevme

Ping @lanthaler

k00ni avatar Dec 30 '24 06:12 k00ni

Thanks and sorry for the delay on this

lanthaler avatar Sep 09 '25 20:09 lanthaler