includes/tripal_galaxy.webform.inc
Expected one space after the comma, 0 found Open
Open
$fasta_aliases = ['fasta','fa','fna','faa','gz'];
- Exclude checks
Expected one space after the comma, 0 found Open
Open
if (!in_array($alias_to_add,$input['extensions'])) {
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Invalid
Invalid
// phpcs:disable Squiz.PHP.NonExecutableCode.Unreachable
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 6 Invalid
Invalid
// phpcs:enable Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak
- Exclude checks
Inline comments must start with a capital letter Open
Open
// gff aliases
- Exclude checks
Inline comments must start with a capital letter Open
Open
// combined for loopiness
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// combined for loopiness
- Exclude checks
Line exceeds 80 characters; contains 82 characters Invalid
Invalid
// phpcs:disable Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fastq_aliases = ['fastq','fq','fastqsanger','fastqillumina','fastqsolexa','gz'];
- Exclude checks
There must be no blank line following an inline comment Invalid
Invalid
// phpcs:enable Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// Loop through all arrays of aliases first, check if we're dealing with any types that require aliases
- Exclude checks
Type hint "scalar" missing for $value Open
Open
function _tripal_galaxy_invoke_webform_build_values(array &$values, string $input_full_name, $value) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 6 Invalid
Invalid
// phpcs:enable Squiz.PHP.NonExecutableCode.Unreachable
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fasta_aliases = ['fasta','fa','fna','faa','gz'];
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// gff aliases
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$gff_aliases = ['gff','gff3', 'gz'];
- Exclude checks
Line exceeds 80 characters; contains 88 characters Open
Open
// Loop through the rest of the aliases and add them if they don't already exist
- Exclude checks
Case breaking statements must be followed by a single blank line Invalid
Invalid
return;
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fastq_aliases = ['fastq','fq','fastqsanger','fastqillumina','fastqsolexa','gz'];
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$alias_lists = array($fasta_aliases,$fastq_aliases,$gff_aliases);
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fastq_aliases = ['fastq','fq','fastqsanger','fastqillumina','fastqsolexa','gz'];
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fastq_aliases = ['fastq','fq','fastqsanger','fastqillumina','fastqsolexa','gz'];
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fastq_aliases = ['fastq','fq','fastqsanger','fastqillumina','fastqsolexa','gz'];
- Exclude checks
Concat operator must be surrounded by a single space Open
Open
echo "Added ". $alias_to_add . " to a list\n<br />";
- Exclude checks
If the line declaring an array spans longer than 80 characters, each element should be broken into its own line Open
Open
$fastq_aliases = ['fastq','fq','fastqsanger','fastqillumina','fastqsolexa','gz'];
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// Loop through the rest of the aliases and add them if they don't already exist
- Exclude checks
There must be no blank line following an inline comment Open
Open
// the aliases is found, which may be a naive approach.
- Exclude checks
Inline comments must start with a capital letter Open
Open
// fasta aliases (includes compressed versions just in case)
- Exclude checks
Inline comments must start with a capital letter Open
Open
// fastq aliases (includes compressed versions just in case)
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Invalid
Invalid
// phpcs:enable Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fasta_aliases = ['fasta','fa','fna','faa','gz'];
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$fasta_aliases = ['fasta','fa','fna','faa','gz'];
- Exclude checks
Missing parameter type Open
Open
* @param $webform
- Exclude checks
Line exceeds 80 characters; contains 105 characters Open
Open
// Loop through all arrays of aliases first, check if we're dealing with any types that require aliases
- Exclude checks
Inline comments must end in full-stops, exclamation marks, colons, question marks, or closing parentheses Open
Open
// No need to keep checking for aliases in this list, proceed
- Exclude checks
Code after RETURN statement cannot be executed Invalid
Invalid
break;
- Exclude checks
Line exceeds 80 characters; contains 81 characters Invalid
Invalid
// phpcs:enable Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak
- Exclude checks
Expected one space after the comma, 0 found Open
Open
$alias_lists = array($fasta_aliases,$fastq_aliases,$gff_aliases);
- Exclude checks
Whitespace found at end of line Open
Open
- Exclude checks
Whitespace found at end of line Open
Open
// ($filetype_aliases). The entire array is added if even one of
- Exclude checks
Whitespace found at end of line Open
Open
// files that require aliases is so small (fa, fq). For now, if
- Exclude checks
Whitespace found at end of line Open
Open
foreach ($alias_lists as $alias_list) {
- Exclude checks
Whitespace found at end of line Open
Open
// additional aliases are needed, add a new array as below
- Exclude checks
Whitespace found at end of line Open
Open
- Exclude checks