Issue #2715965 by alexpott: Fix 'Drupal.Commenting.FunctionComment.IncorrectParamVarName' coding standard
parent
70f58860c8
commit
524dc283d5
|
@ -160,7 +160,7 @@ class PoItem {
|
|||
/**
|
||||
* Set the comment of this translation.
|
||||
*
|
||||
* @param String $comment
|
||||
* @param string $comment
|
||||
*/
|
||||
function setComment($comment) {
|
||||
$this->_comment = $comment;
|
||||
|
|
|
@ -48,7 +48,7 @@ class DataCommand implements CommandInterface {
|
|||
* A CSS selector for the elements to which the data will be attached.
|
||||
* @param string $name
|
||||
* The key of the data to be attached to elements matched by the selector.
|
||||
* @param type $value
|
||||
* @param mixed $value
|
||||
* The value of the data to be attached to elements matched by the selector.
|
||||
*/
|
||||
public function __construct($selector, $name, $value) {
|
||||
|
|
|
@ -76,7 +76,7 @@ class MigrateFieldInstanceTest extends MigrateDrupal7TestBase {
|
|||
* The expected field label.
|
||||
* @param string $expected_field_type
|
||||
* The expected field type.
|
||||
* @param boolean $is_required
|
||||
* @param bool $is_required
|
||||
* Whether or not the field is required.
|
||||
*/
|
||||
protected function assertEntity($id, $expected_label, $expected_field_type, $is_required) {
|
||||
|
|
|
@ -40,11 +40,11 @@ class MockAliasManager implements AliasManagerInterface {
|
|||
/**
|
||||
* Adds an alias to the in-memory alias table for this object.
|
||||
*
|
||||
* @param type $path
|
||||
* @param string $path
|
||||
* The system path of the alias.
|
||||
* @param type $alias
|
||||
* @param string $alias
|
||||
* The alias of the system path.
|
||||
* @param type $path_language
|
||||
* @param string $path_language
|
||||
* The language of this alias.
|
||||
*/
|
||||
public function addAlias($path, $alias, $path_language = NULL) {
|
||||
|
|
|
@ -231,7 +231,7 @@ abstract class QueryPluginBase extends PluginBase implements CacheableDependency
|
|||
* An appropriate query expression pointing to the date field.
|
||||
* @param string $format
|
||||
* A format string for the result, like 'Y-m-d H:i:s'.
|
||||
* @param boolean $string_date
|
||||
* @param bool $string_date
|
||||
* For certain databases, date format functions vary depending on string or
|
||||
* numeric storage.
|
||||
*
|
||||
|
|
|
@ -43,7 +43,7 @@ class ArgumentValidatorTest extends UITestBase {
|
|||
* Saves the test_argument view with changes made to the argument handler
|
||||
* both with and without specify_validation turned on.
|
||||
*
|
||||
* @param boolean $specify_validation
|
||||
* @param bool $specify_validation
|
||||
*/
|
||||
protected function saveArgumentHandlerWithValidationOptions($specify_validation) {
|
||||
$options = array(
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
<rule ref="Drupal.Commenting.DocCommentStar"/>
|
||||
<rule ref="Drupal.Commenting.FileComment"/>
|
||||
<rule ref="Drupal.Commenting.FunctionComment">
|
||||
<exclude name="Drupal.Commenting.FunctionComment.IncorrectParamVarName"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.IncorrectTypeHint"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.$InReturnType"/>
|
||||
<exclude name="Drupal.Commenting.FunctionComment.InvalidNoReturn"/>
|
||||
|
|
Loading…
Reference in New Issue