mortenson / psalm-plugin-drupal

A project to add Psalm support for Drupal for security testing, focused only on taint analysis.
Other
43 stars 7 forks source link

vimeo/psalm:dev-master requires composer/semver:^2 or ^3 #2

Closed xurizaemon closed 3 years ago

xurizaemon commented 3 years ago

Opening an issue to discuss / share solution.

mortenson commented 3 years ago

Thanks for looking into this!

4.6.4 came out before RemoveTaintInterface was added - that's why we're tied to dev-master right now. When a new release comes out I'll update composer.json.

It looks like Drupal 9.1.x+ uses semver 3, so I can update the README to say that's the minimum version of Drupal. This project is brand new and Drupal 8 is end of life'd in November so that seems OK.

xurizaemon commented 3 years ago

Happy for that, and thanks for confirming the status. Look forward to trying it on a D9 project next 😁

muglug commented 3 years ago

Also I've added a hack to allow older composer/semver versions in Psalm