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 #221 from gooh/master
Closes #220: ignore php4 style ctor in interfaces and namespaces
- Loading branch information
Showing
4 changed files
with
37 additions
and
0 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
10 changes: 10 additions & 0 deletions
10
...ule/Naming/ConstructorWithNameAsEnclosingClass/testRuleNotAppliesToMethodInNamespaces.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,10 @@ | ||
<?php | ||
namespace Foo; | ||
|
||
class testRuleNotAppliesToMethodInNamespaces | ||
{ | ||
function testRuleNotAppliesToMethodInNamespaces() | ||
{ | ||
|
||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
...nstructorWithNameAsEnclosingClass/testRuleNotAppliesToMethodNamedAsEnclosingInterface.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,5 @@ | ||
<?php | ||
interface testRuleNotAppliesToMethodNamedAsEnclosingInterface | ||
{ | ||
function testRuleNotAppliesToMethodNamedAsEnclosingInterface(); | ||
} |