Skip to content

Commit 4743afa

Browse files
committed
Make class names unique
1 parent 4d07971 commit 4743afa

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Tests/_files/NamespaceCoveredClass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Foo;
33

4-
class CoveredParentClass
4+
class CoveredNamespaceParentClass
55
{
66
private function privateMethod()
77
{
@@ -18,7 +18,7 @@ public function publicMethod()
1818
}
1919
}
2020

21-
class CoveredClass extends CoveredParentClass
21+
class CoveredNamespaceClass extends CoveredNamespaceParentClass
2222
{
2323
private function privateMethod()
2424
{

Tests/_files/source_with_namespace.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
namespace bar\baz;
33

44
/**
5-
* Represents foo.
5+
* Represents foo_with_namespace.
66
*/
7-
class Foo
7+
class foo_with_namespace
88
{
99
}
1010

1111
/**
1212
* @param mixed $bar
1313
*/
14-
function &foo($bar)
14+
function &foo_with_namespace($bar)
1515
{
1616
$baz = function() {};
1717
$a = TRUE ? TRUE : FALSE;

Tests/_files/source_without_namespace.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22
/**
3-
* Represents foo.
3+
* Represents foo_without_namespace.
44
*/
5-
class Foo
5+
class foo_without_namespace
66
{
77
}
88

99
/**
1010
* @param mixed $bar
1111
*/
12-
function &foo($bar)
12+
function &foo_without_namespace($bar)
1313
{
1414
$baz = function() {};
1515
$a = TRUE ? TRUE : FALSE;

0 commit comments

Comments
 (0)