mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
replace composer/composer with composer/xdebug-handler
Fixes vimeo/psalm#349 Note: there's no stable release at the moment, so it's using dev-master for now.
This commit is contained in:
parent
b54fb06552
commit
9a27583253
@ -12,10 +12,10 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^5.6 || ^7.0",
|
"php": "^5.6 || ^7.0",
|
||||||
"nikic/PHP-Parser": "^3.1.2",
|
"nikic/PHP-Parser": "^3.1.2",
|
||||||
"composer/composer": "^1.3|^1.4|^1.5",
|
|
||||||
"openlss/lib-array2xml": "^0.0.10||^0.5.1",
|
"openlss/lib-array2xml": "^0.0.10||^0.5.1",
|
||||||
"muglug/package-versions-56": "1.2.3",
|
"muglug/package-versions-56": "1.2.3",
|
||||||
"php-cs-fixer/diff": "^1.2"
|
"php-cs-fixer/diff": "^1.2",
|
||||||
|
"composer/xdebug-handler": "dev-master"
|
||||||
},
|
},
|
||||||
"bin": ["psalm", "psalter"],
|
"bin": ["psalm", "psalter"],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -47,7 +47,7 @@ if (isset($options['c']) && is_array($options['c'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists('h', $options)) {
|
if (array_key_exists('h', $options)) {
|
||||||
echo <<< HELP
|
echo <<<HELP
|
||||||
Usage:
|
Usage:
|
||||||
psalm [options] [file...]
|
psalm [options] [file...]
|
||||||
|
|
||||||
@ -144,7 +144,7 @@ if (array_key_exists('v', $options)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If XDebug is enabled, restart without it
|
// If XDebug is enabled, restart without it
|
||||||
(new \Composer\XdebugHandler(\Composer\Factory::createOutput()))->check();
|
(new \Composer\XdebugHandler\XdebugHandler())->check();
|
||||||
|
|
||||||
setlocale(LC_CTYPE, 'C');
|
setlocale(LC_CTYPE, 'C');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user