Closed (fixed)
Project:
Checklist API
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2022 at 11:23 UTC
Updated:
31 Oct 2022 at 16:54 UTC
Jump to comment: Most recent
Type of Drupal\checklistapi\Commands\ChecklistapiCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands)
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
Lal_Comment #4
nkoporecThe issue is fixed, setting as RTBC.
Comment #5
jcnventuraYes, this fixes it.. But not correctly. Better drop the logger attribute completely and use $this->logger() instead, like Drush itself does.
Comment #6
jcnventuraComment #7
jcnventuraSee #3278542: Update $logger definition to be compatible with Drupal 10 where @nkoporec did a 2nd commit very similar to my 2nd commit here.
Comment #8
nkoporecLooks good to me, setting as RTBC.
Comment #11
traviscarden commentedMerged. Thanks, everyone!