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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/composer/composer/src/Composer/Command/   drwxr-xr-x
Free 13.34 GB of 57.97 GB (23.02%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     OutdatedCommand.php (4.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 * 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.
 */

namespace Composer\Command;

use 
Symfony\Component\Console\Input\InputInterface;
use 
Symfony\Component\Console\Input\InputArgument;
use 
Symfony\Component\Console\Input\ArrayInput;
use 
Symfony\Component\Console\Input\InputOption;
use 
Symfony\Component\Console\Output\OutputInterface;

/**
 * @author Jordi Boggiano <j.boggiano@seld.be>
 */
class OutdatedCommand extends ShowCommand
{
    protected function 
configure()
    {
        
$this
            
->setName('outdated')
            ->
setDescription('Shows a list of installed packages that have updates available, including their latest version.')
            ->
setDefinition(array(
                new 
InputArgument('package'InputArgument::OPTIONAL'Package to inspect. Or a name including a wildcard (*) to filter lists of packages instead.'),
                new 
InputOption('outdated''o'InputOption::VALUE_NONE'Show only packages that are outdated (this is the default, but present here for compat with `show`'),
                new 
InputOption('all''a'InputOption::VALUE_NONE'Show all installed packages with their latest versions'),
                new 
InputOption('locked'nullInputOption::VALUE_NONE'Shows updates for packages from the lock file, regardless of what is currently in vendor dir'),
                new 
InputOption('direct''D'InputOption::VALUE_NONE'Shows only packages that are directly required by the root package'),
                new 
InputOption('strict'nullInputOption::VALUE_NONE'Return a non-zero exit code when there are outdated packages'),
                new 
InputOption('minor-only''m'InputOption::VALUE_NONE'Show only packages that have minor SemVer-compatible updates. Use with the --outdated option.'),
                new 
InputOption('format''f'InputOption::VALUE_REQUIRED'Format of the output: text or json''text'),
                new 
InputOption('ignore'nullInputOption::VALUE_REQUIRED InputOption::VALUE_IS_ARRAY'Ignore specified package(s). Use it with the --outdated option if you don\'t want to be informed about new versions of some packages.'),
                new 
InputOption('no-dev'nullInputOption::VALUE_NONE'Disables search in require-dev packages.'),
            ))
            ->
setHelp(
                <<<EOT
The outdated command is just a proxy for `composer show -l`

The color coding (or signage if you have ANSI colors disabled) for dependency versions is as such:

- <info>green</info> (=): Dependency is in the latest version and is up to date.
- <comment>yellow</comment> (~): Dependency has a new version available that includes backwards
  compatibility breaks according to semver, so upgrade when you can but it
  may involve work.
- <highlight>red</highlight> (!): Dependency has a new version that is semver-compatible and you should upgrade it.

Read more at https://getcomposer.org/doc/03-cli.md#outdated
EOT
            )
        ;
    }

    protected function 
execute(InputInterface $inputOutputInterface $output)
    {
        
$args = array(
            
'command' => 'show',
            
'--latest' => true,
        );
        if (!
$input->getOption('all')) {
            
$args['--outdated'] = true;
        }
        if (
$input->getOption('direct')) {
            
$args['--direct'] = true;
        }
        if (
$input->getArgument('package')) {
            
$args['package'] = $input->getArgument('package');
        }
        if (
$input->getOption('strict')) {
            
$args['--strict'] = true;
        }
        if (
$input->getOption('minor-only')) {
            
$args['--minor-only'] = true;
        }
        if (
$input->getOption('locked')) {
            
$args['--locked'] = true;
        }
        if (
$input->getOption('no-dev')) {
            
$args['--no-dev'] = true;
        }
        
$args['--format'] = $input->getOption('format');
        
$args['--ignore'] = $input->getOption('ignore');

        
$input = new ArrayInput($args);

        return 
$this->getApplication()->run($input$output);
    }

    
/**
     * {@inheritDoc}
     */
    
public function isProxyCommand()
    {
        return 
true;
    }
}

:: 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.0079 ]--