keep-a-changelog icon indicating copy to clipboard operation
keep-a-changelog copied to clipboard

Fix preCommit Errors for get_class()

Open Chris53897 opened this issue 11 months ago • 0 comments

Can you please have a look at this Error? This needs to be fixed to allow people to send PRs.

Class name referenced via call of function get_class(). https://github.com/phly/keep-a-changelog/blob/2.12.x/src/ListenerProvider.php#L167

PHPStrom wants to fix it with $type = $event::class; But this in only allowed in PHP >= 8.0

Chris53897 avatar Mar 08 '24 10:03 Chris53897