Skip to content

Commit

Permalink
Make accessible proxies work with namespaces (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Nov 2, 2023
1 parent fa45526 commit 1ae9a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Testing/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ protected function getAccessibleMock(
*/
protected function buildAccessibleProxy($className)
{
$accessibleClassName = uniqid($className);
$accessibleClassName = uniqid(str_replace('\\', '_', $className));
$class = new ReflectionClass($className);
$abstractModifier = $class->isAbstract() ? 'abstract ' : '';

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"bin-dir": ".Build/bin",
"sort-packages": true,
"preferred-install": {
"typo3/cms": "source"
"*": "dist"
},
"allow-plugins": {
"typo3/cms-composer-installers": true,
Expand Down

0 comments on commit 1ae9a9e

Please sign in to comment.