Showing 1,811 of 1,811 total issues
Opening brace should be on a new line Open
Open
function get_style_json() {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( 'custom' === $current_style['kind'] ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$raw = wp_remote_retrieve_body( wp_safe_remote_get( $url ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$authors = $xpath->query( '//meta[ @name="author" ]' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
'style' => get_option( ABT_OPTIONS_KEY )['citation_style'],
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
defined( 'ABSPATH' ) || exit;
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
add_action( 'wp_ajax_get_style_json', __NAMESPACE__ . '\get_style_json' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( ! is_int( array_search( $a, $payload['authors'], true ) ) ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( $issued ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$key = sanitize_key( $expl[1] );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$authors = $xpath->query( '//*[ @itemprop="author" ][ not( ancestor::*[ @itemtype="http://schema.org/Comment" ] ) ]' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$opengraph = $xpath->query( '//meta[ starts-with( @property, "og:" ) ]' );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $opengraph as $node ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$key = sanitize_key( $expl[1] );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( strlen( $value ) > 50 ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$payload['issued'] = esc_attr( $issued->getAttribute( 'datetime' ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$expl = explode( ':', $node->getAttribute( 'property' ), 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$issued = $xpath->query( '//*[ @itemprop="datePublished" ]' )->item( 0 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$issued = $xpath->query( '//*[ @itemprop="datePublished" ]' )->item( 0 );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( $issued ) {
- Exclude checks