Closed acto-felix closed 2 years ago
Please note that ::class
special constant was introduced in 5.5, this change is breaking compatibility with php 5.4
@kstkn unfortunately yes, but php 5.4 does not even have security support anymore as it has reached its end of life some years ago (I believe it was 2015), so it should be fine for the majority of cases.
I'm not telling that php 5.4 should be supported. However if support for it going to be dropped it should be handled with care: composer.json updated, library version properly incremented, and so on
Correction on if statement to be concise with all code and changing
className()
toclass
as the former is deprecated