From 4faca32a4d4b8152d17956606e1fb5043fcc1f10 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 31 Oct 2019 18:42:00 +0100 Subject: [PATCH] Exclude language classes from autoloader optimization (#236) These classes are autoloaded by a custom autoloader --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ef4134fd..0ff86b5d 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,9 @@ }, "autoload": { "psr-0": { "HTMLPurifier": "library/" }, - "files": ["library/HTMLPurifier.composer.php"] + "files": ["library/HTMLPurifier.composer.php"], + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] } }