Unused variables in Rest module

Created on 9 July 2020, over 4 years ago
Updated 10 August 2024, 4 months ago

Problem/Motivation

Unused variables:

  1. $supported_formats in core/modules/rest/src/Routing/ResourceRoutes.php
  2. $edit in core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
  3. $parseable_valid_request_body_2 in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php

Steps to reproduce

Proposed resolution

Remaining tasks

This also needs an issue summary update, see Write an issue summary for an existing issue for guidance.
Investigate the history of the unused variables. See #4 for details.

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component
REST 

Last updated 19 days ago

Created by

🇮🇳India himanshu_sindhwani

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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