Concentrated issues

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

File Count Analysis
/build/groups/templates/groupsdisplay.php:2412
  •   Used Once Variables (In Scope)
  •   $this Belongs To Classes Or Traits
  •   Undefined Functions
  •   Uses Default Values
  •   Wrong Number Of Arguments
  •   Undefined Variable
/build/groups/templates/groupsdisplay.php:2612
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Common Alternatives
  •   Could Make A Function
  •   Undefined Variable
  •   Empty Instructions
/src/LegacyKernel/LegacyHttpKernel.php:6812
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Undefined Classes
  •   Undefined Class Constants
  •   Undefined Interfaces
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/build/geo/templates/pages.php:2611
  •   Used Once Variables (In Scope)
  •   Useless Parenthesis
  •   Common Alternatives
  •   Use Positive Condition
  •   Undefined Variable
  •   Empty Instructions
/build/members/templates/member.teasercontent.php:11511
  •   $this Belongs To Classes Or Traits
  •   Undefined Functions
  •   Wrong Number Of Arguments
  •   Avoid get_class()
  •   Undefined Variable
  •   Use Class Operator
/build/members/templates/comment_template.php:11110
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Useless Instructions
  •   Common Alternatives
  •   Undefined Variable
  •   Concat Empty String
  •   Empty Instructions
/build/notify/templates/groupstart.php:3410
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   No Parenthesis For Language Construct
  •   Useless Parenthesis
  •   Undefined Variable
  •   Empty Instructions
/build/activities/templates/activitiesshow.column_col3.php:39
  •   $this Belongs To Classes Or Traits
  •   Undefined Functions
  •   Uses Default Values
  •   Useless Parenthesis
  •   Timestamp Difference
  •   Preprocessable
/build/admin/newmembers/adminnewmembers.ctrl.php:619
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Empty Function
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
/build/searchmembers/searchmembers.view.php:699
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/build/admin/templates/simplepie/library/SimplePie/IRI.php:3678
  •   Undefined Functions
  •   Uses Default Values
  •   PHP Keywords As Names
  •   Drop Else After Return
  •   Bail Out Early
  •   Long Arguments
  •   No Need For Else
  •   Possible Missing Subpattern
/build/forums/forums.ctrl.php:598
  •   Used Once Variables (In Scope)
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Different Argument Counts
  •   Max Level Of Nesting
  •   Method Signature Must Be Compatible
  •   Incompatible Signature Methods With Covariance
/build/forums/templates/singlepost.php:1008
  •   Repeated print()
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Undefined Functions
  •   Undefined Variable
  •   Empty Instructions
  •   Echo With Concat
/build/members/members.ctrl.php:6688
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/members/members.ctrl.php:7138
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/members/members.ctrl.php:7568
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/members/templates/comment_template.php:1908
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Useless Instructions
  •   Common Alternatives
  •   Undefined Variable
  •   Concat Empty String
  •   Empty Instructions
/build/members/templates/member.teasercontent.php:458
  •   Several Instructions On The Same Line
  •   Nested Ternary
  •   Useless Parenthesis
  •   Variable Is Not A Condition
  •   Undefined Variable
  •   Empty Instructions
/Mike42/Wikitext/WikitextParser.php:1747
  •   Used Once Variables (In Scope)
  •   Undefined Functions
  •   PHP Keywords As Names
  •   Used Once Variables
  •   Written Only Variables
  •   Useless Instructions
  •   Buried Assignation
/build/admin/massmail/adminmassmail.ctrl.php:647
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/admin/massmail/adminmassmail.ctrl.php:1717
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
  •   Modified Typed Parameter
/build/admin/templates/simplepie/library/SimplePie/Misc.php:987
  •   Undefined Constants
  •   Undefined Functions
  •   Uses Default Values
  •   PHP Keywords As Names
  •   Nested Ifthen
  •   Possible Missing Subpattern
  •   Wrong Type For Native PHP Function
/build/admin/templates/simplepie/library/SimplePie/gzdecode.php:3387
  •   Iffectations
  •   Undefined Functions
  •   Uses Default Values
  •   Buried Assignation
  •   Drop Else After Return
  •   Bail Out Early
  •   No Need For Else
/build/admin/treasurer/admintreasurer.ctrl.php:637
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/donate/donate.view.php:247
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/build/link/link.ctrl.php:317
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
  •   Memoize MagicCall
/build/login/login.ctrl.php:577
  •   Used Once Variables (In Scope)
  •   Iffectations
  •   Uses Default Values
  •   Written Only Variables
  •   Buried Assignation
  •   Nested Ifthen
  •   Else If Versus Elseif
/build/members/members.ctrl.php:8077
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/members/members.ctrl.php:8327
  •   Undefined Functions
  •   Uses Default Values
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Use random_int()
  •   Avoid Substr() One
  •   Could Use Short Assignation
/build/members/members.model.php:13427
  •   Methods Without Return
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Memoize MagicCall
  •   Max Level Of Nesting
/build/newsletter/newsletter.ctrl.php:177
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/build/relatedgroups/templates/grouprelatedgrouplog.column_col3.php:457
  •   Several Instructions On The Same Line
  •   $this Belongs To Classes Or Traits
  •   Undefined Functions
  •   Uses Default Values
  •   Undefined Variable
  •   Empty Instructions
/build/search/search.model.php:13547
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/config/bootstrap.php:97
  •   Uses Default Values
  •   Buried Assignation
  •   Nested Ifthen
  •   Check All Types
  •   Missing Include
  •   Inconsistent Elseif
  •   @ Operator
