Skip to content

Commit 02be28d

Browse files
Reorganize
1 parent 3874ac2 commit 02be28d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/Framework/MockObject/Exception/CannotUseAddMethodsException.php renamed to src/Framework/MockObject/Generator/Exception/CannotUseAddMethodsException.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\Framework\MockObject;
10+
namespace PHPUnit\Framework\MockObject\Generator;
1111

1212
use function sprintf;
1313

src/Framework/MockObject/MockBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use function trait_exists;
1515
use PHPUnit\Framework\Exception;
1616
use PHPUnit\Framework\InvalidArgumentException;
17+
use PHPUnit\Framework\MockObject\Generator\CannotUseAddMethodsException;
1718
use PHPUnit\Framework\MockObject\Generator\ClassIsEnumerationException;
1819
use PHPUnit\Framework\MockObject\Generator\ClassIsFinalException;
1920
use PHPUnit\Framework\MockObject\Generator\ClassIsReadonlyException;

tests/unit/Framework/MockObject/Creation/MockBuilderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use PHPUnit\Framework\Attributes\Group;
2121
use PHPUnit\Framework\Attributes\Medium;
2222
use PHPUnit\Framework\Attributes\TestDox;
23+
use PHPUnit\Framework\MockObject\Generator\CannotUseAddMethodsException;
2324
use PHPUnit\Framework\MockObject\Generator\DuplicateMethodException;
2425
use PHPUnit\Framework\MockObject\Generator\InvalidMethodNameException;
2526
use PHPUnit\Framework\MockObject\Generator\NameAlreadyInUseException;

0 commit comments

Comments
 (0)