diff --git a/src/FilePathPluginFactory.php b/src/FilePathPluginFactory.php index 2accc19..b1f3c53 100644 --- a/src/FilePathPluginFactory.php +++ b/src/FilePathPluginFactory.php @@ -45,7 +45,7 @@ public function createPluginFromFilePath(string $filePath): PluginInterface ); } - $pluginData = get_plugin_data($filePath); + $pluginData = get_plugin_data($filePath, true, false); if (empty($pluginData)) { throw new UnexpectedValueException( sprintf(