Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1);namespace Composer\Repository;use Composer\IO\IOInterface;us..
Decoded Output download
<?php declare(strict_types=1);namespace Composer\Repository;use Composer\IO\IOInterface;use Composer\Config;use Composer\EventDispatcher\EventDispatcher;use Composer\Package\PackageInterface;use Composer\Util\HttpDownloader;use Composer\Util\ProcessExecutor;/**
* Repositories manager.
*
* @author Jordi Boggiano <[email protected]>
* @author Konstantin Kudryashov <[email protected]>
* @author Franois Pluchino <[email protected]>
*/ class tgeia{/** @var InstalledRepositoryInterface */ private $zldtb;/** @var list<RepositoryInterface> */ private $wwqvc=array();/** @var array<string, class-string<RepositoryInterface>> */ private $xdktd=array();/** @var IOInterface */ private $xzjte;/** @var Config */ private $ifrhf;/** @var HttpDownloader */ private $dvbb10;/** @var ?EventDispatcher */ private $ukni11;/** @var ProcessExecutor */ private $exwx12;public function aymj0(IOInterface $xzjte,Config $ifrhf,HttpDownloader $dvbb10,EventDispatcher $ukni11=null,ProcessExecutor $exwx12=null){$this->$phzc13=$xzjte;$this->$jddq14=$ifrhf;$this->$jihk15=$dvbb10;$this->$hqvc16=$ukni11;$this->$riki17=$exwx12 ?? new xnbb18($xzjte);}/**
* Searches for a package by its name and version in managed repositories.
*
* @param string $name package name
* @param string|\Composer\Semver\Constraint\ConstraintInterface $constraint package version or version constraint to match against
*
* @return PackageInterface|null
*/ public function hqca1(string $hwhb19,$aaco1a):?PackageInterface{foreach($this->$oziz1b as $mpga1c){/** @var RepositoryInterface $repository */ if($miab1d=$mpga1c->hqca1($hwhb19,$aaco1a)){return $miab1d;}}return null;}/**
* Searches for all packages matching a name and optionally a version in managed repositories.
*
* @param string $name package name
* @param string|\Composer\Semver\Constraint\ConstraintInterface $constraint package version or version constraint to match against
*
* @return PackageInterface[]
*/ public function olul2(string $hwhb19,$aaco1a):array{$vari1e=array();foreach($this->pbhq7()as $mpga1c){$vari1e=array_merge($vari1e,$mpga1c->olul2($hwhb19,$aaco1a));}return $vari1e;}/**
* Adds repository
*
* @param RepositoryInterface $repository repository instance
*
* @return void
*/ public function xern3(RepositoryInterface $mpga1c):void{$this->$oziz1b[]=$mpga1c;}/**
* Adds a repository to the beginning of the chain
*
* This is useful when injecting additional repositories that should trump Packagist, e.g. from a plugin.
*
* @param RepositoryInterface $repository repository instance
*
* @return void
*/ public function rdqq4(RepositoryInterface $mpga1c):void{array_unshift($this->$oziz1b,$mpga1c);}/**
* Returns a new repository for a specific installation type.
*
* @param string $type repository type
* @param array<string, mixed> $config repository configuration
* @param string $name repository name
* @throws \InvalidArgumentException if repository for provided type is not registered
* @return RepositoryInterface
*/ public function exix5(string $ckjh1f,array$ifrhf,string $hwhb19=null):RepositoryInterface{if(!isset($this->$wogc20[$ckjh1f])){throw new \vroy21(base64_decode('UmVwb3NpdG9yeSB0eXBlIGlzIG5vdCByZWdpc3RlcmVkOiA=').$ckjh1f);}if(isset($ifrhf[base64_decode('cGFja2FnaXN0')])&&false===$ifrhf[base64_decode('cGFja2FnaXN0')]){$this->$phzc13->hong22(base64_decode('PHdhcm5pbmc+UmVwb3NpdG9yeSAi').$hwhb19.base64_decode('IiAo').json_encode($ifrhf).base64_decode('KSBoYXMgYSBwYWNrYWdpc3Qga2V5IHdoaWNoIHNob3VsZCBiZSBpbiBpdHMgb3duIHJlcG9zaXRvcnkgZGVmaW5pdGlvbjwvd2FybmluZz4='));}$yfmm23=$this->$wogc20[$ckjh1f];if(isset($ifrhf[base64_decode('b25seQ==')])||isset($ifrhf[base64_decode('ZXhjbHVkZQ==')])||isset($ifrhf[base64_decode('Y2Fub25pY2Fs')])){$ldsq24=$ifrhf;unset($ifrhf[base64_decode('b25seQ==')],$ifrhf[base64_decode('ZXhjbHVkZQ==')],$ifrhf[base64_decode('Y2Fub25pY2Fs')]);}$mpga1c=new $yfmm23($ifrhf,$this->$phzc13,$this->$jddq14,$this->$jihk15,$this->$hqvc16,$this->$riki17);if(isset($ldsq24)){$mpga1c=new xwpi25($mpga1c,$ldsq24);}return $mpga1c;}/**
* Stores repository class for a specific installation type.
*
* @param string $type installation type
* @param class-string<RepositoryInterface> $class class name of the repo implementation
*
* @return void
*/ public function dfph6(string $ckjh1f,$yfmm23):void{$this->$wogc20[$ckjh1f]=$yfmm23;}/**
* Returns all repositories, except local one.
*
* @return RepositoryInterface[]
*/ public function pbhq7():array{return $this->$oziz1b;}/**
* Sets local repository for the project.
*
* @param InstalledRepositoryInterface $repository repository instance
*
* @return void
*/ public function vpdv8(InstalledRepositoryInterface $mpga1c):void{$this->$rirj26=$mpga1c;}/**
* Returns local repository for the project.
*
* @return InstalledRepositoryInterface
*/ public function egva9():InstalledRepositoryInterface{return $this->$rirj26;}}?>
Did this file decode correctly?
Original Code
<?php declare(strict_types=1);namespace Composer\Repository;use Composer\IO\IOInterface;use Composer\Config;use Composer\EventDispatcher\EventDispatcher;use Composer\Package\PackageInterface;use Composer\Util\HttpDownloader;use Composer\Util\ProcessExecutor;/**
* Repositories manager.
*
* @author Jordi Boggiano <[email protected]>
* @author Konstantin Kudryashov <[email protected]>
* @author Franois Pluchino <[email protected]>
*/ class tgeia{/** @var InstalledRepositoryInterface */ private $zldtb;/** @var list<RepositoryInterface> */ private $wwqvc=array();/** @var array<string, class-string<RepositoryInterface>> */ private $xdktd=array();/** @var IOInterface */ private $xzjte;/** @var Config */ private $ifrhf;/** @var HttpDownloader */ private $dvbb10;/** @var ?EventDispatcher */ private $ukni11;/** @var ProcessExecutor */ private $exwx12;public function aymj0(IOInterface $xzjte,Config $ifrhf,HttpDownloader $dvbb10,EventDispatcher $ukni11=null,ProcessExecutor $exwx12=null){$this->$phzc13=$xzjte;$this->$jddq14=$ifrhf;$this->$jihk15=$dvbb10;$this->$hqvc16=$ukni11;$this->$riki17=$exwx12 ?? new xnbb18($xzjte);}/**
* Searches for a package by its name and version in managed repositories.
*
* @param string $name package name
* @param string|\Composer\Semver\Constraint\ConstraintInterface $constraint package version or version constraint to match against
*
* @return PackageInterface|null
*/ public function hqca1(string $hwhb19,$aaco1a):?PackageInterface{foreach($this->$oziz1b as $mpga1c){/** @var RepositoryInterface $repository */ if($miab1d=$mpga1c->hqca1($hwhb19,$aaco1a)){return $miab1d;}}return null;}/**
* Searches for all packages matching a name and optionally a version in managed repositories.
*
* @param string $name package name
* @param string|\Composer\Semver\Constraint\ConstraintInterface $constraint package version or version constraint to match against
*
* @return PackageInterface[]
*/ public function olul2(string $hwhb19,$aaco1a):array{$vari1e=array();foreach($this->pbhq7()as $mpga1c){$vari1e=array_merge($vari1e,$mpga1c->olul2($hwhb19,$aaco1a));}return $vari1e;}/**
* Adds repository
*
* @param RepositoryInterface $repository repository instance
*
* @return void
*/ public function xern3(RepositoryInterface $mpga1c):void{$this->$oziz1b[]=$mpga1c;}/**
* Adds a repository to the beginning of the chain
*
* This is useful when injecting additional repositories that should trump Packagist, e.g. from a plugin.
*
* @param RepositoryInterface $repository repository instance
*
* @return void
*/ public function rdqq4(RepositoryInterface $mpga1c):void{array_unshift($this->$oziz1b,$mpga1c);}/**
* Returns a new repository for a specific installation type.
*
* @param string $type repository type
* @param array<string, mixed> $config repository configuration
* @param string $name repository name
* @throws \InvalidArgumentException if repository for provided type is not registered
* @return RepositoryInterface
*/ public function exix5(string $ckjh1f,array$ifrhf,string $hwhb19=null):RepositoryInterface{if(!isset($this->$wogc20[$ckjh1f])){throw new \vroy21(base64_decode('UmVwb3NpdG9yeSB0eXBlIGlzIG5vdCByZWdpc3RlcmVkOiA=').$ckjh1f);}if(isset($ifrhf[base64_decode('cGFja2FnaXN0')])&&false===$ifrhf[base64_decode('cGFja2FnaXN0')]){$this->$phzc13->hong22(base64_decode('PHdhcm5pbmc+UmVwb3NpdG9yeSAi').$hwhb19.base64_decode('IiAo').json_encode($ifrhf).base64_decode('KSBoYXMgYSBwYWNrYWdpc3Qga2V5IHdoaWNoIHNob3VsZCBiZSBpbiBpdHMgb3duIHJlcG9zaXRvcnkgZGVmaW5pdGlvbjwvd2FybmluZz4='));}$yfmm23=$this->$wogc20[$ckjh1f];if(isset($ifrhf[base64_decode('b25seQ==')])||isset($ifrhf[base64_decode('ZXhjbHVkZQ==')])||isset($ifrhf[base64_decode('Y2Fub25pY2Fs')])){$ldsq24=$ifrhf;unset($ifrhf[base64_decode('b25seQ==')],$ifrhf[base64_decode('ZXhjbHVkZQ==')],$ifrhf[base64_decode('Y2Fub25pY2Fs')]);}$mpga1c=new $yfmm23($ifrhf,$this->$phzc13,$this->$jddq14,$this->$jihk15,$this->$hqvc16,$this->$riki17);if(isset($ldsq24)){$mpga1c=new xwpi25($mpga1c,$ldsq24);}return $mpga1c;}/**
* Stores repository class for a specific installation type.
*
* @param string $type installation type
* @param class-string<RepositoryInterface> $class class name of the repo implementation
*
* @return void
*/ public function dfph6(string $ckjh1f,$yfmm23):void{$this->$wogc20[$ckjh1f]=$yfmm23;}/**
* Returns all repositories, except local one.
*
* @return RepositoryInterface[]
*/ public function pbhq7():array{return $this->$oziz1b;}/**
* Sets local repository for the project.
*
* @param InstalledRepositoryInterface $repository repository instance
*
* @return void
*/ public function vpdv8(InstalledRepositoryInterface $mpga1c):void{$this->$rirj26=$mpga1c;}/**
* Returns local repository for the project.
*
* @return InstalledRepositoryInterface
*/ public function egva9():InstalledRepositoryInterface{return $this->$rirj26;}}?>
Function Calls
None |
Stats
MD5 | 5cee2fa003f1b1d754d7569fc13729c5 |
Eval Count | 0 |
Decode Time | 38 ms |