Passed
Push — main ( 2edd53...9e1454 )
by Stefan
02:35
created
SKien/Formgenerator/FormFieldSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         if (defined($strConstName)) {
56 56
             $iType = constant($strConstName);
57 57
         } else {
58
-            trigger_error('Unknown Constant [' . $strConstName . '] for the FieldSet-Type property!', E_USER_WARNING );
58
+            trigger_error('Unknown Constant [' . $strConstName . '] for the FieldSet-Type property!', E_USER_WARNING);
59 59
         }
60 60
         $oFormElement = new self($strLegend, $strId, $iType);
61 61
         $oFormParent->add($oFormElement);
Please login to merge, or discard this patch.
SKien/Formgenerator/FormDiv.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         if (defined($strConstName)) {
67 67
             $iAlign = constant($strConstName);
68 68
         } else {
69
-            trigger_error('Unknown Constant [' . $strConstName . '] for the Div-Alignment property!', E_USER_WARNING );
69
+            trigger_error('Unknown Constant [' . $strConstName . '] for the Div-Alignment property!', E_USER_WARNING);
70 70
         }
71 71
         $iWidth = self::getAttribInt($oXMLElement, 'width', 0);
72 72
         $oFormElement = new self($iWidth, $iAlign);
Please login to merge, or discard this patch.
SKien/Formgenerator/FormGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      */
74 74
     static public function fromXML(\DOMElement $oXMLElement, FormCollection $oFormParent) : ?FormElement
75 75
     {
76
-        trigger_error( 'Illegal call of static method fromXML(\DOMElement $oXMLElement, FormCollection $oFormParent)!', E_USER_ERROR);
76
+        trigger_error('Illegal call of static method fromXML(\DOMElement $oXMLElement, FormCollection $oFormParent)!', E_USER_ERROR);
77 77
         return null;
78 78
     }
79 79
     
Please login to merge, or discard this patch.
SKien/Formgenerator/XMLHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                 if (defined($strConstName)) {
93 93
                     $wFlags += constant($strConstName);
94 94
                 } else {
95
-                    trigger_error('Unknown Constant [' . $strConstName . '] for the FormFlag property!', E_USER_WARNING );
95
+                    trigger_error('Unknown Constant [' . $strConstName . '] for the FormFlag property!', E_USER_WARNING);
96 96
                 }
97 97
             }
98 98
         }
Please login to merge, or discard this patch.
SKien/Formgenerator/XMLForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,12 +63,12 @@
 block discarded – undo
63 63
         if (!$oXMLParent->hasChildNodes()) {
64 64
             return $iResult;
65 65
         }
66
-        foreach($oXMLParent->childNodes as $oXMLChild) {
66
+        foreach ($oXMLParent->childNodes as $oXMLChild) {
67 67
             if (strtolower($oXMLChild->nodeName) == '#text') {
68 68
                 continue;
69 69
             }
70 70
             $strClassname = __NAMESPACE__ . '\Form' . $oXMLChild->nodeName;
71
-            if (class_exists($strClassname) && is_subclass_of($strClassname, __NAMESPACE__ . '\FormElement') ) {
71
+            if (class_exists($strClassname) && is_subclass_of($strClassname, __NAMESPACE__ . '\FormElement')) {
72 72
                 $oFormElement = $strClassname::fromXML($oXMLChild, $oFormParent);
73 73
                 // recursive call for collection element (div, fieldset, line)
74 74
                 if ($oFormElement instanceof FormCollection) {
Please login to merge, or discard this patch.
SKien/Formgenerator/FormButtonBox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                 if (defined($strConstName)) {
65 65
                     $iBtns += constant($strConstName);
66 66
                 } else {
67
-                    trigger_error('Unknown Constant [' . $strConstName . '] for the Button property!', E_USER_WARNING );
67
+                    trigger_error('Unknown Constant [' . $strConstName . '] for the Button property!', E_USER_WARNING);
68 68
                 }
69 69
             }
70 70
         }
Please login to merge, or discard this patch.