Issue #2901665 by mfernea: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNewLine' coding standard
parent
1f191080c1
commit
a0bb5da1bc
|
@ -27,9 +27,11 @@ class Diff {
|
||||||
* Constructor.
|
* Constructor.
|
||||||
* Computes diff between sequences of strings.
|
* Computes diff between sequences of strings.
|
||||||
*
|
*
|
||||||
* @param $from_lines array An array of strings.
|
* @param array $from_lines
|
||||||
* (Typically these are lines from a file.)
|
* An array of strings.
|
||||||
* @param $to_lines array An array of strings.
|
* (Typically these are lines from a file.)
|
||||||
|
* @param array $to_lines
|
||||||
|
* An array of strings.
|
||||||
*/
|
*/
|
||||||
public function __construct($from_lines, $to_lines) {
|
public function __construct($from_lines, $to_lines) {
|
||||||
$eng = new DiffEngine();
|
$eng = new DiffEngine();
|
||||||
|
|
|
@ -19,16 +19,17 @@ class MappedDiff extends Diff {
|
||||||
* case-insensitive diffs, or diffs which ignore
|
* case-insensitive diffs, or diffs which ignore
|
||||||
* changes in white-space.
|
* changes in white-space.
|
||||||
*
|
*
|
||||||
* @param $from_lines array An array of strings.
|
* @param array $from_lines
|
||||||
|
* An array of strings.
|
||||||
* (Typically these are lines from a file.)
|
* (Typically these are lines from a file.)
|
||||||
* @param $to_lines array An array of strings.
|
* @param array $to_lines
|
||||||
* @param $mapped_from_lines array This array should
|
* An array of strings.
|
||||||
* have the same size number of elements as $from_lines.
|
* @param array $mapped_from_lines
|
||||||
* The elements in $mapped_from_lines and
|
* This array should have the same size number of elements as $from_lines.
|
||||||
* $mapped_to_lines are what is actually compared
|
* The elements in $mapped_from_lines and $mapped_to_lines are what is
|
||||||
* when computing the diff.
|
* actually compared when computing the diff.
|
||||||
* @param $mapped_to_lines array This array should
|
* @param array $mapped_to_lines
|
||||||
* have the same number of elements as $to_lines.
|
* This array should have the same number of elements as $to_lines.
|
||||||
*/
|
*/
|
||||||
public function __construct($from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines) {
|
public function __construct($from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines) {
|
||||||
|
|
||||||
|
|
|
@ -282,7 +282,8 @@ class SessionTest extends WebTestBase {
|
||||||
/**
|
/**
|
||||||
* Reset the cookie file so that it refers to the specified user.
|
* Reset the cookie file so that it refers to the specified user.
|
||||||
*
|
*
|
||||||
* @param $uid User id to set as the active session.
|
* @param $uid
|
||||||
|
* User id to set as the active session.
|
||||||
*/
|
*/
|
||||||
public function sessionReset($uid = 0) {
|
public function sessionReset($uid = 0) {
|
||||||
// Close the internal browser.
|
// Close the internal browser.
|
||||||
|
|
|
@ -56,7 +56,6 @@
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.MissingReturnType"/>
|
<exclude name="Drupal.Commenting.FunctionComment.MissingReturnType"/>
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentFullStop"/>
|
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentFullStop"/>
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentIndentation"/>
|
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentIndentation"/>
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentNewLine"/>
|
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentNotCapital"/>
|
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentNotCapital"/>
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.ParamMissingDefinition"/>
|
<exclude name="Drupal.Commenting.FunctionComment.ParamMissingDefinition"/>
|
||||||
<exclude name="Drupal.Commenting.FunctionComment.ParamNameNoMatch"/>
|
<exclude name="Drupal.Commenting.FunctionComment.ParamNameNoMatch"/>
|
||||||
|
|
Loading…
Reference in New Issue