Skip to content

Commit

Permalink
Add strict types declaration
Browse files Browse the repository at this point in the history
Deploy script won't allow themes to be commited without this
declaration.
Recent previous case: #7529
  • Loading branch information
vcanales committed Dec 7, 2023
1 parent 5788e5f commit 9e29dff
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion beep/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package Beep
* @since Beep 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'beep_support' ) ) :

Expand Down
2 changes: 1 addition & 1 deletion ici/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package Ici
* @since Ici 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'ici_support' ) ) :

Expand Down
2 changes: 2 additions & 0 deletions indice/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* @since indice 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'indice_support' ) ) :

/**
Expand Down
2 changes: 1 addition & 1 deletion spiel/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package Spiel
* @since Spiel 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'spiel_support' ) ) :

Expand Down
2 changes: 1 addition & 1 deletion xanadu/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package Xanadu
* @since Xanadu 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'xanadu_support' ) ) :

Expand Down

0 comments on commit 9e29dff

Please sign in to comment.