Commit ade43044 authored by mark burdett's avatar mark burdett Committed by Damien McKenna
Browse files

Issue #3315509 by mfb, DamienMcKenna: phpcs endless loop with "Drupal" rules...

Issue #3315509 by mfb, DamienMcKenna: phpcs endless loop with "Drupal" rules due to missing @endcode.
parent 2cd31b18
Loading
Loading
Loading
Loading
+3 −1
Changes for handlers/views_handler_field.inc: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -132,7 +132,9 @@ class views_handler_field extends views_handler {
   *   An array of fields. The key is an identifier used to later find the field
   *   alias used. The value is either a string in which case it's assumed to be
   *   a field on this handler's table; or it's an array in the form of
   *   @code array('table' => $tablename, 'field' => $fieldname) @endcode
   *   @code
   *   array('table' => $tablename, 'field' => $fieldname)
   *   @endcode
   */
  public function add_additional_fields($fields = NULL) {
    if (!isset($fields)) {
+3 −1
Changes for handlers/views_handler_field_entity.inc: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -12,7 +12,9 @@
 * used by the query backend have an 'entity type' specified. In order to
 * make fields based upon this handler automatically available to all compatible
 * query backends, the views field can be defined in the table.
 * @code views_entity_{ENTITY_TYPE} @endcode.
 * @code
 * views_entity_{ENTITY_TYPE}
 * @endcode
 *
 * @ingroup views_field_handlers
 */
+1 −0
Changes for includes/base.inc: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ class views_object {
   *  - 'unpack_translatable' => (optional) callback for special handling for
   *      translating data within the option, if necessary.
   *  ),
   * @endcode
   *
   * @return array
   *   Returns the options of this handler/plugin.
+4 −3
Changes for theme/theme.inc: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -344,9 +344,10 @@ function template_preprocess_views_view_grouping(&$vars) {
/**
 * Display a single views field.
 *
 * Interesting bits of info:
 * $field->field_alias says what the raw value in $row will be. Reach it like
 * this: @code { $row->{$field->field_alias} @endcode.
 * $field->field_alias says what the raw value in $row will be, like this:
 * @code
 * $row->{$field->field_alias}
 * @endcode
 */
function theme_views_view_field($vars) {
  $view = $vars['view'];