Commit 64ffc1ff authored by catch's avatar catch

Issue #2902726 by mfernea, martin107: Fix...

Issue #2902726 by mfernea, martin107: Fix 'Drupal.Commenting.FunctionComment.ParamCommentNotCapital' coding standard
parent 6691587a
...@@ -787,8 +787,8 @@ function batch_set($batch_definition) { ...@@ -787,8 +787,8 @@ function batch_set($batch_definition) {
* is omitted and no redirect response was returned by the 'finished' * is omitted and no redirect response was returned by the 'finished'
* callback. Any query arguments will be automatically persisted. * callback. Any query arguments will be automatically persisted.
* @param \Drupal\Core\Url $url * @param \Drupal\Core\Url $url
* (optional - should only be used for separate scripts like update.php) * (optional) URL of the batch processing page. Should only be used for
* URL of the batch processing page. * separate scripts like update.php.
* @param $redirect_callback * @param $redirect_callback
* (optional) Specify a function to be called to redirect to the progressive * (optional) Specify a function to be called to redirect to the progressive
* processing page. * processing page.
......
...@@ -18,7 +18,7 @@ class AccessResultForbidden extends AccessResult implements AccessResultReasonIn ...@@ -18,7 +18,7 @@ class AccessResultForbidden extends AccessResult implements AccessResultReasonIn
* Constructs a new AccessResultForbidden instance. * Constructs a new AccessResultForbidden instance.
* *
* @param null|string $reason * @param null|string $reason
* (optional) a message to provide details about this access result * (optional) A message to provide details about this access result.
*/ */
public function __construct($reason = NULL) { public function __construct($reason = NULL) {
$this->reason = $reason; $this->reason = $reason;
......
...@@ -18,7 +18,7 @@ class AccessResultNeutral extends AccessResult implements AccessResultReasonInte ...@@ -18,7 +18,7 @@ class AccessResultNeutral extends AccessResult implements AccessResultReasonInte
* Constructs a new AccessResultNeutral instance. * Constructs a new AccessResultNeutral instance.
* *
* @param null|string $reason * @param null|string $reason
* (optional) a message to provide details about this access result * (optional) A message to provide details about this access result
*/ */
public function __construct($reason = NULL) { public function __construct($reason = NULL) {
$this->reason = $reason; $this->reason = $reason;
......
...@@ -42,7 +42,7 @@ public function getParentSelectOptions($id = '', array $menus = NULL, CacheableM ...@@ -42,7 +42,7 @@ public function getParentSelectOptions($id = '', array $menus = NULL, CacheableM
* (optional) ID of a link plugin. This will exclude the link and its * (optional) ID of a link plugin. This will exclude the link and its
* children from being selected. * children from being selected.
* @param array $menus * @param array $menus
* (optional) array of menu names as keys and titles as values to limit * (optional) Array of menu names as keys and titles as values to limit
* the values that may be selected. If NULL, all menus will be included. * the values that may be selected. If NULL, all menus will be included.
* *
* @return array * @return array
......
...@@ -259,7 +259,7 @@ public function testOptionsTrimmedValuesText() { ...@@ -259,7 +259,7 @@ public function testOptionsTrimmedValuesText() {
* Helper function to create list field of a given type. * Helper function to create list field of a given type.
* *
* @param string $type * @param string $type
* 'list_integer', 'list_float' or 'list_string' * One of 'list_integer', 'list_float' or 'list_string'.
*/ */
protected function createOptionsField($type) { protected function createOptionsField($type) {
// Create a field. // Create a field.
......
...@@ -26,7 +26,7 @@ class NormalizerBaseTest extends UnitTestCase { ...@@ -26,7 +26,7 @@ class NormalizerBaseTest extends UnitTestCase {
* @param mixed $data * @param mixed $data
* The data passed to supportsNormalization. * The data passed to supportsNormalization.
* @param string $supported_interface_or_class * @param string $supported_interface_or_class
* (optional) the supported interface or class to set on the normalizer. * (optional) The supported interface or class to set on the normalizer.
*/ */
public function testSupportsNormalization($expected_return, $data, $supported_interface_or_class = NULL) { public function testSupportsNormalization($expected_return, $data, $supported_interface_or_class = NULL) {
$normalizer_base = $this->getMockForAbstractClass('Drupal\Tests\serialization\Unit\Normalizer\TestNormalizerBase'); $normalizer_base = $this->getMockForAbstractClass('Drupal\Tests\serialization\Unit\Normalizer\TestNormalizerBase');
......
...@@ -283,8 +283,8 @@ public static function getDisabledViews() { ...@@ -283,8 +283,8 @@ public static function getDisabledViews() {
* Filters the views on status. Can either be 'all' (default), 'enabled' or * Filters the views on status. Can either be 'all' (default), 'enabled' or
* 'disabled' * 'disabled'
* @param mixed $exclude_view * @param mixed $exclude_view
* view or current display to exclude * View or current display to exclude.
* either a * Either a:
* - views object (containing $exclude_view->storage->name and $exclude_view->current_display) * - views object (containing $exclude_view->storage->name and $exclude_view->current_display)
* - views name as string: e.g. my_view * - views name as string: e.g. my_view
* - views name and display id (separated by ':'): e.g. my_view:default * - views name and display id (separated by ':'): e.g. my_view:default
......
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,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.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"/>
<exclude name="Drupal.Commenting.FunctionComment.ParamTypeSpaces"/> <exclude name="Drupal.Commenting.FunctionComment.ParamTypeSpaces"/>
......
...@@ -128,7 +128,7 @@ protected function getLocalTaskManager($module_dirs, $route_name, $route_params) ...@@ -128,7 +128,7 @@ protected function getLocalTaskManager($module_dirs, $route_name, $route_params)
* @param $expected_tasks * @param $expected_tasks
* A list of tasks groups by level expected at the given route * A list of tasks groups by level expected at the given route
* @param array $route_params * @param array $route_params
* (optional) a list of route parameters used to resolve tasks. * (optional) A list of route parameters used to resolve tasks.
*/ */
protected function assertLocalTasks($route_name, $expected_tasks, $route_params = []) { protected function assertLocalTasks($route_name, $expected_tasks, $route_params = []) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment