bin/cake bake plugin generates composer.json with an invalid version constraint
mehov opened this issue · comments
What I did
bin/cake bake plugin -v PluginName
What I got
{
"name": "your-name-here/plugin-name",
"require": {
"cakephp/cakephp": ">4"
},
}
What Is The Problem
Loading composer repositories with package information
[UnexpectedValueException]
Could not parse version constraint>4
: Invalid version string ">4
"
I guess the issue is in this file, but couldn't come up with a fix to suggest.
bake/src/Command/PluginCommand.php
Line 186 in 0e679c7
What does the version constraint for cakephp/cakephp
in your app's composer.json
look like?