Showing 1,811 of 1,811 total issues
Space after opening parenthesis of function call prohibited Open
Open
if ( ! extension_loaded( 'dom' ) || ! extension_loaded( 'libxml' ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$issued = $xpath->query( '//meta[ @name="pubdate" ]' )->item( 0 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
filemtime( ABT_ROOT_PATH . '/vendor/citeproc.js' ),
- Exclude checks
Opening brace should be on a new line Open
Open
function enqueue_scripts() {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
add_action( 'enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_scripts' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$url = esc_url_raw( wp_unslash( $_POST['url'] ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$url = esc_url_raw( wp_unslash( $_POST['url'] ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$raw = wp_remote_retrieve_body( wp_safe_remote_get( $url ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
add_action( 'admin_head-post.php', __NAMESPACE__ . '\ajax_nonce' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
add_action( 'admin_head-settings_page_abt-options', __NAMESPACE__ . '\ajax_nonce' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$meta = get_post_meta( $post_id );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( array_key_exists( '_abt-reflist-state', $meta ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
check_ajax_referer( 'abt-ajax' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( ! extension_loaded( 'dom' ) || ! extension_loaded( 'libxml' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$payload['issued'] = sanitize_text_field( $issued->getAttribute( 'content' ) );
- Exclude checks
Opening brace should be on a new line Open
Open
function ajax_nonce() {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
window._abt_nonce = '<?php echo esc_html( wp_create_nonce( 'abt-ajax' ) ); ?>'
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_enqueue_style( 'abt-editor' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$state = init_editor_state( $post->ID );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
return current_user_can( 'edit_posts' );
- Exclude checks