mediacurrent / theme_generator_8

Yeoman generator for Drupal Themes - lets you quickly set up a Drupal 8 theme with sensible defaults and best practices.
MIT License
100 stars 25 forks source link

BasicTwigExtensions.php file doesn't work with PSR4 #64

Closed damienmckenna closed 4 years ago

damienmckenna commented 4 years ago

The custom PatternLab extension file BasicTwigExtensions.php causes drupal-check to fail, due to its not adhering to PSR4 conventions.


 3/3 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ -------------------------------------------------------------------------------------------------------------- 
  Line   styleguide/drupal-twig/PatternLabTwigExtensions/BasicTwigExtensions.php                                       
 ------ -------------------------------------------------------------------------------------------------------------- 
         Class PatternLabTwigExtensions\BasicTwigExtensions was not found while trying to analyse it - autoloading is  
         probably not configured properly.                                                                             
 ------ -------------------------------------------------------------------------------------------------------------- 

 [ERROR] Found 1 error```
zhawkins commented 4 years ago

Fixed in release 2.3.0

Thanks Damien!