From 355affc259f6f818a56c06130e76572a501ab722 Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Mon, 6 Jan 2020 13:45:35 +0100 Subject: [PATCH] Initialize $gsspidMatches variable --- .../DependencyInjection/Compiler/ViewConfigCollectionPass.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/DependencyInjection/Compiler/ViewConfigCollectionPass.php b/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/DependencyInjection/Compiler/ViewConfigCollectionPass.php index 8deab3125..6dfd0862a 100644 --- a/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/DependencyInjection/Compiler/ViewConfigCollectionPass.php +++ b/src/Surfnet/StepupSelfService/SamlStepupProviderBundle/DependencyInjection/Compiler/ViewConfigCollectionPass.php @@ -43,6 +43,7 @@ public function process(ContainerBuilder $container) $taggedServices = array_keys($taggedServices); foreach ($taggedServices as $id) { + $gsspIdMatches = null; preg_match('/^gssp\.view_config\.(\w+)$/', $id, $gsspIdMatches); if (!is_array($gsspIdMatches)) { throw new InvalidConfigurationException('A manually tagged view config service was named incorrectly.');