mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 10:38:49 +01:00
Do not check deleted files
This commit is contained in:
parent
eecd35f10b
commit
566fa8e838
@ -152,6 +152,10 @@ class ProjectChecker
|
|||||||
$filetype_handlers = $config->getFiletypeHandlers();
|
$filetype_handlers = $config->getFiletypeHandlers();
|
||||||
|
|
||||||
foreach ($file_list as $file_name) {
|
foreach ($file_list as $file_name) {
|
||||||
|
if (!file_exists($file_name)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$extension = pathinfo($file_name, PATHINFO_EXTENSION);
|
$extension = pathinfo($file_name, PATHINFO_EXTENSION);
|
||||||
|
|
||||||
if ($debug) {
|
if ($debug) {
|
||||||
|
Loading…
Reference in New Issue
Block a user