From: Tim Düsterhus Date: Wed, 13 Oct 2021 09:09:09 +0000 (+0200) Subject: Document the inclusion of Symfony Polyfills in libraries.md X-Git-Tag: 5.6.final~134^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=219c7dfbeec4d9791264f969067cc8885d7b9690;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Document the inclusion of Symfony Polyfills in libraries.md --- diff --git a/docs/migration/wsc54/libraries.md b/docs/migration/wsc54/libraries.md index 9b527334..0882d05c 100644 --- a/docs/migration/wsc54/libraries.md +++ b/docs/migration/wsc54/libraries.md @@ -1,5 +1,13 @@ # Migrating from WSC 5.4 - Third Party Libraries +## Symfony PHP Polyfills + +WoltLab Suite 5.5 ships with Symfony's PHP 7.3, 7.4, and 8.0 polyfills. +These polyfills allow you to reliably use some of the PHP functions only available in PHP versions that are newer than the current minimum of PHP 7.2. +Notable mentions are `str_starts_with`, `str_ends_with`, `array_key_first`, and `array_key_last`. + +Refer to the documentation within the [symfony/polyfill](https://github.com/symfony/polyfill/) repository for details. + ## scssphp scssphp was updated from version 1.4 to 1.8.