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 namespace N98\Magento\Command\Installer\SubCommand; use N98\Magento\Command\SubCom..
Decoded Output download
<?php
namespace N98\Magento\Command\Installer\SubCommand;
use N98\Magento\Command\SubCommand\AbstractSubCommand;
use Symfony\Component\Process\Process;
/**
* Class InstallComposerPackages
*
* @package N98\Magento\Command\Installer\SubCommand
*/
class InstallComposerPackages extends AbstractSubCommand
{
/**
* Check PHP environment agains minimal required settings modules
*
* @return void
*
* @throws \Exception
*/
public function execute()
{
$this->output->writeln('<comment>Install composer packages</comment>');
$process = new Process(array_merge($this->config['composer_bin'], ['install']));
$process->setTimeout(86400);
$process->start();
$process->wait(function ($type, $buffer) {
$this->output->write('composer > ' . $buffer, false);
});
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace N98\Magento\Command\Installer\SubCommand;
use N98\Magento\Command\SubCommand\AbstractSubCommand;
use Symfony\Component\Process\Process;
/**
* Class InstallComposerPackages
*
* @package N98\Magento\Command\Installer\SubCommand
*/
class InstallComposerPackages extends AbstractSubCommand
{
/**
* Check PHP environment agains minimal required settings modules
*
* @return void
*
* @throws \Exception
*/
public function execute()
{
$this->output->writeln('<comment>Install composer packages</comment>');
$process = new Process(array_merge($this->config['composer_bin'], ['install']));
$process->setTimeout(86400);
$process->start();
$process->wait(function ($type, $buffer) {
$this->output->write('composer > ' . $buffer, false);
});
}
}
Function Calls
None |
Stats
MD5 | 89dc2489547c46d9e1ed900dce3c2a11 |
Eval Count | 0 |
Decode Time | 65 ms |