aristath/kirki

View on GitHub

Showing 449 of 644 total issues

Avoid too many return statements within this function.
Open

                return found;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return found;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return -1 < value1.indexOf( value2 );
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return ( ! this.evaluate( value1, value2, 'contains', choice ) );
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return value2 < value1;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return value2 > value1;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return found;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return value1 == value2;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return value2 <= value1;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return value2 >= value1;
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return ( -1 < value1.indexOf( value2 ) && -1 < value2.indexOf( value1 ) );
Severity: Major
Found in packages/kirki-framework/module-field-dependencies/src/script.js - About 30 mins to fix

Avoid too many return statements within this method.
Open

                return in_array( $value1, $value2 ); // phpcs:ignore WordPress.PHP.StrictInArray
Severity: Major
Found in packages/kirki-framework/util/src/Helper.php - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return capture === undefined ? '' : capture;
Severity: Major
Found in packages/kirki-framework/compatibility/src/scripts/wp-polyfill.js - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return $file;
Severity: Major
Found in packages/composer/ClassLoader.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return $value2 > $value1;
Severity: Major
Found in packages/kirki-framework/util/src/Helper.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

                        return true;
Severity: Major
Found in packages/kirki-framework/util/src/Helper.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

                return false;
Severity: Major
Found in packages/kirki-framework/util/src/Helper.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return ( false !== strrpos( $value1, $value2 ) || false !== strpos( $value2, $value1 ) );
Severity: Major
Found in packages/kirki-framework/util/src/Helper.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return false;
Severity: Major
Found in packages/composer/ClassLoader.php - About 30 mins to fix

Avoid too many return statements within this function.
Open

  return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
Severity: Major
Found in packages/kirki-framework/compatibility/src/scripts/wp-polyfill.js - About 30 mins to fix
Severity
Category
Status
Source
Language