You are here

FullyQualifiedNamespaceUnitTest.1.inc in Coder 8.3

Same filename and directory in other branches
  1. 8.3.x tests/Drupal/Classes/FullyQualifiedNamespaceUnitTest.1.inc

Example file.

Disable commenting rules to check if use statements are placed correctly without them. phpcs:disable Drupal.Commenting

File

tests/Drupal/Classes/FullyQualifiedNamespaceUnitTest.1.inc
View source
<?php

/**
 * @file
 * Example file.
 *
 * Disable commenting rules to check if use statements are placed correctly
 * without them.
 * phpcs:disable Drupal.Commenting
 */

/**
 * Foo function.
 */
function foo() {
  \Foo\Bar::load();
}

Functions

Namesort descending Description
foo Foo function.