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

        $options['citation_style'] = json_decode( wp_unslash( $_POST['citation_style'] ), true );
Severity: Minor
Found in src/php/options.php by phpcodesniffer

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

    wp_localize_script(
Severity: Minor
Found in src/php/options.php by phpcodesniffer

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

            'options' => $options,
Severity: Minor
Found in src/php/options.php by phpcodesniffer

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

    ];
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    // Convert associative array to object because it's just easier to work with.
Severity: Minor
Found in src/php/options.php by phpcodesniffer

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

        $registered_styles = wp_styles()->registered;
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    );
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    }
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    $script_asset_path            = ABT_ROOT_PATH . "/bundle/$relpath.asset.php";
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    $script_asset['dependencies'] = array_merge( $script_asset['dependencies'], $extra_deps );
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

        if ( in_array( 'wp-i18n', $script_asset['dependencies'], true ) ) {
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

        'dependencies' => [],
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

                $handle,
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

        );
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

                    id="<?php echo esc_attr( $id ); ?>"
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    $handle        = 'abt-' . $relpath;
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

            $script_asset['dependencies'],
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

                'academic-bloggers-toolkit',
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

        file_get_contents( // phpcs:ignore
Severity: Minor
Found in src/php/utils.php by phpcodesniffer

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

    if ( file_exists( ABT_ROOT_PATH . $script_suffix ) ) {
Severity: Minor
Found in src/php/utils.php by phpcodesniffer
Severity
Category
Status
Source
Language