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
{
$path = $file->getRealPath() ?: $file->getPathname();
- if (pathinfo($path, PATHINFO_EXTENSION) !== 'php') {
+ if ('php' !== pathinfo($path, PATHINFO_EXTENSION)) {
continue;
}