From 841202de22c257e4e365d480c0b8ebd398ba5c71 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 17 Feb 2023 12:04:33 +0100 Subject: [PATCH] Only do classmap-authoritative on release Signed-off-by: Joas Schilling --- .github/workflows/appstore-build-publish.yml | 2 +- Makefile | 2 +- composer.json | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index 90453eb0c3..6a51e7eaaa 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -83,7 +83,7 @@ jobs: if: steps.check_composer.outputs.files_exists == 'true' run: | cd ${{ env.APP_NAME }} - composer install --no-dev + composer install --no-dev --classmap-authoritative - name: Build ${{ env.APP_NAME }} # Skip if no package.json diff --git a/Makefile b/Makefile index 5850a51d8e..f1ba3eb3e8 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ composer-install-dev: composer install composer-install-production: - composer install --no-dev + composer install --no-dev --classmap-authoritative build-js: npm run dev diff --git a/composer.json b/composer.json index 76e3f6049f..367f18fd63 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,6 @@ "bamarni/composer-bin-plugin": true }, "autoloader-suffix": "Talk", - "classmap-authoritative": true, "optimize-autoloader": true, "platform": { "php": "8.0"