Test Failed
Pull Request — main (#5)
by
unknown
07:08 queued 04:04
created
source/InputOutputFiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             'Name'                   => $info->getRealPath(),
80 80
             'Type'                   => $info->getType(),
81 81
         ];
82
-        $aDetails          = array_merge($aFileBasicDetails, $this->getFileDetailsRawStatistic($info, $fileGiven));
82
+        $aDetails = array_merge($aFileBasicDetails, $this->getFileDetailsRawStatistic($info, $fileGiven));
83 83
         ksort($aDetails);
84 84
         return $aDetails;
85 85
     }
Please login to merge, or discard this patch.
source/InputOutputStrings.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -77,21 +77,21 @@
 block discarded – undo
77 77
     private function knownStringPatterns($strIdentifier)
78 78
     {
79 79
         $arrayStandard = [
80
-            'remove EOL Unix'                        => ['Original' => chr(13), 'Final' => '',],
81
-            'remove EOL Windows'                     => ['Original' => chr(10) . chr(13), 'Final' => '',],
82
-            'remove colon'                           => ['Original' => ':', 'Final' => '',],
83
-            'remove comma followed by double quotes' => ['Original' => ',"', 'Final' => '',],
84
-            'remove dot'                             => ['Original' => '.', 'Final' => '',],
85
-            'remove double quotes'                   => ['Original' => '"', 'Final' => '',],
86
-            'remove double quotes followed by comma' => ['Original' => '",', 'Final' => '',],
87
-            'remove pipeline'                        => ['Original' => '|', 'Final' => '',],
88
-            'remove semicolon'                       => ['Original' => ';', 'Final' => '',],
89
-            'remove slash'                           => ['Original' => '/', 'Final' => '',],
90
-            'replace dash with space'                => ['Original' => '-', 'Final' => ' ',],
91
-            'replace comma with dot'                 => ['Original' => ',', 'Final' => '.',],
92
-            'replace circumflex accent with dot'     => ['Original' => '^', 'Final' => '.',],
80
+            'remove EOL Unix'                        => ['Original' => chr(13), 'Final' => '', ],
81
+            'remove EOL Windows'                     => ['Original' => chr(10) . chr(13), 'Final' => '', ],
82
+            'remove colon'                           => ['Original' => ':', 'Final' => '', ],
83
+            'remove comma followed by double quotes' => ['Original' => ',"', 'Final' => '', ],
84
+            'remove dot'                             => ['Original' => '.', 'Final' => '', ],
85
+            'remove double quotes'                   => ['Original' => '"', 'Final' => '', ],
86
+            'remove double quotes followed by comma' => ['Original' => '",', 'Final' => '', ],
87
+            'remove pipeline'                        => ['Original' => '|', 'Final' => '', ],
88
+            'remove semicolon'                       => ['Original' => ';', 'Final' => '', ],
89
+            'remove slash'                           => ['Original' => '/', 'Final' => '', ],
90
+            'replace dash with space'                => ['Original' => '-', 'Final' => ' ', ],
91
+            'replace comma with dot'                 => ['Original' => ',', 'Final' => '.', ],
92
+            'replace circumflex accent with dot'     => ['Original' => '^', 'Final' => '.', ],
93 93
         ];
94
-        $bolKeyExists  = array_key_exists($strIdentifier, $arrayStandard);
94
+        $bolKeyExists = array_key_exists($strIdentifier, $arrayStandard);
95 95
         return [
96 96
             'Key Exists' => $bolKeyExists,
97 97
             'Attributes' => ($bolKeyExists ? $arrayStandard[$strIdentifier] : null),
Please login to merge, or discard this patch.
source/InputOutputBrowserAgent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     private function getClientBrowser(\DeviceDetector\DeviceDetector $deviceDetectorClass, $userAgent)
83 83
     {
84 84
         $this->autoPopulateSuperGlobals();
85
-        $browserInfoArray   = [
85
+        $browserInfoArray = [
86 86
             'architecture' => $this->getArchitectureFromUserAgent($userAgent, 'browser'),
87 87
             'connection'   => $this->brServerGlobals->server->get('HTTP_CONNECTION'),
88 88
             'family'       => $this->getClientBrowserFamily($deviceDetectorClass),
Please login to merge, or discard this patch.
source/InputOutputDatabases.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         }
52 52
         switch ($strDatabaseType) {
53 53
             case 'MySQL':
54
-                $strDsn             = 'mysql:'
54
+                $strDsn = 'mysql:'
55 55
                     . implode(';', [
56 56
                         'host=' . $arrayConnectionParameters['Host'],
57 57
                         'dbname=' . $arrayConnectionParameters['Database'],
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 str_repeat(' ', 4),
114 114
                 str_repeat(' ', 2),
115 115
             ];
116
-            $strRawQuery     = str_replace($arrayToClean, ' ', $strRawQueryAsIs);
116
+            $strRawQuery = str_replace($arrayToClean, ' ', $strRawQueryAsIs);
117 117
         }
118 118
         $sReturn = $strRawQuery;
119 119
         if (array_key_exists('queryParameterValues', $arrayInputs) && ($arrayInputs['queryParameterValues'] !== [])) {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         return $sReturn;
123 123
     }
124 124
 
125
-    public function getResultsAsJson(array|\PDO $arrayResults)
125
+    public function getResultsAsJson(array | \PDO $arrayResults)
126 126
     {
127 127
         $encodingFlags = (JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
128 128
         return json_encode($arrayResults, $encodingFlags);
Please login to merge, or discard this patch.
source/InputOutputExcel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
             . '(:\d{1,2})?)?$/iu';
270 270
         $strDateFormat = \PhpOffice\PhpSpreadsheet\Style\NumberFormat::FORMAT_DATE_YYYYMMDD;
271 271
         foreach ($inputs['RowValues'] as $key2 => $value2) {
272
-            $crCol       = \PhpOffice\PhpSpreadsheet\Cell\Coordinate::stringFromColumnIndex($columnCounter);
272
+            $crCol = \PhpOffice\PhpSpreadsheet\Cell\Coordinate::stringFromColumnIndex($columnCounter);
273 273
             $this->objPHPExcel
274 274
                 ->getActiveSheet()
275 275
                 ->getColumnDimension($crCol)
Please login to merge, or discard this patch.
source/InputOutputCurl.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         return $aReturn;
50 50
     }
51 51
 
52
-    private function handleCurlOptions(\CurlHandle|false $chanel, string $inScopeUrl, array $features): void
52
+    private function handleCurlOptions(\CurlHandle | false $chanel, string $inScopeUrl, array $features): void
53 53
     {
54 54
         $this->setUserAgent($chanel, $features);
55 55
         $this->handleSecureConnection($chanel, $inScopeUrl, $features);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         }
70 70
     }
71 71
 
72
-    private function handleSecureConnection(\CurlHandle|false $chanel, string $fullURL, array $features): void
72
+    private function handleSecureConnection(\CurlHandle | false $chanel, string $fullURL, array $features): void
73 73
     {
74 74
         if ((substr(strtolower($fullURL), 0, 5) === 'https')) {
75 75
             $chk = false;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         }
82 82
     }
83 83
 
84
-    private function setForceIpv4(\CurlHandle|false $chanel, array $features): void
84
+    private function setForceIpv4(\CurlHandle | false $chanel, array $features): void
85 85
     {
86 86
         if (array_key_exists('forceIpV4', $features)) {
87 87
             if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
@@ -90,14 +90,14 @@  discard block
 block discarded – undo
90 90
         }
91 91
     }
92 92
 
93
-    private function setNoBody(\CurlHandle|false $chanel, array $features): void
93
+    private function setNoBody(\CurlHandle | false $chanel, array $features): void
94 94
     {
95 95
         if (array_key_exists('NoBody', $features)) {
96 96
             curl_setopt($chanel, CURLOPT_NOBODY, true);
97 97
         }
98 98
     }
99 99
 
100
-    private function setPostingDetails(\CurlHandle|false $chanel, array $features): void
100
+    private function setPostingDetails(\CurlHandle | false $chanel, array $features): void
101 101
     {
102 102
         if (array_key_exists('PostFields', $features)) {
103 103
             curl_setopt($chanel, CURLOPT_POST, true);
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
     }
108 108
 
109
-    private function setUserAgent(\CurlHandle|false $chanel, array $features): void
109
+    private function setUserAgent(\CurlHandle | false $chanel, array $features): void
110 110
     {
111 111
         if (array_key_exists('setUserAgent', $features)) {
112 112
             curl_setopt($chanel, CURLOPT_USERAGENT, $features['setUserAgent']);
Please login to merge, or discard this patch.