diff --git a/box.json.dist b/box.json.dist index 3a1cbadc7..1e3d29e86 100644 --- a/box.json.dist +++ b/box.json.dist @@ -7,7 +7,6 @@ "map": [ {"build/phar-versions.php" : "phar-versions.php"} ], - "exclude-composer-files": false, "files-bin": ["config.xsd"], "directories-bin" : [ "assets", diff --git a/composer.json b/composer.json index 3a0a3465c..ef22ae947 100644 --- a/composer.json +++ b/composer.json @@ -73,7 +73,8 @@ }, "optimize-autoloader": true, "sort-packages": true, - "platform-check": true + "platform-check": true, + "autoloader-suffix": "Psalm" }, "extra": { "branch-alias": { diff --git a/scoper.inc.php b/scoper.inc.php index fd949abe6..148f638eb 100644 --- a/scoper.inc.php +++ b/scoper.inc.php @@ -3,6 +3,7 @@ use Composer\Autoload\ClassLoader; return [ + 'prefix' => 'PsalmPhar', 'patchers' => [ function (string $filePath, string $prefix, string $contents): string { //