From 7003c0c4a9a455e1f19b6a9784129430c7cd601b Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Sun, 9 Feb 2025 06:59:50 +0100 Subject: [PATCH] Assume recent Psalm when we fail to detect its version Fixes #54 --- src/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module.php b/src/Module.php index 93f5969..c265f61 100644 --- a/src/Module.php +++ b/src/Module.php @@ -111,7 +111,7 @@ public function _before(TestInterface $test): void */ public function runPsalmOn(string $filename, array $options = []): void { - $suppressProgress = $this->packageSatisfiesVersionConstraint('vimeo/psalm', '>=3.4.0'); + $suppressProgress = !$this->packageSatisfiesVersionConstraint('vimeo/psalm', '<3.4.0'); $options = array_map('escapeshellarg', $options); $cmd = $this->getPsalmPath()