mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Move things a little
This commit is contained in:
parent
1e01e90fba
commit
ced264620c
@ -2,6 +2,10 @@
|
||||
|
||||
use Psalm;
|
||||
|
||||
use Psalm\Config;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\IncludeCollector;
|
||||
|
||||
require_once('command_functions.php');
|
||||
|
||||
gc_disable();
|
||||
@ -11,10 +15,6 @@ error_reporting(-1);
|
||||
|
||||
require_once __DIR__ . '/Psalm/Internal/exception_handler.php';
|
||||
|
||||
use Psalm\Config;
|
||||
use Psalm\Internal\Analyzer\ProjectAnalyzer;
|
||||
use Psalm\Internal\IncludeCollector;
|
||||
|
||||
$valid_short_options = [
|
||||
'h',
|
||||
'v',
|
||||
|
@ -10,6 +10,9 @@ use Psalm\Internal\PluginManager\Command\ShowCommand;
|
||||
use Psalm\Internal\PluginManager\PluginListFactory;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use function getcwd;
|
||||
use const DIRECTORY_SEPARATOR;
|
||||
use function dirname;
|
||||
|
||||
$current_dir = (string)getcwd() . DIRECTORY_SEPARATOR;
|
||||
$vendor_dir = \Psalm\getVendorDir($current_dir);
|
||||
|
Loading…
Reference in New Issue
Block a user