Showing 699 of 699 total issues

Missing function doc comment
Open

  public function enqueue($node) {

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

      watchdog('pasta', 'Failed to fetch EML validation results for node @nid. Made @attempts attempts in !interval.', array('@nid' => $data['nid'], '@attempts' => $data['attempts'], '!interval' => format_interval($interval)), WATCHDOG_ERROR);

Missing file doc comment
Open

<?php

Expected 1 space(s) before asterisk; 2 found
Open

  */

Expected 1 space after ELSE keyword; 0 found
Open

    }else{

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

 * Implements hook_form_alter().

Doc comment short description must end with a full stop
Open

   * Cleanup XML output using the Tidy library

The PHP open tag must be followed by exactly one blank line
Open

<?php

Expected 2 space(s) before asterisk; 1 found
Open

 */

No space found before comment text; expected "// $this->addFieldMapping('field_related_publications', 'field_dataset_biblio_ref')" but found "//$this->addFieldMapping('field_related_publications', 'field_dataset_biblio_ref')"
Open

    //$this->addFieldMapping('field_related_publications', 'field_dataset_biblio_ref')

Comments may not appear after statements
Open

      'field_dataset_ext_assoc_ref', // Handled in prepare()

Expected newline after closing brace
Open

    }else{

The closing brace for the class must have an empty line before it
Open

}

Missing function doc comment
Open

  public function prepare($node, $row) {

Missing function doc comment
Open

  public function __construct(array $arguments) {

No space found before comment text; expected "// $query->condition('nid', $row->nid);" but found "//$query->condition('nid', $row->nid);"
Open

      //$query->condition('nid', $row->nid);

Missing function doc comment
Open

  public function prepare($file, $row) {

Parameter comment must be on the next line
Open

 * @param array $options 

The closing brace for the class must have an empty line before it
Open

}

Missing class doc comment
Open

class PastaApi {
Severity
Category
Status
Source
Language