Fix CodeSniffer errors and warnings

Created on 20 February 2019, almost 6 years ago
Updated 19 January 2024, about 1 year ago

Problem/Motivation

There were a few PHP CodeSniffer errors and warnings that needed fixing.

Proposed resolution

Fix and test all of the errors and warnings.

Remaining tasks

Test that all functionality is still intact.

User interface changes

There was one "new change" in this patch. There was a call to "\Drupal::service()" that needed to be turned into a dependency injection instead. That is probably the one part of this that needs real heavy review.

API changes

No API changes.

Data model changes

The "\Drupal::service()" change to depency injection is technically stored data, but it is temporary.

Release notes snippet

Fix all CodeSniffer errors and warnings.

๐Ÿ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mgbellaire

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

Merge Requests

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