Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 4d4e619

Browse files
authored
Merge pull request #1 from Potherca/feature/v0.6.0/namespace-cleanup
Namespace cleanup.
2 parents 8a285f0 + 3f0cc89 commit 4d4e619

22 files changed

+68
-48
lines changed

example/CreateDataProviderExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class ExampleTest extends \PHPUnit\Framework\TestCase
66
{
7-
use \Potherca\PhpUnit\CreateDataProviderTrait;
7+
use \Potherca\PhpUnit\Traits\CreateDataProviderTrait;
88

99
/** @var array */
1010
private $values = array(

example/CreateObjectFromAbstractClassExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function sayName()
1414

1515
class ExampleTest extends \PHPUnit\Framework\TestCase
1616
{
17-
use \Potherca\PhpUnit\CreateObjectFromAbstractClassTrait;
17+
use \Potherca\PhpUnit\Traits\CreateObjectFromAbstractClassTrait;
1818

1919
const MOCK_VALUE = 'mock-value';
2020

example/GetCompatibleExceptionNameExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ abstract class AbstractTestCase extends \PHPUnit\Framework\TestCase {}
1111

1212
class ExampleTest extends AbstractTestCase
1313
{
14-
use \Potherca\PhpUnit\GetCompatibleExceptionNameTrait;
14+
use \Potherca\PhpUnit\Traits\GetCompatibleExceptionNameTrait;
1515

1616
public function testException()
1717
{

example/GetNonPublicPropertyExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct($name)
1414

1515
class ExampleTest extends \PHPUnit\Framework\TestCase
1616
{
17-
use \Potherca\PhpUnit\GetNonPublicPropertyTrait;
17+
use \Potherca\PhpUnit\Traits\GetNonPublicPropertyTrait;
1818

1919
const MOCK_VALUE = 'mock-value';
2020

example/PHP5.3/CreateDataProviderExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class ExampleTest extends \PHPUnit\Framework\TestCase
77
/**
88
* As PHP5.3 does not support traits, __call is (a)bused instead of the trait.
99
*
10-
use \Potherca\PhpUnit\CreateDataProviderTrait;
10+
use \Potherca\PhpUnit\Traits\CreateDataProviderTrait;
1111
*
1212
* @param string $name
1313
* @param array $parameters

example/PHP5.3/CreateObjectFromAbstractClassExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ExampleTest extends \PHPUnit\Framework\TestCase
1717
/**
1818
* As PHP5.3 does not support traits, __call is (a)bused instead of the trait.
1919
*
20-
use \Potherca\PhpUnit\CreateObjectFromAbstractClassTrait;
20+
use \Potherca\PhpUnit\Traits\CreateObjectFromAbstractClassTrait;
2121
*
2222
* @param string $name
2323
* @param array $parameters

example/PHP5.3/GetCompatibleExceptionNameExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ExampleTest extends AbstractTestCase
1414
/**
1515
* As PHP5.3 does not support traits, __call is (a)bused instead of the trait.
1616
*
17-
use \Potherca\PhpUnit\GetCompatibleExceptionNameTrait;
17+
use \Potherca\PhpUnit\Traits\GetCompatibleExceptionNameTrait;
1818
*
1919
* @param string $name
2020
* @param array $parameters

example/PHP5.3/GetNonPublicPropertyExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ExampleTest extends \PHPUnit\Framework\TestCase
1717
/**
1818
* As PHP5.3 does not support traits, __call is (a)bused instead of the trait.
1919
*
20-
use \Potherca\PhpUnit\GetNonPublicPropertyTrait;
20+
use \Potherca\PhpUnit\Traits\GetNonPublicPropertyTrait;
2121
*
2222
* @param string $name
2323
* @param array $parameters

example/PHP5.3/SetNonPublicPropertyExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ExampleTest extends \PHPUnit\Framework\TestCase
1717
/**
1818
* As PHP5.3 does not support traits, __call is (a)bused instead of the trait.
1919
*
20-
use \Potherca\PhpUnit\SetNonPublicPropertyTrait;
20+
use \Potherca\PhpUnit\Traits\SetNonPublicPropertyTrait;
2121
*
2222
* @param string $name
2323
* @param array $parameters

example/SetNonPublicPropertyExample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function getName()
1414

1515
class ExampleTest extends \PHPUnit\Framework\TestCase
1616
{
17-
use \Potherca\PhpUnit\SetNonPublicPropertyTrait;
17+
use \Potherca\PhpUnit\Traits\SetNonPublicPropertyTrait;
1818

1919
const MOCK_VALUE = 'mock-value';
2020

0 commit comments

Comments
 (0)