dsifford/academic-bloggers-toolkit

View on GitHub

Showing 1,811 of 1,811 total issues

Expected 0 spaces before closing bracket; 1 found
Open

define( 'ABT_OPTIONS_KEY', 'abt_options' );

Space after opening parenthesis of function call prohibited
Open

    load_plugin_textdomain( 'academic-bloggers-toolkit', false, basename( ABT_ROOT_PATH ) . '/languages' );

Opening brace should be on a new line
Open

function plugin_textdomain() {

Space after opening parenthesis of function call prohibited
Open

        update_option( ABT_OPTIONS_KEY, $new_options );

Space after opening parenthesis of function call prohibited
Open

register_uninstall_hook( __FILE__, __NAMESPACE__ . '\uninstall' );

Expected 0 spaces before closing bracket; 1 found
Open

add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), __NAMESPACE__ . '\add_options_link' );

Expected 0 spaces before closing bracket; 1 found
Open

register_uninstall_hook( __FILE__, __NAMESPACE__ . '\uninstall' );

Expected 0 spaces before closing bracket; 1 found
Open

add_action( 'admin_init', __NAMESPACE__ . '\refactor_options' );

Space after opening parenthesis of function call prohibited
Open

defined( 'ABSPATH' ) || exit;

Space after opening parenthesis of function call prohibited
Open

add_action( 'plugins_loaded', __NAMESPACE__ . '\plugin_textdomain' );

Expected 0 spaces before closing bracket; 1 found
Open

    delete_option( ABT_OPTIONS_KEY );

Space after opening parenthesis of function call prohibited
Open

    $options = get_option( ABT_OPTIONS_KEY );

Space after opening parenthesis of function call prohibited
Open

    $url  = admin_url( 'options-general.php?page=abt-options' );

Space after opening parenthesis of function call prohibited
Open

define( 'ABT_ROOT_PATH', __DIR__ );

Expected 0 spaces before closing bracket; 1 found
Open

define( 'ABT_VERSION', '{{VERSION}}' );

Expected 0 spaces before closing bracket; 1 found
Open

define( 'ABT_NONCE', 'abt_nonce' );

Expected 0 spaces before closing bracket; 1 found
Open

    load_plugin_textdomain( 'academic-bloggers-toolkit', false, basename( ABT_ROOT_PATH ) . '/languages' );

Space after opening parenthesis of function call prohibited
Open

define( 'ABT_OPTIONS_KEY', 'abt_options' );

Expected 0 spaces before closing bracket; 1 found
Open

define( 'ABT_ROOT_URI', plugins_url( '', __FILE__ ) );

Space after opening parenthesis of function call prohibited
Open

    load_plugin_textdomain( 'academic-bloggers-toolkit', false, basename( ABT_ROOT_PATH ) . '/languages' );
Severity
Category
Status
Source
Language