Showing 699 of 699 total issues
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
//}
- Exclude checks
Missing function doc comment Open
Open
public static function getInstance($node) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
$xml = preg_replace ('/[^\x{0009}\x{000a}\x{000d}\x{0020}-\x{D7FF}\x{E000}-\x{FFFD}]+/u', ' ', $xml);
- Exclude checks
Public method name "EmlDataSet::setEMLRevisionID" is not in lowerCamel format Open
Open
public function setEMLRevisionID($id) {
- Exclude checks
Missing function doc comment Open
Open
public function setEmlValidationStatus($status = NULL) {
- Exclude checks
Missing function doc comment Open
Open
public static function getInstance($node) {
- Exclude checks
Closing brace indented incorrectly; expected 10 spaces, found 11 Open
Open
<?php endif; ?>
- Exclude checks
Missing function doc comment Open
Open
public function prepare($node, $row) {
- Exclude checks
Expected 1 blank line after function; 0 found Open
Open
}
- Exclude checks
Missing class doc comment Open
Open
class DeimsContentResearchProjectMigration extends DrupalNode6Migration {
- Exclude checks
Missing function doc comment Open
Open
public function getSiteDetails($node, $row) {
- Exclude checks
No space found before comment text; expected "// $wkt = $query->execute()->fetchField();" but found "//$wkt = $query->execute()->fetchField();" Open
Open
//$wkt = $query->execute()->fetchField();
- Exclude checks
No space found before comment text; expected "// );" but found "//);" Open
Open
//);
- Exclude checks
Type hint "array" missing for $form_state Open
Open
function deims_data_explorer_form($form, &$form_state, $variables, $connection, $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
array('_process_file_for_download', array($file, $connection['table'], $form_state['values']['nid'])),
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces Open
Open
$header = array(
- Exclude checks
Line indented incorrectly; expected 2 spaces, found 4 Open
Open
// drupal_set_message(t('%name has value %value', array('%name' => $key, '%value' => print_r($value, TRUE))));
- Exclude checks
Separate the @param and @return sections by a blank line. Open
Open
* @return string $markup
- Exclude checks
Separate the @param and @return sections by a blank line. Open
Open
* @return array
- Exclude checks
Type hint "array" missing for $columns Open
Open
function _deims_de_get_submitted_filters($columns) {
- Exclude checks