Skip to content

Commit 7003c0c

Browse files
committed
Assume recent Psalm when we fail to detect its version
Fixes #54
1 parent a9e05a3 commit 7003c0c

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
@@ -111,7 +111,7 @@ public function _before(TestInterface $test): void
111111
*/
112112
public function runPsalmOn(string $filename, array $options = []): void
113113
{
114-
$suppressProgress = $this->packageSatisfiesVersionConstraint('vimeo/psalm', '>=3.4.0');
114+
$suppressProgress = !$this->packageSatisfiesVersionConstraint('vimeo/psalm', '<3.4.0');
115115

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

0 commit comments

Comments
 (0)