Beep: Add strict types to remaining php files (#7546)

This commit is contained in:
Takashi Irie 2023-12-13 11:29:41 +01:00 committed by GitHub
parent 83f6def6f9
commit 283668368d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 26 additions and 0 deletions

View file

@ -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"} -->

View file

@ -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"}} -->

View file

@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/
declare( strict_types = 1 );
?>
<!-- wp:spacer {"height":"50px"} -->

View file

@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/
declare( strict_types = 1 );
?>
<!-- wp:spacer {"height":"50px"} -->

View file

@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/
declare( strict_types = 1 );
?>
<!-- wp:spacer {"height":"50px"} -->

View file

@ -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"}} -->

View file

@ -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"}} -->

View file

@ -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>

View file

@ -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"} -->

View file

@ -4,6 +4,8 @@
* Slug: beep/post-meta
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->

View file

@ -4,6 +4,8 @@
* Slug: beep/post-nav
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->

View file

@ -4,6 +4,8 @@
* Slug: beep/post-title
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->

View file

@ -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"}} -->