Problem/Motivation
Clean up a litany of code standards issues (mostly warnings) that crept in over years of patches and other changes.
Clean up a litany of code standards issues (mostly warnings) that crept in over years of patches and other changes.
Comments
Comment #3
mandclu commentedThere are still some issues in the DataType plugin and a number of warnings about t() and \Drupal calls, but this is sizeable step in the right direction.
Comment #4
marcvangendThe changes introduced by this commit in \Drupal\smart_date\Commands\SmartDateDrushCommands (lines 27-28 and 41-50, see GitLab) break all Drush commands on my installation:
With the help of
drush st -vvvI was able to trace this down to the SmartDate command file. Manually reverting the changes in SmartDateDrushCommands.php fixed the problem for me. I am marking this as critical because it leaves Drush completely broken.I'm using Drush 10.6.2 and PHP 8.0.14. Please let me know if you need more information to reproduce/fix this.
Comment #7
marcvangendThanks for the quick response. This fixes the problem.