Skip to content

Commit 875ae73

Browse files
committed
Assume recent Psalm when we fail to detect its version
Fixes #54
1 parent 8b8f4dd commit 875ae73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function _before(TestInterface $test): void
110110
*/
111111
public function runPsalmOn(string $filename, array $options = []): void
112112
{
113-
$suppressProgress = $this->packageSatisfiesVersionConstraint('vimeo/psalm', '>=3.4.0');
113+
$suppressProgress = !$this->packageSatisfiesVersionConstraint('vimeo/psalm', '<3.4.0');
114114

115115
$options = array_map('escapeshellarg', $options);
116116
$cmd = $this->getPsalmPath()

0 commit comments

Comments
 (0)