diff --git a/utils/compiler/src/PhpScoper/StaticEasyPrefixer.php b/utils/compiler/src/PhpScoper/StaticEasyPrefixer.php index c60eef9acc3..60b549fe77d 100644 --- a/utils/compiler/src/PhpScoper/StaticEasyPrefixer.php +++ b/utils/compiler/src/PhpScoper/StaticEasyPrefixer.php @@ -16,6 +16,8 @@ final class StaticEasyPrefixer 'Doctrine\Inflector\Inflector', // for SmartFileInfo 'Symplify\SmartFileSystem\SmartFileInfo', + // for ComposerJson because it is part of the public API. I.e. ComposerRectorInterface + 'Symplify\ComposerJsonManipulator\ValueObject\ComposerJson' ]; /**