Concentrated issues

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

File Count Analysis
/admin/class-yoast-form.php:35719
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Undefined Classes
  •   Could Inject Parameter
  •   Wrong Type With Default
/config/dependency-injection/deprecated-classes.php:6215
  •   Don't Pollute Global Space
  •   No Class In Global
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Empty Function
  •   Undefined Classes
  •   Wrong Type With Default
  •   Never Called Parameter
/config/dependency-injection/renamed-classes.php:3415
  •   Don't Pollute Global Space
  •   No Class In Global
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Empty Function
  •   Undefined Classes
  •   Wrong Type With Default
  •   Never Called Parameter
/admin/class-yoast-form.php:62414
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Undefined Classes
  •   Could Inject Parameter
  •   Wrong Type With Default
/inc/class-wpseo-utils.php:46912
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Never Called Parameter
/config/dependency-injection/deprecated-classes.php:6511
  •   Don't Pollute Global Space
  •   No Class In Global
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Empty Function
  •   Undefined Classes
  •   Wrong Type With Default
/inc/options/class-wpseo-taxonomy-meta.php:31711
  •   Max Level Of Nesting
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/admin/class-admin-user-profile.php:3210
  •   Method Is Not An If
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/admin/views/paper-collapsible.php:2610
  •   Variable Is Not A Condition
  •   Useless Parenthesis
  •   Used Once Variables (In Scope)
  •   Undefined Functions
  •   Several Instructions On The Same Line
  •   Undefined Variable
/inc/class-wpseo-admin-bar-menu.php:79310
  •   Make Global A Property
  •   Useless Global
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/inc/options/class-wpseo-option-wpseo.php:63110
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/admin/capabilities/class-register-capabilities.php:579
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/admin/class-database-proxy.php:1309
  •   Unused Public Methods
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   StandaloneType True False Null
  •   Wrong Type With Default
/inc/options/class-wpseo-option-social.php:2939
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/inc/wpseo-functions.php:249
  •   Don't Pollute Global Space
  •   Use Named Boolean In Argument Definition
  •   No Class In Global
  •   No Boolean As Default
  •   Undefined Classes
  •   Wrong Type With Default
/src/content-type-visibility/user-interface/content-type-visibility-dismiss-new-route.php:1079
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/content-type-visibility/user-interface/content-type-visibility-dismiss-new-route.php:1369
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/deprecated/frontend/frontend.php:1119
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Undefined Classes
/src/deprecated/frontend/frontend.php:1989
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/deprecated/src/helpers/wordproof-helper.php:779
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/deprecated/src/integrations/third-party/wordproof.php:1519
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/generators/schema/person.php:2059
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Wrong Type With Default
/src/helpers/url-helper.php:2049
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/helpers/user-helper.php:199
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/integrations/watchers/option-wpseo-watcher.php:809
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/admin/tracking/class-tracking.php:908
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/inc/class-rewrite.php:498
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/inc/wpseo-functions.php:848
  •   Don't Pollute Global Space
  •   No Class In Global
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Wrong Type With Default
  •   Never Called Parameter
/src/deprecated/src/integrations/third-party/wordproof.php:1098
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/helpers/meta-helper.php:358
  •   Unused Public Methods
  •   Ambiguous Static
  •   Should Use Local Class
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/helpers/options-helper.php:378
  •   Unused Public Methods
  •   Ambiguous Static
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/presenters/rel-prev-presenter.php:388
  •   Incompatible Signature Methods With Covariance
  •   Use Named Boolean In Argument Definition
  •   Method Signature Must Be Compatible
  •   No Boolean As Default
  •   Undefined Classes
  •   Different Argument Counts
  •   Method Could Be Static
  •   Never Called Parameter
/src/services/health-check/myyoast-api-request-factory.php:198
  •   Unused Public Methods
  •   Should Use Local Class
  •   Undefined Classes
  •   Could Inject Parameter
  •   Wrong Type With Default
  •   Method Could Be Static
/admin/class-yoast-network-settings-api.php:327
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Wrong Type With Default
  •   Unfinished Object
  •   Property Could Be Local
/admin/class-yoast-notification-center.php:277
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Wrong Type With Default
  •   Unfinished Object
  •   Property Could Be Local
/admin/pages/network.php:187
  •   Wrong Argument Type
  •   Undefined Functions
  •   Wrong Type With Call
  •   Unused Returned Value
  •   Could Make A Function
  •   New Object Then Immediate Call
/admin/views/class-yoast-feature-toggles.php:287
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Same Name For Property And Method
  •   Wrong Type With Default
  •   Unfinished Object
/admin/views/class-yoast-integration-toggles.php:257
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Same Name For Property And Method
  •   Wrong Type With Default
  •   Unfinished Object
/inc/class-upgrade.php:11817
  •   Suspicious Comparison
  •   Only Variable Passed By Reference
  •   Wrong Type With Call
  •   Uses Default Values
  •   Undefined Properties
  •   Unused Returned Value
/inc/class-wpseo-admin-bar-menu.php:2307
  •   Undefined Functions
  •   Uses Default Values
  •   Undefined Properties
  •   Use ::Class Operator
  •   Could Make A Function
  •   Use === null
