We have also noticed another similar cleanup issue after updating to Helix Ultimate 2.2.9.
As mentioned before with the SCSSPHP downgrade, and also with the CSS presets that no longer seem to be included in 2.2.9 but remain on the website after updating, it looks like the installer/update process does not remove obsolete files or folders from previous versions.
In this case, after updating to Helix Ultimate 2.2.9, some old third-party vendor folders remain on the server under:
/plugins/system/helixultimate/vendor
For example:
/league
/psr
/symfony
However, these folders do not appear to be present in a clean Helix Ultimate 2.2.9 package.
https://limewire.com/d/m8FvV#p1f10U5uhR
We also noticed that an old file still remains in the updated installation:
/plugins/system/helixultimate/vendor/composer/autoload_files.php
This file still references Symfony polyfills:
/vendor/symfony/polyfill-ctype/bootstrap.php
/vendor/symfony/polyfill-mbstring/bootstrap.php
However, in the clean 2.2.9 package, the current Composer autoload files only seem to reference:
scssphp/scssphp
tedivm/jshrink
HelixUltimate\Framework
Composer\InstalledVersions
Also, autoload_real.php does not appear to require autoload_files.php, so this looks like another leftover file from a previous version.
Could you please confirm whether these old vendor folders/files are obsolete in Helix Ultimate 2.2.9?
If they are no longer required, could you please add a cleanup step to the Helix Ultimate installer/update script so obsolete vendor folders, Composer autoload files and old preset files are removed automatically during future updates?
I think this is important for maintenance and security, because outdated third-party dependencies or old preset files may remain on the filesystem after an update, even if they are no longer used by the current version.
I would prefer not to manually delete files from production sites, because the /vendor directory and Composer autoload files should stay synchronized with the official package and installer.