@@ -221,7 +221,7 @@ public function __construct(
221
221
222
222
/** The specified vendor directory doesn't exist or isn't readable. */
223
223
if (!is_dir ($ VendorPath ) || !is_readable ($ VendorPath )) {
224
- if (! isset ($ _SERVER ['DOCUMENT_ROOT ' ], $ _SERVER ['SCRIPT_NAME ' ])) {
224
+ if (!isset ($ _SERVER ['DOCUMENT_ROOT ' ], $ _SERVER ['SCRIPT_NAME ' ])) {
225
225
/** Further safeguards not possible. Generate exception. */
226
226
throw new \Exception ('Vendor directory is undefined or unreadable. ' );
227
227
}
@@ -289,7 +289,7 @@ public function __construct(
289
289
$ this ->Configuration = parse_ini_file ($ this ->ConfigurationPath , true );
290
290
291
291
/** Multiline support. */
292
- $ this ->sanitizeConfigurations ();
292
+ $ this ->decodeConfigurations ();
293
293
294
294
} elseif (preg_match ('~\.ya?ml$~i ' , $ this ->ConfigurationPath )) {
295
295
if ($ Configuration = $ this ->readFile ($ this ->ConfigurationPath )) {
@@ -433,10 +433,10 @@ public function __construct(
433
433
}
434
434
435
435
/**
436
- * Method to sanitize the configurations
436
+ * Method to decode the configurations
437
437
* @return void
438
438
*/
439
- private function sanitizeConfigurations () : void
439
+ private function decodeConfigurations () : void
440
440
{
441
441
if (is_array ($ this ->Configuration )) {
442
442
foreach ($ this ->Configuration as $ CatKey => &$ CatVal ) {
@@ -454,8 +454,8 @@ private function sanitizeConfigurations() : void
454
454
}
455
455
}
456
456
}
457
- unset($ DirVal , $ DirKey , $ CatVal , $ CatKey );
458
457
}
458
+
459
459
/**
460
460
* Destruct the loader.
461
461
*
0 commit comments