You are here

DisallowLongArraySyntaxUnitTest.1.inc in Coder 8.3

Long array syntax is allowed in Drupal 7 code.

File

tests/Drupal/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc
View source
<?php

/**
 * @file
 * Long array syntax is allowed in Drupal 7 code.
 */

/**
 * Declaring a long array.
 */
function test() {
  return array();
}

Functions

Namesort descending Description
test Declaring a long array.