UUID class names violate naming standard

Created on 17 October 2012, over 12 years ago
Updated 10 February 2024, about 1 year ago

Postponed on #1809930: [META] Many core class names violate naming standards β†’

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->

Problem/Motivation

As per discussion in #1809930: [META] Many core class names violate naming standards β†’ , many class names in the UUID namespace violate Drupal's naming standards (see http://drupal.org/node/608152). Fixing these class names to be more self-explanitory will help code be self-documenting and ease the introduction of new contributors.

Proposed resolution

Below is a list of classes Drupal/Component/Uuid namespace, along with the proposed changes. The attached .txt file is CSV, and contains the same information.

  • Com -> UUIDBackendCOM
  • Pecl -> UUIDBackendPECL
  • Php -> UUIDBackendPHP
  • Uuid
  • UuidInterface

User interface changes

None

API changes

(API changes/additions that would affect module, install profile, and theme developers, including examples of before/after code if appropriate)
Renaming classes in Core is likely to require large updates to existing patches and contributed modules. If we intend to enforce the naming standard, it should be done as soon as possible.

πŸ“Œ Task
Status

Closed: works as designed

Version

11.0 πŸ”₯

Component
OtherΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States threewestwinds

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