-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from aRn0D/issue_5
Fix #5 Do not add "use float"
- Loading branch information
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
fixtures/expected/GenerateMethodTest/it_prevents_methods_to_use_a_special_class_name.txt
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,14 @@ | ||
<?php | ||
|
||
namespace Vendor\Project; | ||
|
||
class MyClass | ||
{ | ||
public function myMethod( | ||
string $argument1, | ||
float $argument2, | ||
int $argument3, | ||
bool $argument4 | ||
) { | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
fixtures/skeleton/GenerateMethodTest/it_prevents_methods_to_use_a_special_class_name.txt
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,7 @@ | ||
<?php | ||
|
||
namespace Vendor\Project; | ||
|
||
class MyClass | ||
{ | ||
} |
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