From d60b196456f505d6c3868b22491b343fd7030afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 8 May 2025 22:33:56 +0200 Subject: [PATCH 1/2] Add missing namespace to global functions --- includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/functions.php b/includes/functions.php index 1a13c7a..a0e3a35 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -10,6 +10,8 @@ * @package Spyc */ +use Mustangostang\Spyc; + if (!function_exists('spyc_load')) { /** * Parses YAML to array. From c636714403ea56d20ae59d0e7b36af96ae770a6e Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sun, 2 Nov 2025 15:03:23 +0100 Subject: [PATCH 2/2] Remove trailing whitespace Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- includes/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index a0e3a35..4d29df6 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -11,7 +11,6 @@ */ use Mustangostang\Spyc; - if (!function_exists('spyc_load')) { /** * Parses YAML to array.