This PR is adding support for nette/utils version 4.0.0.
I went through all usages of nette/utils in the repository. It seems to be safe.
I did not know how to get rid of that PHPStan warnings related to the \Stringable interface which is used as a type hint in nette/utils other than ignore these warnings. We can not use \Stringable since we want to support PHP versions <8. Is there a better solution?
This PR is adding support for
nette/utils
version4.0.0
.I went through all usages of
nette/utils
in the repository. It seems to be safe.I did not know how to get rid of that PHPStan warnings related to the
\Stringable
interface which is used as a type hint innette/utils
other than ignore these warnings. We can not use\Stringable
since we want to support PHP versions<8
. Is there a better solution?