Skip to content

Commit

Permalink
Merge pull request #14 from mediact/feature/strict-types
Browse files Browse the repository at this point in the history
 Enable strict types for all internal PHP file templates
  • Loading branch information
ashokadewit authored Apr 3, 2020
2 parents bb82396 + 5e2e58d commit 0cc3965
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions files/fileTemplates/includes/PHP Property Doc Comment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/** @var ${TYPE_HINT} */
2 changes: 1 addition & 1 deletion files/fileTemplates/internal/PHP Class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
#parse("PHP File Header")

#if (${NAMESPACE})
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/internal/PHP File.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?php
<?php declare(strict_types=1);
#parse("PHP File Header")
2 changes: 1 addition & 1 deletion files/fileTemplates/internal/PHP Interface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
#parse("PHP File Header")

#if (${NAMESPACE})
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/internal/PHP Trait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
#parse("PHP File Header")

#if (${NAMESPACE})
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/internal/PHPUnit Test.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
#parse("PHP File Header")

#if (${NAMESPACE})
Expand Down

0 comments on commit 0cc3965

Please sign in to comment.