A PHP tool built to generate a changelog from a project's commit messages and metadata following the conventionalcommits.org and automate versioning with semver.org.
GNU General Public License v3.0
230
stars
31
forks
source link
fix: cast `Scope` as string to use it as array key #60
Fixes the following error:
The cause is that you are using an object
Scope
as an array key, in lines 330 and 333 in filesrc/Changelog.php
.https://www.php.net/manual/en/language.types.array.php
So, as
Scope
implementsStringable
, should be casted as(string)
before using it as an array key.PHP Version tested: 8.1.16