Showing 1,811 of 1,811 total issues
Expected 0 spaces before closing bracket; 1 found Open
Open
wp_slash( wp_json_encode( $state ) ),
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
add_action( 'wp_ajax_get_style_json', __NAMESPACE__ . '\get_style_json' );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( ! extension_loaded( 'dom' ) || ! extension_loaded( 'libxml' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
check_ajax_referer( 'abt-ajax' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$a = explode( ' ', sanitize_text_field( $node->getAttribute( 'content' ) ), 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$a = explode( ' ', sanitize_text_field( $node->getAttribute( 'content' ) ), 2 );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( ! is_int( array_search( $a, $payload['authors'], true ) ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
register_script( 'options-page' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
add_action( 'admin_head-post-new.php', __NAMESPACE__ . '\ajax_nonce' );
- Exclude checks
Opening brace should be on a new line Open
Open
function register_metadata() {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
return current_user_can( 'edit_posts' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( array_key_exists( '_abt-reflist-state', $meta ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
wp_slash( wp_json_encode( $state ) ),
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_send_json_error( [], 501 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_send_json_error( [], 400 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$xpath = new \DOMXPath( $html );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $authors as $node ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( ! array_key_exists( '_abt_state', $meta ) || ! has_blocks( $post_id ) ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( array_key_exists( '_abt-reflist-state', $meta ) ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $legacy_meta->CSL as $id => $data ) { // phpcs:ignore
- Exclude checks