Skip to content

Commit

Permalink
Remove composer's deprecation psr-0 notice
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cmdeviant authored Jul 7, 2020
1 parent 49f2549 commit a5ea76e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
* $Id: Htmlcolor.php 7490 2010-03-29 19:53:27Z jwage $
* $Id: HtmlColor.php 7490 2010-03-29 19:53:27Z jwage $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Expand Down Expand Up @@ -48,4 +48,4 @@ public function validate($value)
}
return true;
}
}
}

0 comments on commit a5ea76e

Please sign in to comment.