DocCommentAlignmentUnitTest.inc in Coder 8.3.x
Same filename and directory in other branches
Test file.
File
tests/Drupal/Commenting/DocCommentAlignmentUnitTest.incView source
<?php
/**
* @file
* Test file.
*/
/**
* Test class with properties.
*/
class Test {
/**
* Bad comment alignment.
*/
var $varStyle;
}
/**
* Short description.
*
* @param string $a
* The following reference is allowed to be indented.
* @see my_function()
*/
function test31($a) {
}
/**
* Some short comment.
*
* @param array $matches
* An array of matches by a preg_replace_callback() call that scans for
* @import-ed CSS files, except for external CSS files.
* @param array $sub_key
* An array containing the sub-keys specifying the library asset, e.g.
* @code['js']@endcode or @code['css', 'component']@endcode
* @param string $to
* The email address or addresses where the message will be sent to. The
* formatting of this string will be validated with the
* @link http://php.net/manual/filter.filters.validate.php PHP email @endlink.
*/
function test14(array $matches, array $sub_key, $to) {
}