mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-11-16 18:26:12 +01:00
Daniel Siepmann
7f6bd13628
This is deprecated in newer PHP versions, one should use native str_ends_with() instead. We remove the deprecation by using this function. But we also support older PHP versions, so we add symfony/polyfill-php80 as dependency to always ensure this function exists.
504 B
504 B
PHP 7.4
Changes that should happen once we drop PHP 7.4.
Remove
symfony/polyfill-php80
dependency
We use PHP 8.0 functions within our code base (to not add legacy code and deprecations).
One example is Classes/Domain/Import/Import.php
where we use
str_ends_with()
. We therefore added
symfony/polyfill-php80
as composer package to already make
use of those functions.
We can drop that package once we are at least on PHP 8.0.