Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/class-loader/ClassMapGenerator.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 7a779792577d |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/vendor/symfony/class-loader/ClassMapGenerator.php Mon Apr 23 09:33:26 2018 +0100 +++ b/vendor/symfony/class-loader/ClassMapGenerator.php Mon Apr 23 09:46:53 2018 +0100 @@ -11,10 +11,14 @@ namespace Symfony\Component\ClassLoader; +@trigger_error('The '.__NAMESPACE__.'\ClassMapGenerator class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead.', E_USER_DEPRECATED); + /** * ClassMapGenerator. * * @author Gyula Sallai <salla016@gmail.com> + * + * @deprecated since version 3.3, to be removed in 4.0. */ class ClassMapGenerator { @@ -58,7 +62,7 @@ $path = $file->getRealPath() ?: $file->getPathname(); - if (pathinfo($path, PATHINFO_EXTENSION) !== 'php') { + if ('php' !== pathinfo($path, PATHINFO_EXTENSION)) { continue; }