From 50a87f1be9f8b2a7ac2d5425a5b6fd67ca883388 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Wed, 22 Feb 2017 09:40:43 +0100
Subject: [PATCH] Rename class "Print_a_class" to match the regular expression
 ^[a-zA-Z0-9]+$

---
 include/functions_debug.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/functions_debug.inc b/include/functions_debug.inc
index fe6b5092a..4df8ec969 100644
--- a/include/functions_debug.inc
+++ b/include/functions_debug.inc
@@ -59,7 +59,7 @@
  * based on the print_a() function from
  * Stephan Pirson (Saibot)
  */
-class Print_a_class {
+class printAClass {
 
   // this can be changed to FALSE if you don't like the fancy string formatting
   var $look_for_leading_tabs = TRUE;
@@ -80,7 +80,7 @@ class Print_a_class {
   var $export_hash;
 
   /*!
-   * \brief Print_a_class constructor
+   * \brief printAClass constructor
    */
   function __construct()
   {
@@ -215,7 +215,7 @@ class Print_a_class {
 }
 
 /*
- * \brief helper function.. calls print_a() inside the print_a_class
+ * \brief helper function.. calls print_a() inside the printAClass
  *
  * \param array $array
  *
@@ -229,7 +229,7 @@ function print_a($array, $return_mode = FALSE, $show_object_vars = FALSE, $expor
 {
   $e = error_reporting(0);
   if (is_array($array) || is_object($array)) {
-    $pa = new Print_a_class;
+    $pa = new printAClass;
     if ($show_object_vars) {
       $pa->show_object_vars = TRUE;
     }
-- 
GitLab