Skip to content

Commit

Permalink
Fix phpstan conditional config
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Feb 2, 2024
1 parent c8cf25d commit 2b85c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PHPStan/conditional.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
];
}

if (InstalledVersions::satisfies(new VersionParser(), 'nette/forms', '<3.1.15')) {
if (InstalledVersions::satisfies(new VersionParser(), 'nette/forms', '<3.2')) {
$config['parameters']['ignoreErrors'][] = [
'message' => '~contains generic type Nette\\\\Forms\\\\Control<mixed> but interface Nette\\\\Forms\\\\Control is not generic~',
];
Expand Down

0 comments on commit 2b85c8c

Please sign in to comment.