Showing 1,811 of 1,811 total issues
Expected 0 spaces before closing bracket; 1 found Open
Open
$options = json_decode( wp_json_encode( $options ) );
- Exclude checks
Opening brace should be on a new line Open
Open
function add_json_script( string $id, $data ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( in_array( 'wp-i18n', $script_asset['dependencies'], true ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
return array_key_exists( $id, $registered_styles );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
id="<?php echo esc_attr( $id ); ?>"
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( in_array( 'wp-i18n', $script_asset['dependencies'], true ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( in_array( 'wp-i18n', $script_asset['dependencies'], true ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
filemtime( ABT_ROOT_PATH . $style_suffix )
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
update_option( ABT_OPTIONS_KEY, $options );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$options = json_decode( wp_json_encode( $options ) );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( did_action( $action ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( did_action( $action ) ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$script_asset['dependencies'] = array_merge( $script_asset['dependencies'], $extra_deps );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( file_exists( ABT_ROOT_PATH . $script_suffix ) ) {
- Exclude checks
Opening brace should be on a new line Open
Open
function get_citation_styles() {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
return array_key_exists( $id, $registered_styles );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_verify_nonce( sanitize_key( $_POST[ ABT_NONCE ] ), ABT_ACTIONS['SET_CITATION_STYLE'] )
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$options['citation_style'] = json_decode( wp_unslash( $_POST['citation_style'] ), true );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
throw new \RuntimeException( 'Action already fired for JSON data with ID ' . $id );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( file_exists( ABT_ROOT_PATH . $style_suffix ) ) {
- Exclude checks