Drupal Coding Standard As Per 'Drupal-check'.

Created on 5 April 2023, over 1 year ago
------ ------------------------------------------------------------------ 
  Line   omega/omega-functions--admin.php                                  
 ------ ------------------------------------------------------------------ 
  169    PHPDoc tag @return has invalid value (): Unexpected token "\n ",  
         expected type at offset 109                                       
 ------ ------------------------------------------------------------------ 

 ------ ------------------------------------------------------------ 
  Line   omega/omega.theme                                           
 ------ ------------------------------------------------------------ 
  302    PHPDoc tag @param references unknown parameter: $variables  
 ------ ------------------------------------------------------------ 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/Export/OmegaExport.php                                       
 ------ ----------------------------------------------------------------------- 
  159    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  213    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  255    Method Drupal\omega\Export\OmegaExport::saveExport() should return     
         array but return statement is missing.                                 
  323    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  392    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  400    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  404    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  415    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  419    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  425    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  436    Variable $cssSource might not be defined.                              
  450    Variable $providerPath might not be defined.                           
  461    Variable $cssFilePath might not be defined.                            
  541    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  552    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  560    Binary operation "." between '/home/gai/drupalโ€ฆ' and array results     
         in an error.                                                           
  567    Method Drupal\omega\Export\OmegaExport::getParentPath() should return  
         array but return statement is missing.                                 
  593    Binary operation "." between array and '/' results in an error.        
  749    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  780    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  797    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  801    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  984    Function drupal_get_path not found.                                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  989    Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  1008   Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
  1032   Function drupal_set_message not found.                                 
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols    
 ------ ----------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------- 
  Line   omega/src/Form/OmegaThemeSettingsForm.php                                 
 ------ -------------------------------------------------------------------------- 
  15     Class Drupal\omega\Settings\OmegaThemeSettingsForm extends @internal      
         class Drupal\system\Form\ThemeSettingsForm.                               
  36     Property                                                                  
         Drupal\omega\Settings\OmegaThemeSettingsForm::$mimeTypeGuesser has        
         unknown class                                                             
         Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface   
         as its type.                                                              
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols       
  50     Parameter $mime_type_guesser of method                                    
         Drupal\omega\Settings\OmegaThemeSettingsForm::__construct() has           
         invalid type                                                              
         Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface.  
  50     Parameter $mime_type_guesser of method                                    
         Drupal\omega\Settings\OmegaThemeSettingsForm::__construct() has           
         invalid type                                                              
         Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface.  
  51     Method Drupal\system\Form\ThemeSettingsForm::__construct() invoked        
         with 4 parameters, 6 required.                                            
 ------ -------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/Layout/OmegaLayout.php                                     
 ------ --------------------------------------------------------------------- 
  107    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  110    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  121    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  124    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  140    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  141    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  144    Constant FILE_EXISTS_REPLACE not found.                              
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  144    Function file_unmanaged_save_data not found.                         
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  147    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  150    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  158    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  161    Call to deprecated function _omega_compile_css().                    
  163    Constant FILE_EXISTS_REPLACE not found.                              
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  163    Function file_unmanaged_save_data not found.                         
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  166    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  169    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  174    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  206    Deprecated in PHP 8.0: Required parameter $options follows optional  
         parameter $theme.                                                    
  306    Variable $regionname might not be defined.                           
  560    Access to an undefined property object::$base_themes.                
  597    Call to an undefined method                                          
         Drupal\Core\Theme\ActiveTheme::getBaseThemes().                      
  631    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  649    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  657    Deprecated in PHP 8.0: Required parameter $cols follows optional     
         parameter $empty_regions.                                            
 ------ --------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/Layout/OmegaLayoutInterface.php                            
 ------ --------------------------------------------------------------------- 
  35     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 139                                          
  50     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 136                                          
  68     Deprecated in PHP 8.0: Required parameter $options follows optional  
         parameter $theme.                                                    
  68     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 561                                          
  81     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 126                                          
  103    PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 160                                          
  110    PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 81                                           
  118    PHPDoc tag @return has invalid value (): Unexpected token "\n   ",   
         expected type at offset 94                                           
  132    Deprecated in PHP 8.0: Required parameter $cols follows optional     
         parameter $empty_regions.                                            
 ------ --------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/Style/OmegaStyle.php                                       
 ------ --------------------------------------------------------------------- 
  70     Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  75     Instantiated class Drupal\omega\Style\SassParser not found.          
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  78     Instantiated class Drupal\omega\Style\SassFile not found.            
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  80     Call to method get_file_contents() on an unknown class               
         Drupal\omega\Style\SassFile.                                         
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  81     Call to deprecated function _omega_compile_css().                    
  86     Constant FILE_EXISTS_REPLACE not found.                              
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  86     Function file_unmanaged_save_data not found.                         
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  89     Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  92     Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  112    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  151    Constant FILE_EXISTS_REPLACE not found.                              
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  151    Function file_unmanaged_save_data not found.                         
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  154    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  157    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  167    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  183    Call to deprecated function _omega_compile_css().                    
  193    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  194    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  214    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  215    Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  246    Access to an undefined property                                      
         Drupal\Core\Extension\Extension::$base_themes.                       
 ------ --------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------- 
  Line   omega/src/Style/OmegaStyleInterface.php                             
 ------ -------------------------------------------------------------------- 
  18     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",  
         expected type at offset 179                                         
  26     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",  
         expected type at offset 93                                          
  47     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",  
         expected type at offset 158                                         
  61     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",  
         expected type at offset 128                                         
  69     PHPDoc tag @return has invalid value (): Unexpected token "\n   ",  
         expected type at offset 223                                         
 ------ -------------------------------------------------------------------- 

 ------ ------------------------------------------------ 
  Line   omega/src/Theme/OmegaInfo.php                   
 ------ ------------------------------------------------ 
  33     Access to an undefined property                 
         Drupal\omega\Theme\OmegaInfo::$themes.          
  58     Access to an undefined property                 
         Drupal\omega\Theme\OmegaInfo::$themes.          
  71     Access to an undefined property                 
         Drupal\omega\Theme\OmegaInfo::$themes.          
  73     Call to an undefined method object::getName().  
  74     Access to an undefined property object::$info.  
 ------ ------------------------------------------------ 

 ------ ------------------------------------------------ 
  Line   omega/src/Theme/OmegaSettingsInfo.php           
 ------ ------------------------------------------------ 
  21     Access to an undefined property                 
         Drupal\omega\Theme\OmegaSettingsInfo::$themes.  
  36     Access to an undefined property                 
         Drupal\omega\Theme\OmegaSettingsInfo::$themes.  
 ------ ------------------------------------------------ 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/phpsass/Extensions/Compass/Compass.php                     
 ------ --------------------------------------------------------------------- 
  70     Function create_function not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
 ------ --------------------------------------------------------------------- 

 ------ ----------------------------------------------- 
  Line   omega/src/phpsass/Extensions/Compass/test.php  
 ------ ----------------------------------------------- 
  57     Variable $file might not be defined.           
  62     Variable $file might not be defined.           
 ------ ----------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/phpsass/Extensions/Own/Own.php                             
 ------ --------------------------------------------------------------------- 
  24     Function create_function not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
 ------ --------------------------------------------------------------------- 

 ------ ------------------------------------------------------------ 
  Line   omega/src/phpsass/SassParser.php                            
 ------ ------------------------------------------------------------ 
  552    Variable $token in empty() always exists and is not falsy.  
  624    Variable $source might not be defined.                      
 ------ ------------------------------------------------------------ 

 ------ -------------------------------------------------------- 
  Line   omega/src/phpsass/renderers/SassCompactRenderer.php     
 ------ -------------------------------------------------------- 
  89     Access to an undefined property SassNode::$important.   
  91     Access to an undefined property SassNode::$name.        
  91     Access to an undefined property SassNode::$value.       
  122    Access to an undefined property SassNode::$filename.    
  122    Access to an undefined property SassNode::$line.        
  136    Access to an undefined property SassNode::$selectors.   
  137    Call to an undefined method SassNode::isPlaceholder().  
 ------ -------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   omega/src/phpsass/renderers/SassCompressedRenderer.php                
 ------ ---------------------------------------------------------------------- 
  67     Access to an undefined property SassNode::$directive.                 
  88     Access to an undefined property SassNode::$important.                 
  90     Access to an undefined property SassNode::$name.                      
  90     Access to an undefined property SassNode::$value.                     
  103    Method SassCompressedRenderer::renderRule() should return string but  
         return statement is missing.                                          
  116    Access to an undefined property SassNode::$selectors.                 
  117    Call to an undefined method SassNode::isPlaceholder().                
 ------ ---------------------------------------------------------------------- 

 ------ ------------------------------------------------------ 
  Line   omega/src/phpsass/renderers/SassExpandedRenderer.php  
 ------ ------------------------------------------------------ 
  50     Access to an undefined property SassNode::$value.     
 ------ ------------------------------------------------------ 

 ------ -------------------------------------------------------- 
  Line   omega/src/phpsass/renderers/SassNestedRenderer.php      
 ------ -------------------------------------------------------- 
  41     Access to an undefined property SassNode::$level.       
  52     Access to an undefined property SassNode::$directive.   
  65     Access to an undefined property SassNode::$selectors.   
  66     Call to an undefined method SassNode::isPlaceholder().  
 ------ -------------------------------------------------------- 

 ------ ------------------------------------------------------------------- 
  Line   omega/src/phpsass/renderers/SassRenderer.php                       
 ------ ------------------------------------------------------------------- 
  51     Method SassRenderer::getRenderer() should return SassRenderer but  
         return statement is missing.                                       
 ------ ------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/SassScriptFunction.php                      
 ------ --------------------------------------------------------------------- 
  139    Cannot cast object to string.                                        
  201    Deprecated in PHP 8.0: Required parameter $context follows optional  
         parameter $include_null.                                             
 ------ --------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/SassScriptFunctions.php                       
 ------ ----------------------------------------------------------------------- 
  97     PHPDoc tag @param has invalid value (SassColour a SassColour object):  
         Unexpected token "a", expected variable at offset 651                  
  97     PHPDoc tag @param has invalid value (SassNumber The alpha channel. A   
         number between 0 and 1.): Unexpected token "The", expected variable    
         at offset 551                                                          
  97     PHPDoc tag @param has invalid value (SassNumber The alpha channel. A   
         number between 0 and 1.): Unexpected token "The", expected variable    
         at offset 694                                                          
  97     PHPDoc tag @param has invalid value (SassNumber the blue component.    
         A number between 0 and 255 inclusive, or between 0% and 100%           
         inclusive): Unexpected token "the", expected variable at offset 432    
  97     PHPDoc tag @param has invalid value (SassNumber the green component.   
         A number between 0 and 255 inclusive, or between 0% and 100%           
         inclusive): Unexpected token "the", expected variable at offset 312    
  97     PHPDoc tag @param has invalid value (SassNumber the red component.     
         A number between 0 and 255 inclusive, or between 0% and 100%           
         inclusive): Unexpected token "the", expected variable at offset 194    
  362    Default value of the parameter #3 $ofCurrent (false) of method         
         SassScriptFunctions::lighten() is incompatible with type SassBoolean.  
  383    Default value of the parameter #3 $ofCurrent (false) of method         
         SassScriptFunctions::darken() is incompatible with type SassBoolean.   
  404    PHPDoc tag @param references unknown parameter: $ofCurrentWhether      
  425    Default value of the parameter #3 $ofCurrent (false) of method         
         SassScriptFunctions::desaturate() is incompatible with type            
         SassBoolean.                                                           
  483    Default value of the parameter #3 $ofCurrent (false) of method         
         SassScriptFunctions::fade_in() is incompatible with type SassBoolean.  
  500    Default value of the parameter #3 $ofCurrent (false) of method         
         SassScriptFunctions::fade_out() is incompatible with type              
         SassBoolean.                                                           
  579    Default value of the parameter #3 $weight (string) of method           
         SassScriptFunctions::mix() is incompatible with type float.            
  611    Cannot access property $value on float.                                
  803    Access to an undefined property SassNumber::$units.                    
  820    Access to an undefined property SassNumber::$units.                    
  837    Access to an undefined property SassNumber::$units.                    
  854    Access to an undefined property SassNumber::$units.                    
  886    Access to an undefined property SassNumber::$units.                    
  938    Access to an undefined property SassNumber::$units.                    
  971    Cannot access property $value on string.                               
  997    PHPDoc tag @param has invalid value (string String to unquote):        
         Unexpected token "String", expected variable at offset 75              
  1013   PHPDoc tag @param has invalid value (SassList - the list to count):    
         Unexpected token "-", expected variable at offset 64                   
  1028   PHPDoc tag @param has invalid value (SassList - the list to get        
         from): Unexpected token "-", expected variable at offset 64            
  1028   PHPDoc tag @param has invalid value (SassNumber - the value to get):   
         Unexpected token "-", expected variable at offset 110                  
 ------ ----------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/SassScriptOperation.php                      
 ------ ---------------------------------------------------------------------- 
  86     PHPDoc tag @param has invalid value (mixed string: operator symbol;   
         array: operator token): Unexpected token "string", expected variable  
         at offset 64                                                          
  163    Method SassScriptOperation::perform() should return SassLiteral but   
         return statement is missing.                                          
  189    Method SassScriptOperation::__toString() should return string but     
         return statement is missing.                                          
 ------ ---------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/SassScriptParser.php                       
 ------ -------------------------------------------------------------------- 
  142    Access to private property SassScriptOperation::$operator.          
  143    Access to private property SassScriptOperation::$operator.          
  144    Class SassScriptOperation constructor invoked with 2 parameters, 1  
         required.                                                           
  164    Access to private property SassScriptOperation::$operator.          
  169    Access to private property SassScriptOperation::$operator.          
  173    Access to private property SassScriptOperation::$operator.          
  196    Access to private property SassScriptOperation::$operator.          
  197    Access to private property SassScriptOperation::$associativity.     
  197    Access to private property SassScriptOperation::$precedence.        
  197    Access to private property SassScriptOperation::$precedence.        
  198    Access to private property SassScriptOperation::$associativity.     
  198    Access to private property SassScriptOperation::$precedence.        
  198    Access to private property SassScriptOperation::$precedence.        
  212    Access to private property SassScriptOperation::$operator.          
 ------ -------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/literals/SassColour.php                    
 ------ -------------------------------------------------------------------- 
  345    Class SassColour referenced with incorrect case: sassColour.        
  345    Class SassLiteral referenced with incorrect case: sassLiteral.      
  345    PHPDoc tag @param has invalid value (mixed SassColour|SassNumber    
         value to add): Unexpected token "SassColour", expected variable at  
         offset 43                                                           
  373    Class SassColour referenced with incorrect case: sassColour.        
  399    Class SassColour referenced with incorrect case: sassColour.        
  399    PHPDoc tag @param has invalid value (mixed SassColour|SassNumber    
         value to multiply by): Unexpected token "SassColour", expected      
         variable at offset 49                                               
  425    Class SassColour referenced with incorrect case: sassColour.        
  451    Class SassColour referenced with incorrect case: sassColour.        
  476    Class SassColour referenced with incorrect case: sassColour.        
  501    Class SassColour referenced with incorrect case: sassColour.        
  526    Class SassColour referenced with incorrect case: sassColour.        
  550    Class SassColour referenced with incorrect case: sassColour.        
  564    Class SassColour referenced with incorrect case: sassColour.        
  564    Class SassNumber referenced with incorrect case: sassNumber.        
  581    Class SassColour referenced with incorrect case: sassColour.        
  581    Class SassNumber referenced with incorrect case: sassNumber.        
  630    Cannot access property $value on float.                             
  646    Cannot access property $value on float.                             
  663    Cannot access property $value on float.                             
  680    Cannot access property $value on float.                             
  697    Cannot access property $value on int.                               
  714    Cannot access property $value on int.                               
  731    Cannot access property $value on int.                               
  901    Variable $h might not be defined.                                   
  921    Method SassColour::assertValid() should return string but return    
         statement is missing.                                               
 ------ -------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/literals/SassLiteral.php                      
 ------ ----------------------------------------------------------------------- 
  45     Deprecated in PHP 8.0: Required parameter $context follows optional    
         parameter $value.                                                      
  48     Access to an undefined property SassLiteral::$context.                 
  107    Class SassLiteral referenced with incorrect case: sassLiteral.         
  109    Access to an undefined property SassLiteral::$children.                
  117    Class SassLiteral referenced with incorrect case: sassLiteral.         
  117    Class SassString referenced with incorrect case: sassString.           
  127    Class SassString referenced with incorrect case: sassString.           
  137    Class SassString referenced with incorrect case: sassString.           
  147    Class SassString referenced with incorrect case: sassString.           
  233    Class SassLiteral referenced with incorrect case: sassLiteral.         
  243    Class SassLiteral referenced with incorrect case: sassLiteral.         
  259    Class SassLiteral referenced with incorrect case: sassLiteral.         
  280    Class SassLiteral referenced with incorrect case: sassLiteral.         
  291    Class SassLiteral referenced with incorrect case: sassLiteral.         
  302    Class SassLiteral referenced with incorrect case: sassLiteral.         
  313    Class SassLiteral referenced with incorrect case: sassLiteral.         
  324    Class SassLiteral referenced with incorrect case: sassLiteral.         
  335    Class SassLiteral referenced with incorrect case: sassLiteral.         
  345    Class SassLiteral referenced with incorrect case: sassLiteral.         
  345    Class SassString referenced with incorrect case: sassString.           
  355    Class SassLiteral referenced with incorrect case: sassLiteral.         
  355    Class SassString referenced with incorrect case: sassString.           
  366    PHPDoc tag @param references unknown parameter: $other                 
  384    Binary operation "." between array and ' must be between ' results in  
         an error.                                                              
 ------ ----------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/literals/SassNumber.php                       
 ------ ----------------------------------------------------------------------- 
  84     PHPDoc tag @param has invalid value (string number): Unexpected token  
         "number", expected variable at offset 92                               
  115    Class SassLiteral referenced with incorrect case: sassLiteral.         
  115    PHPDoc tag @param has invalid value (mixed SassNumber|SassColour:      
         value to add): Unexpected token "SassNumber", expected variable at     
         offset 72                                                              
  129    Access to an undefined property SassNumber::$units.                    
  148    PHPDoc tag @param has invalid value (mixed SassNumber|SassColour:      
         value to subtract): Unexpected token "SassNumber", expected variable   
         at offset 72                                                           
  157    Access to an undefined property SassNumber::$units.                    
  167    Access to an undefined property SassNumber::$units.                    
  181    PHPDoc tag @param has invalid value (mixed SassNumber|SassColour:      
         value to multiply by): Unexpected token "SassNumber", expected         
         variable at offset 71                                                  
  201    PHPDoc tag @param has invalid value (mixed SassNumber|SassColour:      
         value to divide by): Unexpected token "SassNumber", expected variable  
         at offset 68                                                           
  225    Class SassLiteral referenced with incorrect case: sassLiteral.         
  243    Class SassLiteral referenced with incorrect case: sassLiteral.         
  258    Class SassLiteral referenced with incorrect case: sassLiteral.         
  273    Class SassLiteral referenced with incorrect case: sassLiteral.         
  288    Class SassLiteral referenced with incorrect case: sassLiteral.         
  584    Access to an undefined property SassNumber::$units.                    
  615    PHPDoc tag @param has invalid value (int - the nth position of         
         value): Unexpected token "-", expected variable at offset 69           
 ------ ----------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/script/literals/SassString.php                       
 ------ ----------------------------------------------------------------------- 
  37     PHPDoc tag @param has invalid value (string string): Unexpected token  
         "string", expected variable at offset 46                               
  56     Class SassLiteral referenced with incorrect case: sassLiteral.         
  56     Class SassString referenced with incorrect case: sassString.           
  56     PHPDoc tag @param has invalid value (sassString string to add to       
         this): Unexpected token "string", expected variable at offset 149      
  69     Class SassNumber referenced with incorrect case: sassNumber.           
  69     Class SassString referenced with incorrect case: sassString.           
  82     Class SassLiteral referenced with incorrect case: sassLiteral.         
  144    PHPDoc tag @param has invalid value (string the subject string):       
         Unexpected token "the", expected variable at offset 135                
 ------ ----------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   omega/src/phpsass/tests/phpSassTest.php                               
 ------ ---------------------------------------------------------------------- 
  7      Class PHPSass_TestCase extends unknown class                          
         PHPUnit_Framework_TestCase.                                           
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols   
  21     PHPSass_TestCase::setUp() calls parent::setUp() but PHPSass_TestCase  
         does not extend any class.                                            
  61     Call to an undefined method PHPSass_TestCase::fail().                 
  64     Call to an undefined method PHPSass_TestCase::fail().                 
  85     Call to an undefined method PHPSass_TestCase::fail().                 
  91     Call to an undefined method PHPSass_TestCase::assertEquals().         
  391    Call to an undefined method PHPSass_TestCase::markTestIncomplete().   
  415    Call to an undefined method PHPSass_TestCase::assertEquals().         
 ------ ---------------------------------------------------------------------- 

 ------ ------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassCommentNode.php                   
 ------ ------------------------------------------------------------- 
  58     Access to an undefined property SassCommentNode::$renderer.  
 ------ ------------------------------------------------------------- 

 ------ ------------------------------------------------------------------ 
  Line   omega/src/phpsass/tree/SassContext.php                            
 ------ ------------------------------------------------------------------ 
  57     PHPDoc tag @param has invalid value (SassContext - the enclosing  
         context): Unexpected token "-", expected variable at offset 58    
  189    Class SassLiteral referenced with incorrect case: sassLiteral.    
 ------ ------------------------------------------------------------------ 

 ------ --------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassDebugNode.php                             
 ------ --------------------------------------------------------------------- 
  48     Default value of the parameter #2 $message (false) of method         
         SassDebugNode::__construct() is incompatible with type array.        
  48     PHPDoc tag @param has invalid value (mixed string: an internally     
         generated warning message about the                                  
         source                                                               
         boolean: the source token is a @debug or @warn directive containing  
         the                                                                  
         message; True if this is a @warn directive): Unexpected token        
         "string", expected variable at offset 81                             
  91     Access to an undefined property SassDebugNode::$filename.            
  91     Access to an undefined property SassDebugNode::$line.                
  91     Access to an undefined property SassDebugNode::$source.              
 ------ --------------------------------------------------------------------- 

 ------ --------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassDirectiveNode.php                   
 ------ --------------------------------------------------------------- 
  66     Access to an undefined property SassDirectiveNode::$renderer.  
 ------ --------------------------------------------------------------- 

 ------ ----------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassExtendNode.php                  
 ------ ----------------------------------------------------------- 
  49     Call to an undefined method SassNode::extend().            
  49     Call to an undefined method SassNode::resolveSelectors().  
 ------ ----------------------------------------------------------- 

 ------ ------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassFunctionDefinitionNode.php              
 ------ ------------------------------------------------------------------- 
  104    PHPDoc tag @param has invalid value (SassContext - the parent      
         context): Unexpected token "-", expected variable at offset 105    
  104    PHPDoc tag @param has invalid value (array - the list of provided  
         variables): Unexpected token "-", expected variable at offset 144  
  116    Access to an undefined property SassReturn::$value.                
 ------ ------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassIfNode.php                                  
 ------ ----------------------------------------------------------------------- 
  58     PHPDoc tag @param has invalid value (SassIfNode "else" statement node  
         to add): Unexpected token "\"else\"", expected variable at offset 71   
 ------ ----------------------------------------------------------------------- 

 ------ ---------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassImportNode.php                 
 ------ ---------------------------------------------------------- 
  67     Access to an undefined property SassImportNode::$parser.  
  78     Access to an undefined property SassImportNode::$parser.  
  86     Access to an undefined property SassImportNode::$parser.  
  87     Access to an undefined property SassImportNode::$parser.  
  97     Call to an undefined method SassNode::parse().            
 ------ ---------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassMediaNode.php                               
 ------ ----------------------------------------------------------------------- 
  49     PHPDoc tag @param has invalid value (mixed string: an internally       
         generated warning message about the                                    
         source                                                                 
         boolean: the source token is a @Media or @warn directive containing    
         the                                                                    
         message; True if this is a @warn directive): Unexpected token          
         "string", expected variable at offset 81                               
  78     Class SassRuleNode constructor invoked with 2 parameters, 1 required.  
 ------ ----------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassMixinNode.php                               
 ------ ----------------------------------------------------------------------- 
  71     Access to private property SassMixinDefinitionNode::$args.             
  77     PHPDoc tag @var has invalid value ($child SassNode): Unexpected token  
         "$child", expected type at offset 9                                    
  103    Call to an undefined method SassNode::resolveSelectors().              
 ------ ----------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassNode.php                                    
 ------ ----------------------------------------------------------------------- 
  264    Access to an undefined property SassNode::$parser.                     
  273    Access to an undefined property SassParser::$propertySyntax.           
  282    Access to an undefined property SassNode::$script.                     
  291    Access to an undefined property SassNode::$renderer.                   
  310    PHPDoc tag @param has invalid value (boolean true if the node is in a  
         directive, false if not): Unexpected token "true", expected variable   
         at offset 94                                                           
  323    PHPDoc tag @param has invalid value (boolean true if this node is in   
         a SassScript directive, false if not): Unexpected token "true",        
         expected variable at offset 105                                        
  348    Access to an undefined property SassNode::$script.                     
 ------ ----------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassPropertyNode.php                           
 ------ ---------------------------------------------------------------------- 
  97     Method SassNode::addWarning() invoked with 2 parameters, 1 required.  
  117    Access to an undefined property SassPropertyNode::$namespace.         
  137    Access to an undefined property SassPropertyNode::$renderer.          
 ------ ---------------------------------------------------------------------- 

 ------ ----------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassReturnNode.php            
 ------ ----------------------------------------------------- 
  61     Access to an undefined property SassNode::$parser.   
  62     Access to an undefined property SassNode::$script.   
  85     Access to an undefined property SassReturn::$value.  
 ------ ----------------------------------------------------- 

 ------ --------------------------------------------------------- 
  Line   omega/src/phpsass/tree/SassRuleNode.php                  
 ------ --------------------------------------------------------- 
  111    Call to an undefined method SassRenderer::renderRule().  
  122    Call to an undefined method SassNode::getExtenders().    
 ------ --------------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/theme-settings.php                                             
 ------ --------------------------------------------------------------------- 
  31     Access to an undefined property                                      
         Drupal\omega\Theme\OmegaSettingsInfo::$themes.                       
  174    Function drupal_set_message not found.                               
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
 ------ --------------------------------------------------------------------- 

 ------ ---------------------------------------------------- 
  Line   omega/theme-settings/core-settings.php              
 ------ ---------------------------------------------------- 
  20     Variable $force_theme_export might not be defined.  
  20     Variable $theme might not be defined.               
 ------ ---------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/theme-settings/debug-settings.php                              
 ------ --------------------------------------------------------------------- 
  16     Variable $theme might not be defined.                                
  18     Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  26     Variable $theme might not be defined.                                
  28     Function drupal_get_path not found.                                  
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
 ------ --------------------------------------------------------------------- 

 ------ ----------------------------------------------- 
  Line   omega/theme-settings/export-settings.php       
 ------ ----------------------------------------------- 
  52     Variable $omegaSettings might not be defined.  
  94     Variable $omegaSettings might not be defined.  
  118    Variable $theme might not be defined.          
 ------ ----------------------------------------------- 

 ------ ------------------------------------------- 
  Line   omega/theme-settings/general-settings.php  
 ------ ------------------------------------------- 
  23     Variable $theme might not be defined.      
  33     Variable $theme might not be defined.      
  42     Variable $theme might not be defined.      
  60     Variable $theme might not be defined.      
 ------ ------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   omega/theme-settings/layout-config.php                               
 ------ --------------------------------------------------------------------- 
  31     Variable $theme might not be defined.                                
  50     Variable $layouts might not be defined.                              
  64     Variable $theme might not be defined.                                
  74     Variable $theme might not be defined.                                
  84     Variable $theme might not be defined.                                
  88     Variable $theme might not be defined.                                
  98     Variable $theme might not be defined.                                
  127    Variable $theme might not be defined.                                
  140    Variable $theme might not be defined.                                
  142    Variable $theme might not be defined.                                
  167    Function taxonomy_vocabulary_get_names not found.                    
         ๐Ÿ’ก Learn more at https://phpstan.org/user-guide/discovering-symbols  
  172    Variable $theme might not be defined.                                
  185    Variable $theme might not be defined.                                
  187    Variable $theme might not be defined.                                
  260    Variable $theme might not be defined.                                
  273    Variable $theme might not be defined.                                
  275    Variable $theme might not be defined.                                
 ------ --------------------------------------------------------------------- 

 ------ ----------------------------------------------- 
  Line   omega/theme-settings/layout-settings.php       
 ------ ----------------------------------------------- 
  124    Variable $region_groups might not be defined.  
 ------ ----------------------------------------------- 

 ------ --------------------------------------- 
  Line   omega/theme-settings/omega-intro.php   
 ------ --------------------------------------- 
  3      Variable $theme might not be defined.  
 ------ --------------------------------------- 

 ------ ---------------------------------------- 
  Line   omega/theme-settings/scss-settings.php  
 ------ ---------------------------------------- 
  44     Variable $theme might not be defined.   
 ------ ---------------------------------------- 

 ------ ----------------------------------------- 
  Line   omega/theme-settings/style-settings.php  
 ------ ----------------------------------------- 
  20     Variable $theme might not be defined.    
 ------ ----------------------------------------- 

 ------ -------------------------------------------------------------------- 
  Line   omega/theme-settings/theme-settings--export-handlers.php            
 ------ -------------------------------------------------------------------- 
  39     Binary operation "." between 'The targetโ€ฆ' and array results in an  
         error.                                                              
 ------ -------------------------------------------------------------------- 

 ------ ----------------------------------------------- 
  Line   omega_tools/omega_tools.module                 
 ------ ----------------------------------------------- 
  19     Access to an undefined property                
         Drupal\Core\Extension\Extension::$operations.  
  56     Access to an undefined property                
         Drupal\Core\Extension\Extension::$operations.  
 ------ ----------------------------------------------- 

 [ERROR] Found 329 errors                                                       

Thanks for using drupal-check!
๐Ÿ› Bug report
Status

Needs work

Version

5.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Akshay kashyap

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024