/roxlauncher/classloader.php:2477
  •   Forgotten Visibility
  •   PHP Keywords As Names
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/src/Form/AdminCommentFormType.php:177
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/ChangeUsernameFormType.php:167
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/CommunityNewsCommentType.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/CommunityNewsType.php:177
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/EditTranslationFormType.php:217
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/FaqCategoryFormType.php:197
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/FaqFormType.php:187
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/FindMemberFormType.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/FindUserFormType.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/GalleryEditImageFormType.php:167
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/HostingRequestGuest.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/HostingRequestHost.php:197
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/HostingRequestType.php:237
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/JoinGroupType.php:177
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/LoginFormType.php:167
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/MessageToMemberType.php:187
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/MinimalSearchFormType.php:147
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/PasswordFormType.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/ReportCommentType.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/ResetPasswordFormType.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/ResetPasswordRequestFormType.php:167
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/SearchFormBaseType.php:147
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/SubTripType.php:207
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/SubjectType.php:167
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/TranslationFormType.php:207
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/TripType.php:177
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/WikiCreateForm.php:157
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/tools/routing/requestrouter.class.php:2837
  •   Uses Default Values
  •   Buried Assignation
  •   Drop Else After Return
  •   Use Positive Condition
  •   Bail Out Early
  •   No Need For Else
  •   Check All Types
/build/admin/comments/admincomments.ctrl.php:616
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/admin/flags/adminflags.ctrl.php:866
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
/build/admin/flags/pages/adminflagsbase.page.php:866
  •   Forgotten Visibility
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/build/admin/rights/adminrights.ctrl.php:866
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
/build/admin/rights/pages/adminrightsbase.page.php:856
  •   Forgotten Visibility
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Method Could Be Static
/build/admin/templates/simplepie/library/SimplePie/Content/Type/Sniffer.php:2836
  •   Iffectations
  •   Buried Assignation
  •   Drop Else After Return
  •   Bail Out Early
  •   No Need For Else
  •   Don't Read And Write In One Expression
/build/admin/templates/simplepie/library/SimplePie/Sanitize.php:1036
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Use Class Operator
/build/admin/templates/simplepie/library/SimplePie/Sanitize.php:1216
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Use Class Operator
/build/admin/treasurer/admintreasurer.ctrl.php:1146
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Avoid Using stdClass
  •   Memoize MagicCall
/build/donate/donate.view.php:316
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/build/gallery/gallery.view.php:386
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/build/groups/groups.model.php:4956
  •   Iffectations
  •   Drop Else After Return
  •   Long Arguments
  •   No Need For Else
  •   Wrong Type With Call
  •   Use Class Operator
/build/members/member.entity.php:10186
  •   Iffectations
  •   Buried Assignation
  •   Empty Blocks
  •   Use Positive Condition
  •   Wrong Access Style to Property
  •   Should Use Prepared Statement
/build/members/member.entity.php:12176
  •   Drop Else After Return
  •   Nested Ifthen
  •   Use Positive Condition
  •   Bail Out Early
  •   No Need For Else
  •   Null Or Boolean Arrays
/build/members/member.entity.php:17646
  •   Undefined Functions
  •   Uses Default Values
  •   Double Instructions
  •   Double Assignation
  •   Could Make A Function
  •   Identical Consecutive Expression
/build/rights/privilegescope.entity.php:706
  •   No Parenthesis For Language Construct
  •   Useless Parenthesis
  •   Cast To Boolean
  •   Long Arguments
  •   Wrong Type With Call
  •   Use Class Operator
/build/searchmembers/searchmembers.model.php:4266
  •   Used Once Variables (In Scope)
  •   list() May Omit Variables
  •   Uses Default Values
  •   Written Only Variables
  •   Wrong Parameter Type
  •   Could Make A Function
/lib/sphinx-2.2.10/sphinxapi.php:8106
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Methods Without Return
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/modules/mail/lib/mail.lib.php:1186
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/roxlauncher/roxfrontroutermodel.php:66
  •   Used Once Variables (In Scope)
  •   Forgotten Visibility
  •   Unused Arguments
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/roxlauncher/roxlauncher.php:326
  •   Iffectations
  •   Undefined Functions
  •   Uses Default Values
  •   Buried Assignation
  •   Overwritten Literals
  •   Use Class Operator
/roxlauncher/roxloader.php:1356
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Drop Else After Return
  •   Bail Out Early
  •   No Need For Else
/roxlauncher/roxlocalsettingsimporter.php:1496
  •   Iffectations
  •   Uses Default Values
  •   Buried Assignation
  •   Drop Else After Return
  •   Bail Out Early
  •   No Need For Else
/src/Doctrine/EnumType.php:346
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Doctrine/SetType.php:376
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
/src/Form/FeedbackFormType.php:196
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/GalleryUploadForm.php:166
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/GroupType.php:186
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/LogFormType.php:156
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/MessageIndexFormType.php:166
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/SearchFormType.php:1086
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/SpamActivitiesIndexFormType.php:156
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/SpamCommunityNewsCommentsIndexFormType.php:156
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Form/SpamMessagesIndexFormType.php:156
  •   Methods Without Return
  •   Undefined Classes
  •   Undefined Interfaces
  •   Should Use Local Class
  •   Method Could Be Static
  •   Assumptions
/src/Routing/LegacyLoader.php:1936
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Method Could Be Static
  •   Hidden Nullable
/tools/mvc-base/entity.php:2826
  •   Wrong Number Of Arguments
  •   Buried Assignation
  •   Nested Ifthen
  •   Use Positive Condition
  •   No Need For Else
  •   Else If Versus Elseif