8000 Reorganize · sebastianbergmann/phpunit@9e60ead · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e60ead

Browse files
Reorganize
1 parent 2eb91e4 commit 9e60ead

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Framework/TestRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
use PHPUnit\Metadata\Api\CodeCoverage as CodeCoverageMetadataApi;
3131
use PHPUnit\Metadata\Parser\Registry as MetadataRegistry;
3232
use PHPUnit\Runner\CodeCoverage;
33+
use PHPUnit\Runner\ErrorHandler;
3334
use PHPUnit\TextUI\Configuration\Configuration;
3435
use PHPUnit\TextUI\Configuration\Registry as ConfigurationRegistry;
35-
use PHPUnit\Util\ErrorHandler;
3636
use PHPUnit\Util\GlobalState;
3737
use PHPUnit\Util\PHP\AbstractPhpProcess;
3838
use ReflectionClass;

src/Util/ErrorHandler.php renamed to src/Runner/ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace PHPUnit\Util;
10+
namespace PHPUnit\Runner;
1111

1212
use const E_DEPRECATED;
1313
use const E_NOTICE;
@@ -38,7 +38,7 @@ public static function instance(): self
3838
}
3939

4040
/**
41-
* @throws Exception
41+
* @throws NoTestCaseObjectOnCallStackException
4242
*/
4343
public function __invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool
4444
{

src/Util/Exception/NoTestCaseObjectOnCallStackException.php renamed to src/Runner/Exception/NoTestCaseObjectOnCallStackException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace PHPUnit\Util;
10+
namespace PHPUnit\Runner;
1111

1212
use RuntimeException;
1313

0 commit comments

Comments
 (0)
0