Showing 699 of 699 total issues
Missing function doc comment Open
Open
public function prepare($node, $row) {
- Exclude checks
Comments may not appear after statements Open
Open
'field_datafile_variable_ref', // Handled in prepare()
- Exclude checks
Missing function doc comment Open
Open
public function prepareRow($row) {
- Exclude checks
No space found before comment text; expected "// $this->addFieldMapping('field_keywords', '9');" but found "//$this->addFieldMapping('field_keywords', '9');" Open
Open
//$this->addFieldMapping('field_keywords', '9');
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// ->sourceMigration('DeimsContentBiblioMigration');
- Exclude checks
Expected 1 space after ELSE keyword; 0 found Open
Open
}else{
- 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 = $connection->select('content_type_research_site');" but found "//$query = $connection->select('content_type_research_site');" Open
Open
//$query = $connection->select('content_type_research_site');
- Exclude checks
Expected 1 blank line after function; 0 found Open
Open
}
- Exclude checks
Expected 1 blank line after function; 0 found Open
Open
}
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces Open
Open
$variables = field_get_items('node', $node, 'field_variables');
- Exclude checks
Doc comment for parameter $columns does not match actual variable name $node Open
Open
* @param array $columns
- Exclude checks
The $text argument to l() should be enclosed within t() so that it is translatable Open
Open
drupal_set_message('This is a very large data set. Please ' . l('contact us', 'contact') .
- Exclude checks
Type hint "array" missing for $rows_array Open
Open
function deims_data_explorer_generate_preview($columns_array, $rows_array, $total_rows = 0) {
- Exclude checks
Type hint "array" missing for $variables Open
Open
function _deims_de_flatten_allowed($variables) {
- Exclude checks
Doc comment short description must end with a full stop Open
Open
* Description _deims_de_prep_variable prepares the varianble
- Exclude checks
Line indented incorrectly; expected 10 spaces, found 12 Open
Open
);
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 0 Open
Open
// ISO 19110 is not yet part of ISO19115, it is in the DIS stage (Draft)
- Exclude checks
There should be no white space after an opening "(" Open
Open
if( !$unitmetadata) {
- Exclude checks