Concentrated issues

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

File Count Analysis
/MPDF57/classes/tocontents.php:3928
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Unused Arguments
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/MPDF57/classes/form.php:6379
  •   Forgotten Visibility
  •   Methods Without Return
  •   PHP Keywords As Names
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/MPDF57/classes/tocontents.php:1068
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Unused Arguments
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/MPDF57/classes/cssmgr.php:3957
  •   Strict Comparison With Booleans
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Common Alternatives
  •   Logical To in_array
  •   Else If Versus Elseif
/MPDF57/classes/grad.php:1027
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/MPDF57/classes/grad.php:1997
  •   Several Instructions On The Same Line
  •   Adding Zero
  •   Overwritten Literals
  •   Common Alternatives
  •   Assigned Twice
  •   Wrong Type For Native PHP Function
/MPDF57/classes/grad.php:2047
  •   Several Instructions On The Same Line
  •   Adding Zero
  •   Overwritten Literals
  •   Common Alternatives
  •   Assigned Twice
  •   Wrong Type For Native PHP Function
/MPDF57/classes/grad.php:2097
  •   Several Instructions On The Same Line
  •   Adding Zero
  •   Overwritten Literals
  •   Common Alternatives
  •   Assigned Twice
  •   Wrong Type For Native PHP Function
/MPDF57/classes/ttfontsuni.php:2727
  •   Undefined Functions
  •   Uses Default Values
  •   Adding Zero
  •   Wrong Parameter Type
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
/MPDF57/classes/ttfontsuni.php:7537
  •   Forgotten Visibility
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Useless Referenced Argument
  •   Max Level Of Nesting
/MPDF57/classes/ttfontsuni.php:12327
  •   Forgotten Visibility
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Useless Referenced Argument
  •   Max Level Of Nesting
/MPDF57/compress.php:1687
  •   Uses Default Values
  •   Useless Parenthesis
  •   Print And Die
  •   Wrong Type For Native PHP Function
  •   Echo With Concat
  •   Preprocessable
/MPDF57/classes/cssmgr.php:1926
  •   Undefined Functions
  •   Uses Default Values
  •   PHP Keywords As Names
  •   Overwritten Literals
  •   No Empty Regex
  •   Invalid Regex
/MPDF57/classes/cssmgr.php:2946
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Nested Ifthen
  •   Repeated Regex
  •   Else If Versus Elseif
/MPDF57/classes/cssmgr.php:2956
  •   Strpos()-like Comparison
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Nested Ifthen
  •   Else If Versus Elseif
/MPDF57/classes/cssmgr.php:2966
  •   Strpos()-like Comparison
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Nested Ifthen
  •   Else If Versus Elseif
/MPDF57/classes/cssmgr.php:3116
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Nested Ifthen
  •   Repeated Regex
  •   Else If Versus Elseif
/MPDF57/classes/cssmgr.php:3126
  •   Strpos()-like Comparison
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Nested Ifthen
  •   Else If Versus Elseif
/MPDF57/classes/cssmgr.php:3136
  •   Strpos()-like Comparison
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Nested Ifthen
  •   Else If Versus Elseif
/MPDF57/classes/cssmgr.php:6906
  •   Undefined Functions
  •   Uses Default Values
  •   Could Make A Function
  •   Should Make Ternary
  •   Repeated Regex
  •   Avoid Substr() One
/MPDF57/classes/cssmgr.php:6976
  •   Undefined Functions
  •   Uses Default Values
  •   Could Make A Function
  •   Should Make Ternary
  •   Repeated Regex
  •   Avoid Substr() One
/MPDF57/classes/cssmgr.php:10356
  •   Forgotten Visibility
  •   Methods Without Return
  •   Should Use Local Class
  •   Useless Referenced Argument
  •   Method Could Be Static
  •   Max Level Of Nesting
/MPDF57/classes/directw.php:1876
  •   Undefined Constants
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Used Once Variables
  •   Useless Parenthesis
  •   Undefined Variable
