Remove closing php tags at end of files

This commit is contained in:
Gary Kealy 2019-07-04 15:58:08 +01:00
parent 327e0ddb59
commit afca2ffb56
31 changed files with 31 additions and 31 deletions

View File

@ -86,4 +86,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #error-404-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -70,4 +70,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #archive-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -105,4 +105,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #author-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -21,4 +21,4 @@ defined( 'ABSPATH' ) || exit;
</div>
<?php endif; ?>
<?php endif;

View File

@ -17,4 +17,4 @@ defined( 'ABSPATH' ) || exit;
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
<?php endif; ?>
<?php endif;

View File

@ -55,4 +55,4 @@ if ( ! function_exists( 'understrap_pagination' ) ) {
}
}
?>

View File

@ -72,4 +72,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #index-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -57,4 +57,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #page-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -52,4 +52,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #full-width-page-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -51,4 +51,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #page-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -51,4 +51,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #page-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -54,4 +54,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #page-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -74,7 +74,7 @@
</rule>
<!-- A closing tag is not permitted at the end of a PHP file -->
<!-- <rule ref="Zend.Files.ClosingTag"/> -->
<rule ref="Zend.Files.ClosingTag"/>
<!-- Use the PHPCompatibility Ruleset -->
<config name="testVersion" value="5.2-99.0"/>

View File

@ -75,4 +75,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #search-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -30,4 +30,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #wrapper-footer-full -->
<?php endif; ?>
<?php endif;

View File

@ -43,4 +43,4 @@ defined( 'ABSPATH' ) || exit;
jQuery( ".carousel-item" ).first().addClass( "active" );
</script>
<?php endif; ?>
<?php endif;

View File

@ -15,4 +15,4 @@ defined( 'ABSPATH' ) || exit;
<?php dynamic_sidebar( 'herocanvas' ); ?>
<?php endif; ?>
<?php endif;

View File

@ -29,4 +29,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #wrapper-static-hero -->
<?php endif; ?>
<?php endif;

View File

@ -49,4 +49,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #single-wrapper -->
<?php get_footer(); ?>
<?php get_footer();

View File

@ -28,4 +28,4 @@ if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
<?php esc_html_e( 'Return to shop', 'understrap' ); ?>
</a>
</p>
<?php endif; ?>
<?php endif;

View File

@ -164,4 +164,4 @@ do_action( 'woocommerce_before_cart' ); ?>
?>
</div>
<?php do_action( 'woocommerce_after_cart' ); ?>
<?php do_action( 'woocommerce_after_cart' );

View File

@ -83,4 +83,4 @@ do_action( 'woocommerce_before_mini_cart' ); ?>
<?php endif; ?>
<?php do_action( 'woocommerce_after_mini_cart' ); ?>
<?php do_action( 'woocommerce_after_mini_cart' );

View File

@ -61,4 +61,4 @@ if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_requir
</form>
<?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
<?php do_action( 'woocommerce_after_checkout_form', $checkout );

View File

@ -44,4 +44,4 @@ do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?>
</div>
<?php endif; ?>
<?php do_action( 'woocommerce_after_account_downloads', $has_downloads ); ?>
<?php do_action( 'woocommerce_after_account_downloads', $has_downloads );

View File

@ -73,4 +73,4 @@ do_action( 'woocommerce_before_edit_account_form' ); ?>
<?php do_action( 'woocommerce_edit_account_form_end' ); ?>
</form>
<?php do_action( 'woocommerce_after_edit_account_form' ); ?>
<?php do_action( 'woocommerce_after_edit_account_form' );

View File

@ -53,4 +53,4 @@ do_action( 'woocommerce_before_edit_account_address_form' ); ?>
<?php endif; ?>
<?php do_action( 'woocommerce_after_edit_account_address_form' ); ?>
<?php do_action( 'woocommerce_after_edit_account_address_form' );

View File

@ -117,4 +117,4 @@ do_action( 'woocommerce_before_customer_login_form' ); ?>
</div>
<?php endif; ?>
<?php do_action( 'woocommerce_after_customer_login_form' ); ?>
<?php do_action( 'woocommerce_after_customer_login_form' );

View File

@ -84,4 +84,4 @@ if ( $customer_orders ) : ?>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
<?php endif;

View File

@ -32,4 +32,4 @@ do_action( 'woocommerce_before_account_navigation' );
</div>
</nav>
<?php do_action( 'woocommerce_after_account_navigation' ); ?>
<?php do_action( 'woocommerce_after_account_navigation' );

View File

@ -104,4 +104,4 @@ do_action( 'woocommerce_before_account_orders', $has_orders ); ?>
</div>
<?php endif; ?>
<?php do_action( 'woocommerce_after_account_orders', $has_orders ); ?>
<?php do_action( 'woocommerce_after_account_orders', $has_orders );

View File

@ -51,4 +51,4 @@ if ( $product->is_in_stock() ) : ?>
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
<?php endif; ?>
<?php endif;