discoverygarden / dgi_fixity

Perform periodic fixity checks on selected files.
GNU General Public License v2.0
1 stars 5 forks source link

Remove psr logger interface. #12

Closed ruebot closed 10 months ago

ruebot commented 10 months ago

I get this in Drupal 10 with Drush 11.

PHP Fatal error:  Type of Drupal\dgi_fixity\Commands\FixityCheck::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /var/www/html/drupal/web/modules/contrib/dgi_fixity/src/Commands/FixityCheck.php on line 16

From what I can tell, it is a Drush 11 and Drupal 10 issue, and just removing this is a patch in a few instances. It's working for me on my end, and figured I'd share back. Though, not 100% sure it is the best fix.

Thanks for creating this module!

willtp87 commented 10 months ago

Thank you for the PR!