------ ---------------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/src/ComponentConverter.php                 
 ------ ---------------------------------------------------------------------- 
  202    Cannot access offset 1 on array<int, string>|false.                   
  230    \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
 ------ ---------------------------------------------------------------------- 
 ------ --------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/src/ComponentDiscovery.php          
 ------ --------------------------------------------------------------- 
  48     Parameter #1 $raw of static method                             
         Drupal\Component\Serialization\Yaml::decode() expects string,  
         string|false given.                                            
 ------ --------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/src/Drush/Commands/UiPatternsLegacyCommands.php   
 ------ ----------------------------------------------------------------------------- 
  34     Method                                                                       
         Drupal\ui_patterns_legacy\Drush\Commands\UiPatternsLegacyCommands::create()  
         has no return type specified.                                                
  98     Parameter #3 $subject of function str_replace expects array|string,          
         string|false given.                                                          
  109    Parameter #3 $subject of function preg_replace expects array|string,         
         string|false given.                                                          
  119    Parameter #1 $json of function json_decode expects string,                   
         string|false given.                                                          
 ------ ----------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/src/Element/ComponentElementAlter.php       
 ------ ----------------------------------------------------------------------- 
  27     \Drupal calls should be avoided in classes, use dependency injection   
         instead                                                                
  43     \Drupal calls should be avoided in classes, use dependency injection   
         instead                                                                
  52     \Drupal calls should be avoided in classes, use dependency injection   
         instead                                                                
  66     Method                                                                 
         Drupal\ui_patterns_legacy\Element\ComponentElementAlter::getStoryId()  
         should return string but returns int|string|null.                      
 ------ ----------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/src/RenderableConverter.php                
 ------ ---------------------------------------------------------------------- 
  158    \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
  187    \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
  209    Cannot access offset 'machineName' on                                 
         array|Drupal\Component\Plugin\Definition\PluginDefinitionInterface.   
 ------ ---------------------------------------------------------------------- 
 ------ -------------------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/src/StoryExtractor.php                         
 ------ -------------------------------------------------------------------------- 
  90     Method Drupal\ui_patterns_legacy\StoryExtractor::getPropFromSetting()     
         has parameter $key with no type specified.                                
  114    Method                                                                    
         Drupal\ui_patterns_legacy\StoryExtractor::getPropFromSelectSetting()      
         has parameter $key with no type specified.                                
  128    Method                                                                    
         Drupal\ui_patterns_legacy\StoryExtractor::getPropFromCheckboxesSetting()  
         has parameter $key with no type specified.                                
  156    Method Drupal\ui_patterns_legacy\StoryExtractor::convertAttributes()      
         has parameter $key with no type specified.                                
 ------ -------------------------------------------------------------------------- 
 ------ --------------------------------------------------------------------- 
  Line   modules/ui_patterns_legacy/ui_patterns_legacy.module                 
 ------ --------------------------------------------------------------------- 
  13     Function ui_patterns_legacy_element_info_alter() has no return type  
         specified.                                                           
Command icon 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

pdureau created an issue. See original summary.

pdureau’s picture

Status: Active » Needs review

  • pdureau committed b75e3e0c on 2.0.x
    Issue #3464287 by pdureau: Code quality: Legacy module
    
pdureau’s picture

Assigned: pdureau » Unassigned
Status: Needs review » Fixed
pdureau’s picture

Status: Fixed » Closed (fixed)