thuecat/Documentation/Maintenance/PHP/7.4.rst
Daniel Siepmann 7f6bd13628
Remove deprecated usage of StringUtility::endsWith() (#70)
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.
2022-09-13 09:44:54 +02:00

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.