Showing 699 of 699 total issues
Missing function doc comment Open
Open
public function enqueue($node) {
- Exclude checks
If the line declaring an array spans longer than 80 characters, each element should be broken into its own line Open
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);
- Exclude checks
Missing file doc comment Open
Open
<?php
- Exclude checks
Expected 1 space(s) before asterisk; 2 found Open
Open
*/
- Exclude checks
Expected 1 space after ELSE keyword; 0 found Open
Open
}else{
- Exclude checks
The second line in the file doc comment must be "@file" Open
Open
* Implements hook_form_alter().
- Exclude checks
Doc comment short description must end with a full stop Open
Open
* Cleanup XML output using the Tidy library
- Exclude checks
The PHP open tag must be followed by exactly one blank line Open
Open
<?php
- Exclude checks
Expected 2 space(s) before asterisk; 1 found Open
Open
*/
- Exclude checks
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
Open
//$this->addFieldMapping('field_related_publications', 'field_dataset_biblio_ref')
- Exclude checks
Comments may not appear after statements Open
Open
'field_dataset_ext_assoc_ref', // Handled in prepare()
- Exclude checks
Expected newline after closing brace Open
Open
}else{
- Exclude checks
The closing brace for the class must have an empty line before it Open
Open
}
- Exclude checks
Missing function doc comment Open
Open
public function prepare($node, $row) {
- Exclude checks
Missing function doc comment Open
Open
public function __construct(array $arguments) {
- Exclude checks
No space found before comment text; expected "// $query->condition('nid', $row->nid);" but found "//$query->condition('nid', $row->nid);" Open
Open
//$query->condition('nid', $row->nid);
- Exclude checks
Missing function doc comment Open
Open
public function prepare($file, $row) {
- Exclude checks
Parameter comment must be on the next line Open
Open
* @param array $options
- Exclude checks
The closing brace for the class must have an empty line before it Open
Open
}
- Exclude checks
Missing class doc comment Open
Open
class PastaApi {
- Exclude checks