dsifford/academic-bloggers-toolkit

View on GitHub

Showing 1,811 of 1,811 total issues

Spaces must be used to indent lines; tabs are not allowed
Open

        </div>

Spaces must be used to indent lines; tabs are not allowed
Open

                                        data-preview="true"

Spaces must be used to indent lines; tabs are not allowed
Open

                                        data-theme-id="dark"

Spaces must be used to indent lines; tabs are not allowed
Open

                                        data-embed-version="2"

Spaces must be used to indent lines; tabs are not allowed
Open

                                    <h3><?php esc_html_e( 'Apply style to the inline citations', 'academic-bloggers-toolkit' ); ?></h3>

Spaces must be used to indent lines; tabs are not allowed
Open

                                        data-user="dsifford"

Spaces must be used to indent lines; tabs are not allowed
Open

                                </div>

Space after opening parenthesis of function call prohibited
Open

    delete_option( ABT_OPTIONS_KEY );

Expected 0 spaces before closing bracket; 1 found
Open

    $options = get_option( ABT_OPTIONS_KEY );

Expected 0 spaces before closing bracket; 1 found
Open

    return array_merge( $links, [ "<a href='$url'>$text</a>" ] );

Space after opening parenthesis of function call prohibited
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

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

Expected 0 spaces before closing bracket; 1 found
Open

    if ( version_compare( ABT_VERSION, $options['VERSION'] ?? '0', '>' ) ) {

Space after opening parenthesis of function call prohibited
Open

    if ( plugin_basename( __FILE__ ) === $file ) {

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

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

Expected 0 spaces before closing bracket; 1 found
Open

    $text = __( 'Plugin Settings', 'academic-bloggers-toolkit' );

Expected 0 spaces before closing bracket; 1 found
Open

define( 'ABT_ROOT_PATH', __DIR__ );

Opening brace should be on a new line
Open

function refactor_options() {

Opening brace should be on a new line
Open

function add_options_link( array $links ): array {
Severity
Category
Status
Source
Language