Concentrated issues

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

File Count Analysis
/admin/views/paper-collapsible.php:2610
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Used Once Variables (In Scope)
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Undefined Variable
/inc/class-wpseo-admin-bar-menu.php:79310
  •   Useless Global
  •   Make Global A Property
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/config/dependency-injection/deprecated-classes.php:649
  •   Don't Pollute Global Space
  •   Unused Parameter
  •   No Class In Global
  •   Empty Function
  •   Used Once Variables (In Scope)
  •   Never Called Parameter
/config/dependency-injection/renamed-classes.php:349
  •   Don't Pollute Global Space
  •   Unused Parameter
  •   No Class In Global
  •   Empty Function
  •   Used Once Variables (In Scope)
  •   Never Called Parameter
/src/deprecated/src/helpers/wordproof-helper.php:778
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
/admin/class-admin-user-profile.php:327
  •   Unused Public Methods
  •   Method Is Not An If
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Method Could Be Static
/src/deprecated/src/integrations/third-party/wordproof.php:1517
  •   Unused Public Methods
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
/src/integrations/watchers/option-wpseo-watcher.php:807
  •   Unused Public Methods
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
/src/presenters/rel-prev-presenter.php:387
  •   Use Named Boolean In Argument Definition
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Method Could Be Static
  •   Different Argument Counts
  •   Never Called Parameter
/admin/class-admin-init.php:2646
  •   Useless Global
  •   Make Global A Property
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/admin/menu/class-admin-menu.php:536
  •   Useless Global
  •   Make Global A Property
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/admin/metabox/class-metabox.php:1856
  •   Too Many Array Dimensions
  •   Undefined Functions
  •   Indices Are Int Or String
  •   Weak Type With Array
  •   Could Make A Function
  •   Could Use self
/admin/metabox/class-metabox.php:1866
  •   Too Many Array Dimensions
  •   Undefined Functions
  •   Indices Are Int Or String
  •   Weak Type With Array
  •   Could Make A Function
  •   Could Use self
/admin/metabox/class-metabox.php:1916
  •   Too Many Array Dimensions
  •   Undefined Functions
  •   Indices Are Int Or String
  •   Weak Type With Array
  •   Could Make A Function
  •   Could Use self
/lib/orm.php:20266
  •   Indices Are Int Or String
  •   Null Or Boolean Arrays
  •   Weak Type With Array
  •   Useless Instructions
  •   No Parenthesis For Language Construct
  •   No Choice
/src/actions/indexing/indexable-post-type-archive-indexation-action.php:796
  •   Use Named Boolean In Argument Definition
  •   Incompatible Signature Methods With Covariance
  •   No Boolean As Default
  •   Method Signature Must Be Compatible
  •   Different Argument Counts
  •   Missing Some Returntype
/src/deprecated/src/integrations/third-party/wordproof.php:1366
  •   Unused Public Methods
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
/src/integrations/admin/activation-cleanup-integration.php:636
  •   Merge If Then
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Bail Out Early
  •   Undefined Constants
  •   Preprocessable