includes/tripal_galaxy.results.inc
Array indentation error, expected 10 spaces but found 12 Open
Open
'%state' => $submission->status,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'width' => '25%',
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
$dataset_id = $history_content['id'];
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'markup',
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'width' => '25%',
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// Dig down through dataset_collections to find the real dataset
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#collapsed' => TRUE,
- Exclude checks
Expected 1 blank line before function; 2 found Open
Open
function tripal_galaxy_workflow_report(int $sid) {
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'status' => 'deleted',
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'data' => 'Submission ID',
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
tripal_galaxy_get_history_name($submission),
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
// same.
- Exclude checks
Inline comments must start with a capital letter Open
Open
// retrieve the pertinents needed to download the file.
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
->fetchObject();
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// Get the list of input files so we can exclude them from the results
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'item',
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'Status',
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
format_date($submission->submit_date),
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#type' => 'fieldset',
- Exclude checks
Expected 1 blank line after function; 0 found Open
Open
}
- Exclude checks
Line exceeds 80 characters; contains 103 characters Open
Open
'#markup' => l($history_content['name'], $proxy_url, ['attributes' => ['target' => '_blank']] ),
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
];
- Exclude checks
Missing file doc comment Open
Open
<?php
- Exclude checks
The PHP open tag must be followed by exactly one blank line Open
Open
<?php
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
->fields('tg')
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#title' => t('Results deleted from Galaxy Server'),
- Exclude checks
Object operator not indented correctly; expected 6 spaces but found 4 Open
Open
->condition('sid', $submission->sid)
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'Start Time',
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
if ($history_content['file_size'] < pow(10, 6)) {
- Exclude checks
Object operator not indented correctly; expected 4 spaces but found 2 Open
Open
->fields('tg')
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
->execute()
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#type' => 'item',
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => t('Currently, no results exist for this job. The current state of the job is: %state.', [
- Exclude checks
A comma should follow the last multiline array item. Found: '' Open
Open
'<pre>' . $history_content['creating_job']['stderr'] . '</pre>'
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// $submission and matching dataset ids and where visible == FALSE
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'data' => 'Workflow ID',
- Exclude checks
Line exceeds 80 characters; contains 98 characters Open
Open
$proxy_url = tripal_galaxy_get_proxy_url($submission, $dataset, $node->uid, 'viewer-full');
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
$submission->workflow_id,
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
$proxy_url = tripal_galaxy_get_proxy_url($submission, $dataset, $node->uid, 'viewer-full');
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
$submission->start_time ? format_date($submission->start_time) : '',
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
A comma should follow the last multiline array item. Found: 'tripal-galaxy-submission-table' Open
Open
'class' => 'tripal-galaxy-submission-table'
- Exclude checks
Expected 1 space after closing parenthesis; found 9 Open
Open
foreach ($submission->errors['history_contents'] as $dc_history_content)
- Exclude checks
Expected 1 space after closing parenthesis; found 11 Open
Open
if ($dc_history_content['id'] == $inner_elements['object']['id'])
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
$dataset = tripal_galaxy_get_dataset($submission, $dataset_id);
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
} */
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'item',
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
$submission->sid,
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'data' => 'Invocation ID',
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
array_key_exists('error', $submission->errors) ? $submission->errors['error'] : '',
- Exclude checks
Functions must not contain multiple empty lines in a row; found 2 empty lines Open
Open
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 4 Open
Open
->execute();
- Exclude checks
Functions must not contain multiple empty lines in a row; found 2 empty lines Open
Open
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
// SPF: originally this was $history_content['dataset_id'] but for
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#description' => t('It appears this analysis result has been deleted from the galaxy server on which it was run. Please return to the previous page and delete this from your workflow listing.'),
- Exclude checks
A comma should follow the last multiline array item. Found: 'tripal-galaxy-error-table' Open
Open
'class' => 'tripal-galaxy-error-table'
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
$title,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'Submission Error',
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#attributes' => [
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#attached' => [
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'misc/collapse.js',
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
// in v18.01 it seems fixed and both 'id' and 'dataset_id' are the
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
->condition('galaxy_id', $submission->galaxy_id)
- Exclude checks
Expected 1 space before "=="; 2 found Open
Open
if ($history_content['history_content_type'] == 'dataset_collection') {
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => t('The result files are listed below. Click the filename to view or download results. Expand the field for the result below to
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
$submission->status,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'Galaxy Server',
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#title' => t('Submission Details'),
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// If this is a file add viewing and download links
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 4 Open
Open
->condition('sid', $submission->sid)
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#title' => t('Results'),
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'History Name',
- Exclude checks
Line exceeds 80 characters; contains 111 characters Open
Open
// Get the $history_content for each of the dataset ids we just dug up. These can be found by examining
- Exclude checks
Expected 1 blank line after function; 2 found Open
Open
}
- Exclude checks
Functions must not contain multiple empty lines in a row; found 2 empty lines Open
Open
- Exclude checks
Functions must not contain multiple empty lines in a row; found 2 empty lines Open
Open
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'Workflow Name',
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'width' => '25%',
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'End Time',
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
'#collapsible' => TRUE,
- Exclude checks
Expected 1 blank line after function; 0 found Open
Open
}
- Exclude checks
Expected 1 space after closing parenthesis; found 5 Open
Open
if ($element['element_type'] == 'dataset_collection')
- Exclude checks
Line exceeds 80 characters; contains 86 characters Open
Open
/* // Any files that are smaller than 1MB can be shown in a browser.
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'item',
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#title' => t('Result Files'),
- Exclude checks
Array indentation error, expected 10 spaces but found 12 Open
Open
'width' => '25%',
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
$submission->invocation_id,
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
$submission->end_time ? format_date($submission->end_time) : '',
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'misc/form.js',
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
// some reason that value seems off for v17.09 as it does not
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
'#type' => 'item',
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
'#title' => t('View File'),
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'header' => TRUE,
- Exclude checks
Array indentation error, expected 8 spaces but found 10 Open
Open
'data' => 'Submission Date',
- Exclude checks
Array indentation error, expected 4 spaces but found 6 Open
Open
$galaxy->servername . '<br>' . $galaxy_logo,
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
// point to the correct dataset. Rather the 'id' does. However,
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
$step_content['html_view'] = [
- Exclude checks
Line indented incorrectly; expected 6 spaces, found 7 Open
Open
'#markup' => l($history_content['name'], $proxy_url, ['attributes' => ['target' => '_blank']] ),
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => t('This link has expired. Please reload the job results page for uploaded links.'),
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'item',
- Exclude checks
Expected 1 blank line after function; 2 found Open
Open
}
- Exclude checks
Return type missing for @return tag in function comment Open
Open
* @return
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'markup',
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => t('This link has expired. Please reload the job results page for uploaded links.'),
- Exclude checks
Inline comments must start with a capital letter Open
Open
// retrieve the pertinents needed to download the file.
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => t('This page has expired. Please reload the job results page for uploaded links.'),
- Exclude checks
Concat operator must be surrounded by a single space Open
Open
$breadcrumb[] = l(t('Analysis Results'), 'user/' . $uid . '/galaxy-jobs/' . $sid);
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'markup',
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => '<iframe src="' . url('galaxy/viewer-full/' . $proxy_id) . '" id="tripal-galaxy-results-viewer-iframe"></iframe>',
- Exclude checks
Expected 1 blank line after function; 2 found Open
Open
}
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => '<h2>Viewing results for ' . $name . '</h2>',
- Exclude checks
Expected "object" but found "stdClass" for parameter type Open
Open
* @param stdClass $submission
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'markup',
- Exclude checks
Inline comments must start with a capital letter Open
Open
// retrieve the pertinents needed to download the file.
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#type' => 'markup',
- Exclude checks
Inline comments must start with a capital letter Open
Open
// retrieve the pertinents needed to download the file.
- Exclude checks
Array indentation error, expected 6 spaces but found 8 Open
Open
'#markup' => l(t('View full screen'), 'galaxy/viewer-full/' . $proxy_id),
- Exclude checks