Concentrated issues

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

File Count Analysis
/lib/db/cursor.php:6711
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   Hidden Nullable
/lib/db/cursor.php:7611
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   Hidden Nullable
/lib/image.php:37510
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Buried Assignation
  •   Written Only Variables
  •   Undefined Variable
  •   Pre-increment
/lib/cli/ws.php:1639
  •   Several Instructions On The Same Line
  •   Buried Assignation
  •   Adding Zero
  •   Wrong Parameter Type
  •   Unconditional Break In Loop
  •   Undefined Variable
  •   Preprocessable
/lib/db/cursor.php:969
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/base.php:30638
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Hidden Nullable
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/lib/base.php:31248
  •   Forgotten Visibility
  •   Never Used Parameter
  •   Hidden Nullable
  •   Max Level Of Nesting
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Method Signature Must Be Compatible
/lib/cli/ws.php:1648
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Wrong Parameter Type
  •   Undefined Variable
  •   @ Operator
  •   Preprocessable
/lib/db/jig/mapper.php:1598
  •   Forgotten Visibility
  •   Never Used Parameter
  •   Hidden Nullable
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
  •   Method Signature Must Be Compatible
/lib/db/sql/session.php:1708
  •   Forgotten Visibility
  •   Parent First
  •   Never Used Parameter
  •   No Boolean As Default
  •   Don't Send $this In Constructor
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Incompatible Signature Methods With Covariance
/lib/magic.php:398
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/magic.php:468
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
  •   Useless Referenced Argument
/lib/web.php:6858
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
  •   Mismatched Typehint
/lib/audit.php:497
  •   Forgotten Visibility
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/base.php:2407
  •   Forgotten Visibility
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/base.php:3027
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Useless Referenced Argument
/lib/base.php:7147
  •   Forgotten Visibility
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/base.php:13317
  •   Forgotten Visibility
  •   Methods Without Return
  •   Unused Arguments
  •   Never Used Parameter
  •   Hidden Nullable
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/lib/base.php:15097
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/lib/base.php:20007
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/lib/base.php:21267
  •   Forgotten Visibility
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/base.php:29167
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Hidden Nullable
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/lib/db/cursor.php:587
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/db/cursor.php:1037
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/db/cursor.php:1767
  •   Forgotten Visibility
  •   Unused Arguments
  •   No Return Used
  •   Never Used Parameter
  •   Hidden Nullable
  •   Mismatched Typehint
/lib/db/sql.php:1487
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/lib/magic.php:317
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/magic.php:537
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Empty Function
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/matrix.php:1107
  •   Forgotten Visibility
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/web.php:1857
  •   Uses Default Values
  •   PHP Keywords As Names
  •   Wrong Parameter Type
  •   Could Make A Function
  •   Multiple Type Variable
  •   Preprocessable
/lib/web.php:9637
  •   Forgotten Visibility
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/base.php:12836
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Hidden Nullable
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/db/jig/mapper.php:4356
  •   Forgotten Visibility
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Method Signature Must Be Compatible
/lib/db/mongo.php:666
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Non Nullable Getters
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/db/mongo/mapper.php:3046
  •   Forgotten Visibility
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Method Signature Must Be Compatible
/lib/db/sql/mapper.php:5916
  •   Forgotten Visibility
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
  •   Method Signature Must Be Compatible
/lib/image.php:5856
  •   Forgotten Visibility
  •   Useless Return
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/matrix.php:886
  •   Forgotten Visibility
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/smtp.php:1856
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/utf.php:656
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/utf.php:926
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/web.php:416
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/lib/web.php:1716
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
/lib/web.php:2566
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/lib/web.php:5766
  •   Forgotten Visibility
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/lib/web/openid.php:1446
  •   Forgotten Visibility
  •   Unused Arguments
  •   Never Used Parameter
  •   Hidden Nullable
  •   Mismatched Default Arguments
  •   Mismatched Typehint