Skip to content

Commit

Permalink
Beep: Add strict types to remaining php files (#7546)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakashi authored Dec 13, 2023
1 parent 83f6def commit 2836683
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beep/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/404
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:heading {"textAlign":"left","level":1,"anchor":"oops-that-page-can-t-be-found"} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/archive-title.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/archive-title
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|80","bottom":"0","left":"var:preset|spacing|80"},"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/footer-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/

declare( strict_types = 1 );
?>

<!-- wp:spacer {"height":"50px"} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/footer-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/

declare( strict_types = 1 );
?>

<!-- wp:spacer {"height":"50px"} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/

declare( strict_types = 1 );
?>

<!-- wp:spacer {"height":"50px"} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: header
* Block Types: core/template-part/header
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|80","bottom":"0","left":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|40","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left","verticalAlignment":"top"}} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/navigation
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80"},"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/no-results.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/no-results
* Inserter: no
*/

declare( strict_types = 1 );
?>
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'beep' ); ?></p>
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/post-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/post-content
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:paragraph {"style":{"spacing":{"margin":{"left":"0","right":"var:preset|spacing|40"}}},"textColor":"inactive"} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/post-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/post-meta
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/post-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/post-nav
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/post-title.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/post-title
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
Expand Down
2 changes: 2 additions & 0 deletions beep/patterns/query-title.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: beep/query-title
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|80","bottom":"0","left":"var:preset|spacing|80"},"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
Expand Down

0 comments on commit 2836683

Please sign in to comment.