From 4016f17511eace2ab4cbe638c1da11c7f1d0cdd0 Mon Sep 17 00:00:00 2001
From: Liam Morland <lkmorlan@uwaterloo.ca>
Date: Tue, 9 May 2017 16:39:13 -0400
Subject: [PATCH] Issue #2877483: Coding standards: Switch from @section to
 @defgroup

@section is for sections within a docbock. @defgroup can be used to
group related functions together.
---
 fillpdf.rules.inc | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/fillpdf.rules.inc b/fillpdf.rules.inc
index 0d42c4d..9b6043c 100644
--- a/fillpdf.rules.inc
+++ b/fillpdf.rules.inc
@@ -6,7 +6,8 @@
  */
 
 /**
- * @section Rules hooks
+ * @defgroup rules_hooks Rules hooks
+ * @{
  */
 
 /**
@@ -155,7 +156,12 @@ function fillpdf_rules_condition_info() {
 }
 
 /**
- * @section Rules callbacks
+ * @} End of "defgroup rules_hooks".
+ */
+
+/**
+ * @defgroup rules_callbacks Rules callbacks
+ * @{
  */
 
 /**
@@ -219,7 +225,12 @@ function fillpdf_rules_action_delete_file($filename) {
 }
 
 /**
- * @section Condition callbacks
+ * @} End of "defgroup rules_callbacks".
+ */
+
+/**
+ * @defgroup condition_callbacks Condition callbacks
+ * @{
  */
 
 /**
@@ -228,3 +239,7 @@ function fillpdf_rules_action_delete_file($filename) {
 function _fillpdf_rules_metadata_info() {
   return array();
 }
+
+/**
+ * @} End of "defgroup condition_callbacks".
+ */
-- 
GitLab