Closed SychO9 closed 1 year ago
Yeah, there's at least a couple of those in the codebase. I'm working on a PHP8.2 branch that should fix all of them.
The WIP branch is there: https://github.com/s9e/TextFormatter/tree/PHP8.2
The WIP branch currently uses get_called_class()
(old PHP 5.x habits) but using static::class
as you did seems preferable.
Cool, I'll leave it to you then!
This should be the only deprecation warning when run on 8.2