From a5ea76efa260dda1bb31e0b469c39361576ce042 Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 7 Jul 2020 21:05:44 +1000 Subject: [PATCH] Remove composer's deprecation psr-0 notice When use 'composer dump-autoload -o' command with composer 1.10.8 next deprecation notice appears: Deprecation Notice: Class Doctrine_Validator_HtmlColor located in ./vendor/friendsofsymfony1/doctrine1/lib/Doctrine/Validator/Htmlcolor.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/Cellar/composer/1.10.8/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201 This fix just changes the file name to comply with psr-0 --- lib/Doctrine/Validator/{Htmlcolor.php => HtmlColor.php} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lib/Doctrine/Validator/{Htmlcolor.php => HtmlColor.php} (96%) diff --git a/lib/Doctrine/Validator/Htmlcolor.php b/lib/Doctrine/Validator/HtmlColor.php similarity index 96% rename from lib/Doctrine/Validator/Htmlcolor.php rename to lib/Doctrine/Validator/HtmlColor.php index db0d37753..a7249bfcb 100644 --- a/lib/Doctrine/Validator/Htmlcolor.php +++ b/lib/Doctrine/Validator/HtmlColor.php @@ -1,6 +1,6 @@