Skip to content

Commit ffc0f98

Browse files
committed
Typo
1 parent b128244 commit ffc0f98

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

src/Javascript/DataTablesScript.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function minimizeJavascript(string $javascript)
100100
$javascript = preg_replace("/\\s*\n\\s*/", "\n", $javascript); // spaces around newlines
101101
$javascript = preg_replace('/\\h+/', ' ', $javascript); // \h+ horizontal white space
102102
// remove unnecessary horizontal spaces around non variables (alphanumerics, underscore, dollar sign)
103-
//$javascript = preg_replace("/\h([^A-Za-z0-9\_\$])/", '$1', $javascript); //Causa problemi con le icone nella tabella dei menu
103+
// $javascript = preg_replace("/\h([^A-Za-z0-9\_\$])/", '$1', $javascript); //Causa problemi con le icone nella tabella dei menu
104104
return preg_replace('/([^A-Za-z0-9\\_$])\\h/', '$1', $javascript);
105105
}
106106

@@ -125,7 +125,7 @@ public function getDocumentReady(string $id, Configuration $configuration): stri
125125
';
126126

127127
if ($configuration->getServerSide() === 'true') {
128-
//$result .= "'ajax': '" . $ajax->getDataSource() . "',";
128+
// $result .= "'ajax': '" . $ajax->getDataSource() . "',";
129129
$result .= "
130130
'ajax':{
131131
url: '" . $configuration->getDataSource() . "',
@@ -194,7 +194,7 @@ public function getDocumentReady(string $id, Configuration $configuration): stri
194194
*/
195195
public function getJavascript($script = ''): string
196196
{
197-
//$javascript = $this->minimizeJavascript( $this->getDocumentReady($script) );
197+
// $javascript = $this->minimizeJavascript( $this->getDocumentReady($script) );
198198
$javascript_custom = $this->minimizeJavascript($script);
199199

200200
return '<script>' . $javascript_custom . '</script>';

tests/Language/AbstractTranslationTestCase.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ abstract class AbstractTranslationTestCase extends TestCase
8989
*/
9090
protected array $excludedLocaleKeyTranslations = [];
9191

92-
//-------------------------------------------------------------------------
92+
// -------------------------------------------------------------------------
9393
// TESTS
94-
//-------------------------------------------------------------------------
94+
// -------------------------------------------------------------------------
9595

9696
/**
9797
* This tests that all language files configured in the main CI4 repository
@@ -326,9 +326,9 @@ final public function testLocaleHasCorrespondingTestCaseFile(string $locale): vo
326326
));
327327
}
328328

329-
//-------------------------------------------------------------------------
329+
// -------------------------------------------------------------------------
330330
// UTILITIES
331-
//-------------------------------------------------------------------------
331+
// -------------------------------------------------------------------------
332332

333333
/**
334334
* Get all the ISO 639-1 and 639-2 locale codes.

tests/_support/Libraries/ConfigReader.php

+3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@
2929
* THE SOFTWARE.
3030
*
3131
* @copyright 2019-2021 CodeIgniter Foundation
32+
*
3233
* @license https://opensource.org/licenses/MIT MIT License
3334
*
3435
* @see https://codeigniter.com
36+
*
3537
* @since Version 4.0.0
38+
*
3639
* @filesource
3740
*/
3841

0 commit comments

Comments
 (0)