-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa94cf8
commit 5f13267
Showing
5 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
tests/Support/Doubles/Fakes/Laravel/app/Ship/Helpers/ExplosiveClass.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace Tests\Support\Doubles\Fakes\Laravel\app\Ship\Helpers; | ||
|
||
class ExplosiveClass | ||
{ | ||
// This class is used to test if we can handle requiring helper files from | ||
// a directory where it has a class (which is already declared) in it. | ||
} |
8 changes: 8 additions & 0 deletions
8
tests/Support/Doubles/Fakes/Laravel/app/Ship/Helpers/functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
if (!function_exists('this_is_a_test_function_to_test_functions_file')) { | ||
function this_is_a_test_function_to_test_functions_file(): string | ||
{ | ||
return 'functions file loaded'; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
tests/Support/Doubles/Fakes/Laravel/app/Ship/Helpers/helpers.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
if (!function_exists('this_is_a_test_function_to_test_helpers_file')) { | ||
function this_is_a_test_function_to_test_helpers_file(): string | ||
{ | ||
return 'helpers file loaded'; | ||
} | ||
} |