Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/includes/entity.controller.inc:8838
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Never Used Parameter
  •   Hidden Nullable
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Method Signature Must Be Compatible
/views/entity_views_example_query.php:668
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/views/entity_views_example_query.php:868
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/entity.module:14107
  •   Iffectations
  •   Buried Assignation
  •   Undefined Functions
  •   Drop Else After Return
  •   No Need For Else
  •   Inconsistent Elseif
  •   Use Class Operator
/includes/entity.controller.inc:3707
  •   Undefined Classes
  •   Undefined Interfaces
  •   Never Used Parameter
  •   Hidden Nullable
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Method Signature Must Be Compatible
/modules/callbacks.inc:2297
  •   Used Once Variables (In Scope)
  •   Wrong Optional Parameter
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
/views/entity_views_example_query.php:367
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/views/handlers/entity_views_field_handler_helper.inc:3197
  •   PHP Keywords As Names
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   Max Level Of Nesting
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/ctools/relationships/entity_property.inc:376
  •   Used Once Variables (In Scope)
  •   list() May Omit Variables
  •   Uses Default Values
  •   Written Only Variables
  •   Preprocessable
  •   Used Once Variables
/entity_token.tokens.inc:1686
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Class In Global
  •   Max Level Of Nesting
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/includes/entity.wrapper.inc:3946
  •   Undefined Constants
  •   Iffectations
  •   PHP Keywords As Names
  •   Buried Assignation
  •   Undefined Functions
  •   Merge If Then
/views/entity.views.inc:1326
  •   Never Used Parameter
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint