Sfoglia il codice sorgente

Fotograma: add strict types (#7715)

Vicente Canales 1 anno fa
parent
commit
f2cca4ec26

+ 1 - 0
fotograma/functions.php

@@ -7,6 +7,7 @@
  * @package fotograma
  * @since fotograma 1.0
  */
+	declare( strict_types = 1 );
 
 
 if ( ! function_exists( 'fotograma_support' ) ) :

+ 1 - 0
fotograma/patterns/404.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: A 404 page

+ 1 - 0
fotograma/patterns/footer-home.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Default footer

+ 1 - 0
fotograma/patterns/footer.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Default footer

+ 1 - 0
fotograma/patterns/front-page.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: front-page

+ 1 - 0
fotograma/patterns/header.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Header

+ 1 - 0
fotograma/patterns/no-results-content.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: No Results Content

+ 1 - 0
fotograma/patterns/search.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Search

+ 1 - 0
fotograma/patterns/stack-contact.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Stack Contact

+ 1 - 0
fotograma/patterns/stack-photo.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Stack Photo