From 9803db30024dbed6252d97008690bc78c7cb76c5 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 17 Jan 2024 19:29:31 +0100 Subject: [PATCH] Reproducible builds --- box.json.dist | 1 - composer.json | 3 ++- scoper.inc.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/box.json.dist b/box.json.dist index 3a1cbadc7d2..1e3d29e86da 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 3a0a3465c27..ef22ae9470c 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 fd949abe620..148f638ebed 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 { //