b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / dev / tests / integration / bin /
Filename/home/dev2.destoffenstraat.com/dev/tests/integration/bin/magento
Size1.3 kb
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified28-Jan-2025 06:45
Last accessed23-Aug-2025 07:36
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/usr/bin/env php
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

use Magento\Framework\Console\Cli;
use Magento\TestFramework\Console\CliProxy;

if (PHP_SAPI !== 'cli') {
echo 'bin/magento must be run as a CLI application';
exit(1);
}

if (isset($_SERVER['INTEGRATION_TEST_PARAMS'])) {
parse_str($_SERVER['INTEGRATION_TEST_PARAMS'], $params);
foreach ($params as $paramName => $paramValue) {
$_SERVER[$paramName] = $paramValue;
}
} else {
echo 'Test parameters are required';
exit(1);
}

try {
require $_SERVER['INTEGRATION_TESTS_CLI_AUTOLOADER'] ??
($_SERVER['MAGE_DIRS']['base']['path'] . '/app/bootstrap.php');
} catch (\Exception $e) {
echo 'Autoload error: ' . $e->getMessage();
exit(1);
}
try {
$handler = new \Magento\Framework\App\ErrorHandler();
set_error_handler([$handler, 'handler']);
if (isset($_SERVER['INTEGRATION_TESTS_CLI_AUTOLOADER'])) {
$application = new CliProxy('Magento CLI');
} else {
$application = new Cli('Magento CLI');
}
$application->run();
} catch (\Exception $e) {
while ($e) {
echo $e->getMessage();
echo $e->getTraceAsString();
echo "\n\n";
$e = $e->getPrevious();
}
exit(Cli::RETURN_FAILURE);
}