Skip to content

Commit

Permalink
Twenty Fourteen: Fix various PHPCS issues.
Browse files Browse the repository at this point in the history
* Inline comments must end in full stops, exclamation marks, or question marks.
* There must be exactly one blank line after the file comment.

Follow-up to [24832], [25023], [25088], [25090], [25213], [51045].

Props pitamdey, dhruvang21, aristath.
Fixes #62098.

git-svn-id: https://develop.svn.wordpress.org/trunk@59158 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Oct 2, 2024
1 parent d42d958 commit 552077a
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-aside.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-link.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-none.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<header class="page-header">
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/featured-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

<div id="featured-content" class="featured-content">
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>

</div><!-- #main -->
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyfourteen/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
if ( function_exists( 'register_block_pattern' ) ) {

// Description
// Description.
register_block_pattern(
'twentyfourteen/about',
array(
Expand All @@ -37,7 +37,7 @@
)
);

// Description
// Description.
register_block_pattern(
'twentyfourteen/list',
array(
Expand Down
1 change: 0 additions & 1 deletion src/wp-content/themes/twentyfourteen/inc/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {

/**
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentyfourteen/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

?>
<div id="secondary">
<?php
Expand Down

0 comments on commit 552077a

Please sign in to comment.