Remove unused variables from core

Created on 14 January 2020, over 4 years ago
Updated 15 March 2023, over 1 year ago

Problem/Motivation

In Drupal we have many places where we declare unused variables. These lead to unnecessary work both in reviewing code and for the PHP interpreter.

Remaining tasks

Fix https://github.com/sirbrillig/phpcs-variable-analysis/issues/183 upstream
Get coder release and update the coder dependency
In this issue - enable the rule and remove the unused variables.

User interface changes

None

API changes

None

Data model changes

NOne

Release notes snippet

@todo - new core coder rule enabled.

📌 Task
Status

Fixed

Version

9.4

Component
Other 

Last updated about 6 hours ago

Created by

🇮🇳India Hardik_Patel_12 India

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024