Skip to content

Commit

Permalink
Add strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
miksansegundo committed Jul 8, 2024
1 parent 8fb1e7a commit 4bf4fb9
Show file tree
Hide file tree
Showing 226 changed files with 227 additions and 1 deletion.
1 change: 1 addition & 0 deletions atrium/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Atrium functions and definitions
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/404.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/archive.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: archive
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/comments.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Comments
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/footer-minimal.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: footer-minimal
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/footer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: footer
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/header.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: header
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/hidden-no-results-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Hidden No Results Content
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/home.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: home
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: index
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/page-collection.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: page-collection
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/page-exhibitions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: page-exhibitions
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/page.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: page
Expand Down
1 change: 1 addition & 0 deletions atrium/patterns/search.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: search
Expand Down
1 change: 1 addition & 0 deletions balasana/functions.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions balasana/inc/wpcom-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/* Custom Colors: Balasana */

Expand Down
1 change: 1 addition & 0 deletions balasana/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/*
* Custom Editor Colors: Balasana
Expand Down
1 change: 1 addition & 0 deletions balasana/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?
/**
* Adds support for wp.com-specific theme functions.
Expand Down
1 change: 1 addition & 0 deletions balasana/template-parts/footer/footer-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<footer id="colophon" class="site-footer responsive-max-width">
<?php
if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content.
Expand Down
1 change: 1 addition & 0 deletions balasana/template-parts/header/fse-header.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<header id="masthead" class="site-header responsive-max-width">
<?php
$template = new A8C\FSE\WP_Template();
Expand Down
1 change: 1 addition & 0 deletions balasana/template-parts/header/header-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<header id="masthead" class="site-header responsive-max-width">
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
<?php get_template_part( 'template-parts/header/site', 'navigation' ); ?>
Expand Down
1 change: 1 addition & 0 deletions balasana/template-parts/header/site-navigation.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php if ( has_nav_menu( 'menu-1' ) ) : ?>
<nav id="site-navigation" class="main-navigation" aria-label="<?php esc_attr_e( 'Main Navigation', 'balasana' ); ?>">
<input type="checkbox" role="button" aria-haspopup="true" id="toggle" class="hide-visually">
Expand Down
1 change: 1 addition & 0 deletions barnsbury/functions.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions barnsbury/inc/wpcom-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/* Custom Colors: Barnsbury */

Expand Down
1 change: 1 addition & 0 deletions barnsbury/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/*
* Custom Editor Colors: Barnsbury
Expand Down
1 change: 1 addition & 0 deletions barnsbury/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?
/**
* Adds support for wp.com-specific theme functions.
Expand Down
1 change: 1 addition & 0 deletions barnsbury/template-parts/header/site-branding.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Displays header site branding
Expand Down
1 change: 1 addition & 0 deletions brompton/functions.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions brompton/inc/wpcom-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/* Custom Colors: Brompton */

Expand Down
1 change: 1 addition & 0 deletions brompton/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/*
* Custom Editor Colors: Brompton
Expand Down
1 change: 1 addition & 0 deletions brompton/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?
/**
* Adds support for wp.com-specific theme functions.
Expand Down
1 change: 1 addition & 0 deletions brompton/template-parts/footer/footer-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content. ?>
<footer class="fse-template-part fse-footer entry-content">
<?php
Expand Down
1 change: 1 addition & 0 deletions calm-business/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Calm (Twenty Nineteen) functions and definitions.
Expand Down
1 change: 1 addition & 0 deletions calm-business/inc/customizer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Change the label of the Site Title option.
Expand Down
1 change: 1 addition & 0 deletions calm-business/inc/jetpack.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Jetpack Compatibility File.
Expand Down
1 change: 1 addition & 0 deletions calm-business/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* WPcom Compatibility File.
Expand Down
1 change: 1 addition & 0 deletions coutoire/functions.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions coutoire/inc/wpcom-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/* Custom Colors: Coutoire */

Expand Down
1 change: 1 addition & 0 deletions coutoire/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/*
* Custom Editor Colors
Expand Down
1 change: 1 addition & 0 deletions coutoire/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?
/**
* Adds support for wp.com-specific theme functions.
Expand Down
1 change: 1 addition & 0 deletions coutoire/template-parts/header/header-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<header id="masthead" class="site-header alignfull">
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
<?php get_template_part( 'template-parts/header/site', 'navigation' ); ?>
Expand Down
1 change: 1 addition & 0 deletions dalston/functions.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions dalston/inc/wpcom-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/* Custom Colors: Dalston */

