mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix phpcs warning
This commit is contained in:
parent
42965bff65
commit
63b473966d
@ -53,6 +53,8 @@ function requireAutoloaders($current_dir, $has_explicit_root, $vendor_dir)
|
||||
/** @psalm-suppress UnresolvableInclude */
|
||||
require_once $file;
|
||||
}
|
||||
|
||||
define('PSALM_VERSION', (string) \Muglug\PackageVersions\Versions::getVersion('vimeo/psalm'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -141,8 +141,6 @@ $vendor_dir = getVendorDir($current_dir);
|
||||
|
||||
requireAutoloaders($current_dir, isset($options['r']), $vendor_dir);
|
||||
|
||||
define('PSALM_VERSION', (string) \Muglug\PackageVersions\Versions::getVersion('vimeo/psalm'));
|
||||
|
||||
if (array_key_exists('v', $options)) {
|
||||
echo 'Psalm ' . PSALM_VERSION . PHP_EOL;
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user