Beep: Add strict types to remaining php files (#7546)
This commit is contained in:
parent
83f6def6f9
commit
283668368d
13 changed files with 26 additions and 0 deletions
|
@ -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"} -->
|
||||
|
|
|
@ -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"}} -->
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
* Categories: footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
|
||||
declare( strict_types = 1 );
|
||||
?>
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
* Categories: footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
|
||||
declare( strict_types = 1 );
|
||||
?>
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
* Categories: footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
|
||||
declare( strict_types = 1 );
|
||||
?>
|
||||
|
||||
<!-- wp:spacer {"height":"50px"} -->
|
||||
|
|
|
@ -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"}} -->
|
||||
|
|
|
@ -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"}} -->
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"} -->
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
* Slug: beep/post-meta
|
||||
* Inserter: no
|
||||
*/
|
||||
|
||||
declare( strict_types = 1 );
|
||||
?>
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
* Slug: beep/post-nav
|
||||
* Inserter: no
|
||||
*/
|
||||
|
||||
declare( strict_types = 1 );
|
||||
?>
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
* Slug: beep/post-title
|
||||
* Inserter: no
|
||||
*/
|
||||
|
||||
declare( strict_types = 1 );
|
||||
?>
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
|
|
|
@ -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"}} -->
|
||||
|
|
Loading…
Reference in a new issue