Issue #3585855: Mark 8.x-1.x Redis passwords as sensitive

Related to #3585855

The 8.x-1.x branch still passes the Redis password as a separate $password argument. This marks that parameter as #[\SensitiveParameter] on the client interface and current client implementations.

This also marks the Sentinel askForMaster() password parameter in PhpRedis, since it receives the same password value.

Checked locally:

  • composer validate --no-check-publish
  • composer install --no-interaction
  • php -l over src
  • Reflection check that the password parameters have SensitiveParameter

Merge request reports

Loading