Merge branch '1.8.x' into feat-add-execution-and-log-response-headers

This commit is contained in:
Khushboo Verma
2025-08-26 18:37:33 +05:30
14 changed files with 929 additions and 929 deletions
+1 -1
View File
@@ -173,6 +173,6 @@ class Template extends View
*/
public static function fromCamelCaseToDash($input): string
{
return \str_replace([' ', '_'], '-', \strtolower(\preg_replace('/([a-zA-Z])(?=[A-Z])/', '$1-', $input)));
return \strtolower(\preg_replace('/(?<!^)([A-Z][a-z]|(?<=[a-z])[^a-z\s]|(?<=[A-Z])[0-9_])/', '-$1', $input));
}
}