You are here

DisallowLongArraySyntaxUnitTest.2.inc in Coder 8.3.x

Long array syntax is not allowed in Drupal 8 code.

File

tests/Drupal/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc
View source
<?php

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

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

Functions

Namesort descending Description
test Declaring a long array.