[Web] Some minor fixes and improvements for PHP 8
This commit is contained in:
@@ -52,7 +52,7 @@ if ($argc > 3) {
|
||||
}
|
||||
|
||||
foreach (array_slice($argv, 1) as $argumentOrOption) {
|
||||
if (0 === strpos($argumentOrOption, '-')) {
|
||||
if (str_starts_with($argumentOrOption, '-')) {
|
||||
$config['verbose_output'] = true;
|
||||
} else {
|
||||
$config['locale_to_analyze'] = $argumentOrOption;
|
||||
|
Reference in New Issue
Block a user