/inc/class-yoast-dynamic-rewrites.php:327
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Same Name For Property And Method
  •   Wrong Type With Default
  •   Unfinished Object
/inc/options/class-wpseo-option-social.php:2587
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
  •   Never Called Parameter
/src/actions/indexing/indexable-post-type-archive-indexation-action.php:797
  •   Incompatible Signature Methods With Covariance
  •   Use Named Boolean In Argument Definition
  •   Method Signature Must Be Compatible
  •   No Boolean As Default
  •   Undefined Classes
  •   Different Argument Counts
  •   Missing Some Returntype
/src/dashboard/infrastructure/score-results/seo-score-results/seo-score-results-collector.php:297
  •   Unused Public Methods
  •   Mismatch Parameter Name
  •   Use Named Boolean In Argument Definition
  •   Method Signature Must Be Compatible
  •   Mismatched Type
  •   StandaloneType True False Null
/src/deprecated/src/integrations/third-party/wordproof.php:1367
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/helpers/date-helper.php:257
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
/src/helpers/notification-helper.php:497
  •   Ambiguous Static
  •   Should Use Local Class
  •   Mismatched Default Arguments
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
  •   Never Called Parameter
/src/helpers/options-helper.php:247
  •   Ambiguous Static
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
  •   Never Called Parameter
/src/helpers/sanitization-helper.php:367
  •   Unused Public Methods
  •   Ambiguous Static
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/integrations/third-party/wpml.php:677
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/surfaces/meta-surface.php:2957
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/admin/class-admin-init.php:2646
  •   Make Global A Property
  •   Useless Global
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/admin/class-admin-user-profile.php:826
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/admin/class-bulk-editor-list-table.php:976
  •   Ambiguous Visibilities
  •   Property Used In One Method Only
  •   Used Once Property
  •   Undefined Classes
  •   Unfinished Object
  •   Mismatch Properties Types
/admin/class-yoast-input-validation.php:1086
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Wrong Type With Default
/admin/menu/class-admin-menu.php:536
  •   Make Global A Property
  •   Useless Global
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/admin/menu/class-base-menu.php:2776
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
  •   Never Called Parameter
/admin/metabox/class-metabox.php:1856
  •   Too Many Array Dimensions
  •   Undefined Functions
  •   Weak Type With Array
  •   Indices Are Int Or String
  •   Could Make A Function
  •   Could Use self
/admin/metabox/class-metabox.php:1866
  •   Too Many Array Dimensions
  •   Undefined Functions
  •   Weak Type With Array
  •   Indices Are Int Or String
  •   Could Make A Function
  •   Could Use self
/admin/metabox/class-metabox.php:1916
  •   Too Many Array Dimensions
  •   Undefined Functions
  •   Weak Type With Array
  •   Indices Are Int Or String
  •   Could Make A Function
  •   Could Use self
/inc/options/class-wpseo-option.php:1076
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Property Used In One Method Only
  •   Undefined Classes
  •   Unfinished Object
  •   Mismatch Properties Types
/src/actions/importing/aioseo/abstract-aioseo-settings-importing-action.php:2026
  •   Check JSON
  •   Modernize Empty With Expression
  •   Undefined Functions
  •   Only Variable Passed By Reference
  •   Uses Default Values
  •   Could Make A Function
/src/deprecated/admin/class-customizer.php:456
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/deprecated/src/integrations/third-party/wincher.php:876
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/deprecated/src/integrations/third-party/wincher.php:1016
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/deprecated/src/integrations/third-party/wordproof-integration-toggle.php:1356
  •   Unused Public Methods
  •   Unused Parameter
  •   Should Use Local Class
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Method Could Be Static
/src/helpers/date-helper.php:1016
  •   Unused Public Methods
  •   Ambiguous Static
  •   Should Use Local Class
  •   Undefined Classes
  •   Could Inject Parameter
  •   Method Could Be Static
/src/helpers/post-helper.php:986
  •   Unused Public Methods
  •   Ambiguous Static
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/helpers/taxonomy-helper.php:1146
  •   Unused Public Methods
  •   Ambiguous Static
  •   Should Use Local Class
  •   Undefined Classes
  •   Wrong Type With Default
  •   Method Could Be Static
/src/helpers/url-helper.php:2456
  •   Unused Public Methods
  •   Use Named Boolean In Argument Definition
  •   No Boolean As Default
  •   Should Use Local Class
  •   Undefined Classes
  •   Method Could Be Static
/src/integrations/admin/activation-cleanup-integration.php:666
  •   Merge If Then
  •   Variable Is Not A Condition
  •   Bail Out Early
  •   Useless Parenthesis
  •   Undefined Constants
  •   Preprocessable
/src/integrations/admin/check-required-version.php:506
  •   Make Global A Property
  •   Useless Global
  •   Used Once Variables (In Scope)
  •   Undefined Variable
  •   Global Usage
  •   Could Be A Static Variable
/wp-seo-main.php:1636
  •   Method Is Not An If
  •   Don't Pollute Global Space
  •   Use Named Boolean In Argument Definition
  •   No Class In Global
  •   No Boolean As Default
  •   Undefined Classes