Use null coalesce operator instead of ternary operator.

Created on 25 April 2023, over 1 year ago

Problem/Motivation

Codesniffer gives an error in views_row_wrapper.theme.inc for the ternary operator being used.

Steps to reproduce

Run phpcs command on the module.

Proposed resolution

Use null coalesce operator instead of it.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

RTBC

Version

2.0

Component

Code

Created by

🇮🇳India sidharth_soman Bangalore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sidharth_soman
  • @sidharth_soman opened merge request.
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India sidharth_soman Bangalore

    I've opened an MR for the issue.
    Please review.

  • Status changed to RTBC over 1 year ago
  • 🇵🇭Philippines kenyoOwen

    Hi sidharth_soman

    I applied your MR and confirmed that it removes the errors. Please see the screenshots attached.

    For your review.
    Thank you.

Production build 0.71.5 2024