doctrine / DoctrineModule

Doctrine Module for Laminas
http://www.doctrine-project.org/projects/doctrine-module.html
MIT License
398 stars 270 forks source link

Missing requirement in composer.json #808

Closed reinfi closed 1 year ago

reinfi commented 1 year ago

Hey,

the latest 6.x version does not work out of the box because of the missing requirement of composer/semver.

Is this expected? There is no hint in the release notes about it.

NOTICE: PHP message: PHP Fatal error: Uncaught Error: Class "Composer\Semver\VersionParser" not found in /../vendor/doctrine/doctrine-module/src/ConfigProvider.php:163

Best regards

demiankatz commented 1 year ago

That's not happening for me. What version of Composer are you using? In what context are you seeing this problem?

TomHAnderson commented 1 year ago

vimeo/psalm requires composer/semver so the unit tests are passing, but you are right, @reinfi , we're using VersionParser in the ConfigProvider and without dev options it fails.