mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Use a new method to display warning
This commit is contained in:
parent
0cc770c947
commit
9d54de6a51
@ -2243,8 +2243,8 @@ class Config
|
||||
$is_stub_already_loaded = in_array($ext_stub_path, $this->internal_stubs, true);
|
||||
if (! $is_stub_already_loaded && extension_loaded($ext_name)) {
|
||||
$this->internal_stubs[] = $ext_stub_path;
|
||||
$progress->warning("Psalm 6 will not automatically load stubs for ext-$ext_name."
|
||||
. " You should explicitly enable or disable this ext in composer.json or Psalm config.");
|
||||
$this->config_warnings[] = "Psalm 6 will not automatically load stubs for ext-$ext_name."
|
||||
. " You should explicitly enable or disable this ext in composer.json or Psalm config.";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user