aristath/kirki

View on GitHub

Showing 644 of 644 total issues

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

Avoid too many return statements within this method.
Open

                return $colors['primary'];
Severity: Major
Found in packages/kirki-framework/util/src/MaterialColors.php - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return ( ! isNaN( numericValue ) && -1 !== validUnits.indexOf( unit ) );
Severity: Major
Found in packages/kirki-framework/control-dimension/src/control.js - 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 function.
Open

      return A;
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 function.
Open

              return handle(entry.finallyLoc);
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 $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 in_array( $value2, $value1 ); // 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

            if (A.length === lim) return A;
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 ! self::compare_values( $value1, $value2, $operator );
Severity: Major
Found in packages/kirki-framework/util/src/Helper.php - About 30 mins to fix
Severity
Category
Status
Source
Language