Concentrated issues

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

File Count Analysis
/app/Console/VersionCommand.php:249
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Undefined Classes
  •   Should Use Local Class
  •   Undefined Interfaces
  •   Method Could Be Static
/app/Template/board/table_column.php:1059
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Common Alternatives
  •   Could Make A Function
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/header/title.php:119
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Uses Default Values
  •   Should Typecast
  •   Could Make A Function
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/task_import/show.php:169
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Aliases Usage
  •   Wrong Number Of Arguments
  •   Undefined Variable
  •   Wrong Argument Type
  •   Repeated print()
/app/Template/user_import/show.php:339
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Aliases Usage
  •   Wrong Number Of Arguments
  •   Undefined Variable
  •   Wrong Argument Type
  •   Repeated print()
/app/Template/project_edit/show.php:38
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Common Alternatives
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/task/time_tracking_summary.php:108
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Could Make A Function
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/dashboard/projects.php:27
  •   Used Once Variables (In Scope)
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/dashboard/tasks.php:27
  •   Used Once Variables (In Scope)
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/notification/subtask_create.php:107
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Nested Ternary
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/notification/subtask_update.php:107
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Nested Ternary
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/task_recurrence/info.php:187
  •   Used Once Variables (In Scope)
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/board/task_footer.php:1276
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Common Alternatives
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/task/analytics.php:146
  •   Used Once Variables (In Scope)
  •   $this Belongs To Classes Or Traits
  •   Undefined Variable
  •   Wrong Argument Type
  •   Echo With Concat
  •   Used Once Variables
/app/Template/task/analytics.php:156
  •   Used Once Variables (In Scope)
  •   $this Belongs To Classes Or Traits
  •   Undefined Variable
  •   Wrong Argument Type
  •   Echo With Concat
  •   Used Once Variables
/app/Template/task_list/task_icons.php:946
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Common Alternatives
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/twofactor/index.php:76
  •   Used Once Variables (In Scope)
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/user_view/sessions.php:226
  •   Used Once Variables (In Scope)
  •   $this Belongs To Classes Or Traits
  •   Could Make A Function
  •   Undefined Variable
  •   Wrong Argument Type
  •   Empty Instructions
/app/Template/user_view/show.php:176
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Could Make A Function
  •   Undefined Variable
  •   Wrong Type For Native PHP Function
  •   Wrong Argument Type
/libs/jsonrpc/tests/HttpClientTest.php:76
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:86
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:96
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:106
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:116
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:126
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:136
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:146
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:156
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/jsonrpc/tests/HttpClientTest.php:166
  •   Invalid Constant Name
  •   Implied If
  •   Constants With Strange Names
  •   Preprocessable
  •   Logical Should Use Symbolic Operators
  •   Use const
/libs/phpqrcode/lib/PHPQRCode.php:76
  •   Used Once Variables (In Scope)
  •   Uses Default Values
  •   Wrong Type For Native PHP Function
  •   Could Use __DIR__
  •   Use Constant
  •   Used Once Variables