Expand Down
1 change: 1 addition & 0 deletions dalston/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/*
* Custom Editor Colors
Expand Down
1 change: 1 addition & 0 deletions dalston/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?
/**
* Adds support for wp.com-specific theme functions.
Expand Down
1 change: 1 addition & 0 deletions dalston/template-parts/footer/footer-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php if ( class_exists( 'A8C\FSE\WP_Template' ) ) : // If the FSE plugin is active, use the Header template for content. ?>
<footer class="fse-template-part fse-footer entry-content">
<?php
Expand Down
1 change: 1 addition & 0 deletions dalston/template-parts/header/fse-header.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<header id="masthead" class="site-header site-branding entry-content">
<?php
$template = new A8C\FSE\WP_Template();
Expand Down
1 change: 1 addition & 0 deletions dalston/template-parts/header/header-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
$has_primary_nav = has_nav_menu( 'menu-1' );
$header_classes = 'site-header';
Expand Down
1 change: 1 addition & 0 deletions dalston/template-parts/header/site-branding.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Displays header site branding
Expand Down
1 change: 1 addition & 0 deletions elegant-business/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Elegant Business functions and definitions.
Expand Down
1 change: 1 addition & 0 deletions elegant-business/inc/customizer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Custom functions that act independently of the theme templates.
Expand Down
1 change: 1 addition & 0 deletions elegant-business/inc/extras.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Custom functions that act independently of the theme templates.
Expand Down
1 change: 1 addition & 0 deletions elegant-business/inc/jetpack.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Jetpack Compatibility File.
Expand Down
1 change: 1 addition & 0 deletions elegant-business/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* WordPress.com-specific functions and definitions.
Expand Down
1 change: 1 addition & 0 deletions exford/functions.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions exford/inc/wpcom-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/* Custom Colors: Exford */

Expand Down
1 change: 1 addition & 0 deletions exford/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/*
* Custom Editor Colors
Expand Down
1 change: 1 addition & 0 deletions exford/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?
/**
* Adds support for wp.com-specific theme functions.
Expand Down
1 change: 1 addition & 0 deletions friendly-business/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Friendly Business functions and definitions.
Expand Down
1 change: 1 addition & 0 deletions friendly-business/inc/customizer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Friendly Business: Customizer
Expand Down
1 change: 1 addition & 0 deletions friendly-business/inc/jetpack.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Jetpack Compatibility File.
Expand Down
1 change: 1 addition & 0 deletions hever/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Child Theme Functions and definitions
Expand Down
1 change: 1 addition & 0 deletions hever/inc/wpcom-editor-colors.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
require_once get_template_directory() . '/inc/wpcom-colors-css-variables.php';
1 change: 1 addition & 0 deletions hever/inc/wpcom.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* WordPress.com-specific functions and definitions.
Expand Down
1 change: 1 addition & 0 deletions hever/template-parts/header/site-branding.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Displays header site branding
Expand Down
1 change: 1 addition & 0 deletions hola/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* hola functions and definitions
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/404.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/comments.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Comments
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/footer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: footer
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/header-large.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: header-large
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/header-minimal.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: header-minimal
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/hidden-no-results-content.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Hidden No Results Content
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/post-meta.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: post-meta
Expand Down
1 change: 1 addition & 0 deletions hola/patterns/single.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: single
Expand Down
1 change: 1 addition & 0 deletions inversum/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Inversum functions and definitions
Expand Down
1 change: 1 addition & 0 deletions inversum/patterns/404.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404
Expand Down
1 change: 1 addition & 0 deletions inversum/patterns/comments.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Comments
Expand Down
1 change: 1 addition & 0 deletions inversum/patterns/footer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: footer
Expand Down
1 change: 1 addition & 0 deletions inversum/patterns/header.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: header
Expand Down
1 change: 1 addition & 0 deletions inversum/patterns/single.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: single
Expand Down
Loading

0 comments on commit 4bf4fb9

Please sign in to comment.