-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-tools.php
More file actions
29 lines (22 loc) · 952 Bytes
/
dev-tools.php
File metadata and controls
29 lines (22 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
declare(strict_types=1);
/**
* This file is part of fast-forward/dev-tools.
*
* This source file is subject to the license bundled
* with this source code in the file LICENSE.
*
* @copyright Copyright (c) 2026 Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
* @license https://opensource.org/licenses/MIT MIT License
*
* @see https://github.com/php-fast-forward/dev-tools
* @see https://github.com/php-fast-forward
* @see https://datatracker.ietf.org/doc/html/rfc2119
*/
namespace FastForward\DevTools;
use FastForward\DevTools\Console\DevTools;
use Symfony\Component\Console\Input\ArgvInput;
$projectVendorAutoload = \dirname(__DIR__, 4) . '/vendor/autoload.php';
$pluginVendorAutoload = \dirname(__DIR__) . '/vendor/autoload.php';
require_once file_exists($projectVendorAutoload) ? $projectVendorAutoload : $pluginVendorAutoload;
DevTools::create()->run(new ArgvInput([...$argv, '--no-plugins']));