mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
This commit is contained in:
@@ -36,7 +36,7 @@ abstract class AbstractVault
|
||||
protected function validateName(string $name): void
|
||||
{
|
||||
if (!preg_match('/^\w++$/D', $name)) {
|
||||
throw new \LogicException(sprintf('Invalid secret name "%s": only "word" characters are allowed.', $name));
|
||||
throw new \LogicException(\sprintf('Invalid secret name "%s": only "word" characters are allowed.', $name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user