Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.Problem/Motivation
Type of Drupal\key\Commands\KeyCommands::$logger must be ?Psr\Log\LoggerInterface
Steps to reproduce
Use the module with Drupal 10 / PHP 8.1.
Proposed resolution
Update function declaration for \Drupal\key\Commands\KeyCommands::$logger
Remaining tasks
- Create MR
- Review MR
- Merge MR
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork key-3278542
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ricovandevin commentedComment #4
nkoporecThe changes looks good, setting as RTBC.
Comment #6
rlhawkComment #7
nkoporecI have removed the custom logger and just use the default one provided by the DrushCommands that the KeyCommands extends.
Comment #8
rlhawkThis looks good.
Comment #9
rlhawkComment #11
rlhawk