Concentrated issues

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

File Count Analysis
/include/functions.inc.php:180313
  •   Used Once Variables (In Scope)
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Overwritten Literals
  •   Written Only Variables
  •   Assigned Twice
  •   Wrong Type For Native PHP Function
  •   Used Once Variables
/include/buddy.inc.php:308
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Unused Arguments
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/include/functions.inc.php:15098
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Unused Arguments
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/include/functions.inc.php:15718
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Unused Arguments
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/include/functions.inc.php:4727
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   No Boolean As Default
  •   No Class In Global
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/db/mysql.php:576
  •   Forgotten Visibility
  •   Wrong Optional Parameter
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/editprofile.php:2996
  •   Uses Default Values
  •   Wrong Parameter Type
  •   Unknown Pcre2 Option
  •   Nested Ifthen
  •   Inconsistent Elseif
  •   Wrong Type For Native PHP Function
/header.php:2096
  •   Undefined Constants
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Constants With Strange Names
  •   Preprocessable
  •   Use const
/header.php:2106
  •   Undefined Constants
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Constants With Strange Names
  •   Preprocessable
  •   Use const
/include/functions.inc.php:14386
  •   Used Once Variables (In Scope)
  •   Uses Default Values
  •   Useless Parenthesis
  •   Written Only Variables
  •   Wrong Type For Native PHP Function
  •   Used Once Variables
/member.php:5176
  •   Uses Default Values
  •   Wrong Parameter Type
  •   Unknown Pcre2 Option
  •   Nested Ifthen
  •   Inconsistent Elseif
  •   Wrong Type For Native PHP Function
/memcp.php:5296
  •   Uses Default Values
  •   Wrong Parameter Type
  •   Unknown Pcre2 Option
  •   Nested Ifthen
  •   Inconsistent Elseif
  •   Wrong Type For Native PHP Function
/misc.php:5056
  •   Used Once Variables (In Scope)
  •   Uses Default Values
  •   Useless Parenthesis
  •   Undefined Variable
  •   Wrong Type For Native PHP Function
  •   Used Once Variables