Skip to content

Commit 8ea6052

Browse files
authored
Merge pull request #11416 from vimeo/disable_diff_mode
Disable diff mode
2 parents ffb7fb6 + ce94600 commit 8ea6052

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Psalm/Internal/Cli/Psalm.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public static function run(array $argv): void
322322

323323
$show_info = self::initShowInfo($options);
324324

325-
$is_diff = self::initIsDiff($options);
325+
$is_diff = false; // self::initIsDiff($options);
326326

327327
$find_unused_code = self::shouldFindUnusedCode($options, $config);
328328

@@ -489,12 +489,12 @@ private static function initShowInfo(array $options): bool
489489
: false;
490490
}
491491

492-
private static function initIsDiff(array $options): bool
492+
/*private static function initIsDiff(array $options): bool
493493
{
494494
return !isset($options['no-diff'])
495495
&& !isset($options['set-baseline'])
496496
&& !isset($options['update-baseline']);
497-
}
497+
}*/
498498

499499
/**
500500
* @param array<int,string> $args

tests/EndToEnd/PsalmEndToEndTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public function testPsalmWithPHPVersionFromConfig(): void
164164
);
165165
}
166166

167+
/*
167168
public function testPsalmDiff(): void
168169
{
169170
copy(__DIR__ . '/../fixtures/DummyProjectWithErrors/diff_composer.lock', self::$tmpDir . '/composer.lock');
@@ -187,7 +188,7 @@ public function testPsalmDiff(): void
187188
$this->assertSame(2, $result['CODE']);
188189
189190
@unlink(self::$tmpDir . '/composer.lock');
190-
}
191+
}*/
191192

192193
public function testTainting(): void
193194
{

0 commit comments

Comments
 (0)