@@ -79,7 +79,7 @@ |
||
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 | } |
@@ -77,21 +77,21 @@ |
||
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), |
@@ -82,7 +82,7 @@ |
||
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), |
@@ -51,7 +51,7 @@ discard block |
||
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 |
||
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 |
||
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); |
@@ -269,7 +269,7 @@ |
||
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) |