Showing 699 of 699 total issues

Expected 1 space after IF keyword; 0 found
Open

    if(!$connection->schema()->fieldExists('content_type_data_file','field_data_file_data_set_nid')){

Expected one space after the comma, 0 found
Open

    if(!$connection->schema()->fieldExists('content_type_data_file','field_data_file_data_set_nid')){

Missing function doc comment
Open

  public function prepareRow($row) {

Expected 1 blank line after function; 0 found
Open

  }

If the line declaring an array spans longer than 80 characters, each element should be broken into its own line
Open

      foreach (array('language', 'created', 'status', 'promote', 'sticky', 'uid') as $key) {

Missing function doc comment
Open

  public function prepareEntityTranslations($entity_type, $entity) {

Functions must not contain multiple empty lines in a row; found 2 empty lines
Open


Type hint "array" missing for $variables
Open

function _deims_de_get_allowed_filters($variables) {

Type hint "array" missing for $variable
Open

function _deims_de_prep_codes($variable) {

Doc comment short description must end with a full stop
Open

 * Description _deims_de_prep_physical : Prepares physical variable type

Description for the @return value is missing
Open

 * @return null|string

If the line declaring an array spans longer than 80 characters, each element should be broken into its own line
Open

  $parents = array_merge($element['#field_parents'], array($field_name, $langcode, $delta));

Missing function doc comment
Open

function deims_variable_variable_type_select_callback($form, $form_state) {

Expected 1 space before "="; 0 found
Open

              $attribute['attrdomv']['rdom']['rdommin']= $item['data']['minimum'];

Expected 1 space after "="; 2 found
Open

              $unitmetatada['minimum'] =  $item['data']['minimum'];

The second line in the file doc comment must be "@file"
Open

 * Implements hook_form_alter().

Missing function doc comment
Open

  public function getDataSet() {

Separate the @throws and @see sections by a blank line.
Open

   * @see PastaApi::fetchValidationReport()

Expected 1 blank line after function; 0 found
Open

}

Additional whitespace found at start of file
Open

 <?php
Severity
Category
Status
Source
Language