fix php unit tests & SRI hash

This commit is contained in:
El RIDO 2025-10-06 23:53:13 +02:00
parent f0560bcc27
commit 85962a537a
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ class Helper
public static function updateSubresourceIntegrity(): void
{
foreach (new GlobIterator(PATH . 'js' . DIRECTORY_SEPARATOR . '*.js') as $file) {
if ($file->getBasename() == 'common.js') {
if ($file->getBasename() === 'common.js' || $file->getBasename() === 'eslint.config.js') {
continue; // ignore JS unit test bootstrap
}
self::$hashes[$file->getBasename()] = base64_encode(