Fix PHP 8.4 deprecations
Implicitly nullable parameter declarations are deprecated in PHP 8.4. The proposed change is safe and is not considered by PHP as a signature change, see https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated
This can't pass the tests until PHP 8.4 is actually released, or it needs to specify the PHP version as 8.4-rc to use the beta version.
Test suite fails because xdebug is not yet available for PHP 8.4.
PHP8.4 is release now. Would be nice to merge this PR :-)
👍 Would love to see this merged as well.
i would also really appreciate the merge of this PR :)
We would appreciate a merge too ...
@cedric-anne deleted their branch, but thanks to @prigaux, a fork now exists that is maintained.
The easiest way I could find is to register the fork as a package to replace the official one:
"repositories": [
{
"type": "package",
"package": {
"name": "apereo/phpcas",
"version": "1.6.2",
"source": {
"type": "git",
"url": "https://github.com/EsupPortail/phpCAS",
"reference": "master"
}
}
}
],
"require": {
"apereo/phpcas": "1.6.2"
}
(Original comment)
FYI: As a temporary fix, it is possible to install cedric-anne's version by referencing the commit directly in your Composer configuration:
"require": {
"apereo/phpcas": "dev-master#77309b6a7f304a5f9e351bc52d8adc831989734f"
}
Where the hash is the latest commit as of today.
Note that if you also use
roave/security-advisories, this will not be installable.