!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.68 (Linux) PHP/7.4.33. PHP/7.4.33 

uname -a: Linux bjb2293782.nichost.ru 6.6.151-1.el8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Aug 10
11:16:02 MSK 2026 x86_64
 

uid=12584(bjb2293782) gid=12584(bjb2293782) groups=12584(bjb2293782)  

Safe-mode: OFF (not secure)

/usr/share/php/Composer/Autoload/   drwxr-xr-x
Free 59.75 GB of 99.95 GB (59.78%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ClassMapGenerator.php (3.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php declare(strict_types=1);

/*
 * This file is part of Composer.
 *
 * (c) Nils Adermann <naderman@naderman.de>
 *     Jordi Boggiano <j.boggiano@seld.be>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/*
 * This file is copied from the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 */

namespace Composer\Autoload;

use 
Composer\ClassMapGenerator\FileList;
use 
Composer\IO\IOInterface;

/**
 * ClassMapGenerator
 *
 * @author Gyula Sallai <salla016@gmail.com>
 * @author Jordi Boggiano <j.boggiano@seld.be>
 *
 * @deprecated Since Composer 2.4.0 use the composer/class-map-generator package instead
 */
class ClassMapGenerator
{
    
/**
     * Generate a class map file
     *
     * @param \Traversable<string>|array<string> $dirs Directories or a single path to search in
     * @param string                             $file The name of the class map file
     */
    
public static function dump(iterable $dirsstring $file): void
    
{
        
$maps = [];

        foreach (
$dirs as $dir) {
            
$maps array_merge($maps, static::createMap($dir));
        }

        
file_put_contents($filesprintf('<?php return %s;'var_export($mapstrue)));
    }

    
/**
     * Iterate over all files in the given directory searching for classes
     *
     * @param \Traversable<\SplFileInfo>|string|array<\SplFileInfo> $path The path to search in or an iterator
     * @param non-empty-string|null                                 $excluded     Regex that matches file paths to be excluded from the classmap
     * @param ?IOInterface                                          $io           IO object
     * @param null|string                                           $namespace    Optional namespace prefix to filter by
     * @param null|'psr-0'|'psr-4'|'classmap'                       $autoloadType psr-0|psr-4 Optional autoload standard to use mapping rules
     * @param array<non-empty-string, true>                         $scannedFiles
     * @return array<class-string, non-empty-string> A class map array
     * @throws \RuntimeException When the path is neither an existing file nor directory
     */
    
public static function createMap($path, ?string $excluded null, ?IOInterface $io null, ?string $namespace null, ?string $autoloadType null, array &$scannedFiles = []): array
    {
        
$generator = new \Composer\ClassMapGenerator\ClassMapGenerator(['php''inc''hh']);
        
$fileList = new FileList();
        
$fileList->files $scannedFiles;
        
$generator->avoidDuplicateScans($fileList);

        
$generator->scanPaths($path$excluded$autoloadType ?? 'classmap'$namespace);

        
$classMap $generator->getClassMap();

        
$scannedFiles $fileList->files;

        if (
$io !== null) {
            foreach (
$classMap->getPsrViolations() as $msg) {
                
$io->writeError("<warning>$msg</warning>");
            }

            foreach (
$classMap->getAmbiguousClasses() as $class => $paths) {
                if (
count($paths) > 1) {
                    
$io->writeError(
                        
'<warning>Warning: Ambiguous class resolution, "'.$class.'"'.
                        
' was found '. (count($paths) + 1) .'x: in "'.$classMap->getClassPath($class).'" and "'implode('", "'$paths) .'", the first will be used.</warning>'
                    
);
                } else {
                    
$io->writeError(
                        
'<warning>Warning: Ambiguous class resolution, "'.$class.'"'.
                        
' was found in both "'.$classMap->getClassPath($class).'" and "'implode('", "'$paths) .'", the first will be used.</warning>'
                    
);
                }
            }
        }

        return 
$classMap->getMap();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]--