Concentrated issues

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

File Count Analysis
/lib/Http2Driver.php:37610
  •   Undefined Constants
  •   Uses Default Values
  •   Could Make A Function
  •   Too Many Native Calls
  •   var_dump()... Usage
  •   Preprocessable
/lib/Root.php:5409
  •   Methods Without Return
  •   Must Return Methods
  •   Undefined Classes
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Method Could Be Static
  •   Should Make Alias
  •   Typehint Must Be Returned
  •   Missing New ?
/lib/Root.php:5469
  •   Methods Without Return
  •   Must Return Methods
  •   Undefined Classes
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Method Could Be Static
  •   Should Make Alias
  •   Typehint Must Be Returned
  •   Missing New ?
/lib/BodyParser.php:4728
  •   Iffectations
  •   Buried Assignation
  •   Mismatched Ternary Alternatives
  •   Nested Ifthen
  •   Assign And Compare
  •   Preprocessable
/lib/Http2Driver.php:8878
  •   Undefined Constants
  •   Uses Default Values
  •   Could Make A Function
  •   Too Many Native Calls
  •   Echo With Concat
  •   Preprocessable
/lib/Process.php:178
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Empty Function
  •   Must Return Methods
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
  •   Missing New ?
/lib/CommandClient.php:817
  •   Methods Without Return
  •   Must Return Methods
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
  •   Typehint Must Be Returned
  •   Missing New ?
/lib/Http2Driver.php:3957
  •   Must Return Methods
  •   Never Used Parameter
  •   Too Many Local Variables
  •   Typehint Must Be Returned
  •   Mismatched Default Arguments
  •   Missing New ?
  •   Method Signature Must Be Compatible
/lib/Root.php:5267
  •   Methods Without Return
  •   Must Return Methods
  •   Never Used Parameter
  •   Typehint Must Be Returned
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Missing New ?
/lib/Http2Driver.php:5046
  •   Undefined Constants
  •   Uses Default Values
  •   Could Make A Function
  •   Too Many Native Calls
  •   Echo With Concat
  •   Preprocessable
/lib/Logger.php:316
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/Process.php:186
  •   Methods Without Return
  •   Empty Function
  •   Must Return Methods
  •   Should Use Local Class
  •   Method Could Be Static
  •   Missing New ?
/lib/WatcherProcess.php:1436
  •   Uses Default Values
  •   Undefined Functions
  •   Check All Types
  •   Inconsistent Elseif
  •   Variable Is Not A Condition
  •   @ Operator
/lib/WatcherProcess.php:4106
  •   Methods Without Return
  •   Must Return Methods
  •   Undefined Classes
  •   Undefined Interfaces
  •   Typehint Must Be Returned
  •   Missing New ?
/lib/Websocket/Rfc6455Gateway.php:7166
  •   Must Return Methods
  •   Never Used Parameter
  •   Too Many Local Variables
  •   Typehint Must Be Returned
  •   Max Level Of Nesting
  •   Missing New ?
/lib/functions.php:4866
  •   Undefined Constants
  •   Iffectations
  •   PHP Keywords As Names
  •   Buried Assignation
  •   Overwritten Literals
  •   Undefined Functions
/lib/functions.php:5016
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Must Return Methods
  •   Unused Arguments
  •   Typehint Must Be Returned
  •   Missing New ?