diff --git a/src/Psalm/Codebase.php b/src/Psalm/Codebase.php index b6f3eaa4a..dca69444c 100644 --- a/src/Psalm/Codebase.php +++ b/src/Psalm/Codebase.php @@ -993,6 +993,8 @@ class Codebase } catch (\UnexpectedValueException $e) { error_log($e->getMessage()); return null; + } catch (\InvalidArgumentException $e) { + return null; } }