Skip to content

Require built-ins to be fully qualified #80

Closed
@dpi

Description

@dpi

SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions

All references to global functions must be referenced via a fully qualified name.

This is a performance gain, https://www.deviaene.eu/articles/2023/why-prefix-php-functions-calls-with-backslash/

As required, this is autofixable with phpcbf

Drupal proposal: https://www.drupal.org/project/coding_standards/issues/3259666

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions