Showing 1,811 of 1,811 total issues
Space after opening parenthesis of function call prohibited Open
Open
add_action( 'admin_menu', __NAMESPACE__ . '\register_options_page' );
- Exclude checks
Opening brace should be on a new line Open
Open
function render_options_page() {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$bib_index = array_search( 'abt/bibliography', array_column( $blocks, 'blockName' ), true );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( is_int( $bib_index ) ) {
- 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
if ( function_exists( 'get_coauthors' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$author_ids = array_merge( $author_ids, $coauthor_ids );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$bib_index = array_search( 'abt/bibliography', array_column( $blocks, 'blockName' ), true );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
defined( 'ABSPATH' ) || exit;
- Exclude checks
Opening brace should be on a new line Open
Open
function enqueue_scripts( string $hook ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $authors as $author ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( $author->first_name && $author->last_name ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( is_singular() && has_block( 'abt/bibliography', $post ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_enqueue_script( 'codepen' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( function_exists( 'get_coauthors' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
add_action( 'wp_head', __NAMESPACE__ . '\inject_author_meta' );
- Exclude checks
Opening brace should be on a new line Open
Open
function collect_bibliography( WP_Post $post ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$options = get_option( ABT_OPTIONS_KEY );
- Exclude checks
Opening brace should be on a new line Open
Open
function inject_author_meta() {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( is_int( $bib_index ) ) {
- Exclude checks