File: console-application.php

package info (click to toggle)
composer 2.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,476 kB
  • sloc: php: 82,636; makefile: 59; xml: 39
file content (17 lines) | stat: -rw-r--r-- 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.
 */

require __DIR__ . '/../vendor/autoload.php';

Composer\Util\Platform::putEnv('COMPOSER_TESTS_ARE_RUNNING', '1');

return new Composer\Console\Application();