diff --git a/src/Psalm/Internal/Cli/Psalm.php b/src/Psalm/Internal/Cli/Psalm.php index ec08dbd1a..b8d794103 100644 --- a/src/Psalm/Internal/Cli/Psalm.php +++ b/src/Psalm/Internal/Cli/Psalm.php @@ -69,6 +69,7 @@ use function preg_replace; use function realpath; use function setlocale; use function str_repeat; +use function str_replace; use function strlen; use function strpos; use function substr; diff --git a/src/Psalm/Plugin/Shepherd.php b/src/Psalm/Plugin/Shepherd.php index f05d0a69a..4f2eb5772 100644 --- a/src/Psalm/Plugin/Shepherd.php +++ b/src/Psalm/Plugin/Shepherd.php @@ -19,6 +19,7 @@ use function curl_setopt; use function function_exists; use function fwrite; use function is_array; +use function is_int; use function is_string; use function json_encode; use function parse_url; @@ -34,6 +35,7 @@ use const CURLOPT_RETURNTRANSFER; use const JSON_THROW_ON_ERROR; use const PHP_EOL; use const PHP_URL_HOST; +use const PHP_URL_SCHEME; use const STDERR; use const STDOUT;