mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
parent
8392faf77d
commit
94dadee12a
@ -368,14 +368,6 @@ if (isset($options['i'])) {
|
|||||||
$template
|
$template
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!\Phar::running(false)) {
|
|
||||||
$template = str_replace(
|
|
||||||
'vendor/vimeo/psalm/config.xsd',
|
|
||||||
'file://' . realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config.xsd'),
|
|
||||||
$template
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!file_put_contents($current_dir . 'psalm.xml', $template)) {
|
if (!file_put_contents($current_dir . 'psalm.xml', $template)) {
|
||||||
die('Could not write to psalm.xml' . PHP_EOL);
|
die('Could not write to psalm.xml' . PHP_EOL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user