/MPDF57/classes/form.php:8096
  •   Wrong Optional Parameter
  •   Forgotten Visibility
  •   Methods Without Return
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/MPDF57/classes/grad.php:126
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/MPDF57/classes/grad.php:1386
  •   Several Instructions On The Same Line
  •   Switch To Switch
  •   Return True False
  •   Nested Ifthen
  •   Should Make Ternary
  •   Else If Versus Elseif
/MPDF57/classes/grad.php:4506
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Return True False
  •   Should Make Ternary
  •   Assigned Twice
/MPDF57/classes/grad.php:4906
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Assigned Twice
  •   Repeated Regex
  •   Else If Versus Elseif
/MPDF57/classes/grad.php:4926
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Assigned Twice
  •   Repeated Regex
  •   Else If Versus Elseif
/MPDF57/classes/grad.php:5916
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Assigned Twice
  •   Repeated Regex
  •   Else If Versus Elseif
/MPDF57/classes/grad.php:5936
  •   Undefined Functions
  •   Uses Default Values
  •   Overwritten Literals
  •   Assigned Twice
  •   Repeated Regex
  •   Else If Versus Elseif
/MPDF57/classes/svg.php:21606
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   Too Many Local Variables
  •   No Class In Global
  •   Don't Pollute Global Space
  •   Deep Definitions
/MPDF57/classes/svg.php:24366
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   No Class In Global
  •   Don't Pollute Global Space
  •   Deep Definitions
/MPDF57/classes/svg.php:24486
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   No Class In Global
  •   Don't Pollute Global Space
  •   Deep Definitions
/MPDF57/classes/ttfontsuni.php:246
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Constants With Strange Names
  •   Use const
  •   Don't Pollute Global Space
  •   Preprocessable
/MPDF57/classes/ttfontsuni.php:286
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Constants With Strange Names
  •   Use const
  •   Don't Pollute Global Space
  •   Preprocessable
/MPDF57/classes/ttfontsuni.php:316
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Constants With Strange Names
  •   Use const
  •   Don't Pollute Global Space
  •   Preprocessable
/MPDF57/classes/ttfontsuni.php:326
  •   Invalid Constant Name
  •   Multiple Constant Definition
  •   Constants With Strange Names
  •   Use const
  •   Don't Pollute Global Space
  •   Preprocessable
/MPDF57/classes/ttfontsuni.php:906
  •   Uses Default Values
  •   Or Die
  •   Buried Assignation
  •   Could Make A Function
  •   Exit() Usage
  •   Logical Should Use Symbolic Operators
/MPDF57/classes/ttfontsuni.php:3166
  •   Uses Default Values
  •   Or Die
  •   Buried Assignation
  •   Could Make A Function
  •   Exit() Usage
  •   Logical Should Use Symbolic Operators
/MPDF57/classes/ttfontsuni.php:4026
  •   Forgotten Visibility
  •   Methods Without Return
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/MPDF57/classes/ttfontsuni.php:5386
  •   Used Once Variables (In Scope)
  •   Could Be Static
  •   Useless Global
  •   Make Global A Property
  •   Undefined Variable
  •   Global Usage
/MPDF57/classes/ttfontsuni.php:7566
  •   Uses Default Values
  •   Or Die
  •   Buried Assignation
  •   Could Make A Function
  •   Exit() Usage
  •   Logical Should Use Symbolic Operators
/MPDF57/classes/ttfontsuni.php:12336
  •   Uses Default Values
  •   Or Die
  •   Buried Assignation
  •   Could Make A Function
  •   Exit() Usage
  •   Logical Should Use Symbolic Operators
/MPDF57/classes/ttfontsuni.php:20086
  •   Uses Default Values
  •   Or Die
  •   Buried Assignation
  •   Could Make A Function
  •   Exit() Usage
  •   Logical Should Use Symbolic Operators
/MPDF57/examples/example09_forms.php:1776
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   No Hardcoded Path
  •   Print And Die
  •   Exit() Usage
  •   Echo With Concat
/MPDF57/graph.php:496
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   Too Many Local Variables
  •   No Class In Global
  •   Max Level Of Nesting
  •   Don't Pollute Global Space
/MPDF57/graph.php:776
  •   Overwritten Literals
  •   Return True False
  •   Should Make Ternary
  •   Assigned Twice
  •   Logical To in_array
  •   Else If Versus Elseif