Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 94d843f

Browse filesBrowse files
committed
Do not use str_start_with
We are not loading polyfill here so str_starts_with is not available PHP <8.0
1 parent 2e10dd5 commit 94d843f
Copy full SHA for 94d843f

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Translation/Resources/bin/translation-status.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/Resources/bin/translation-status.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
continue;
6363
}
6464

65-
if (str_starts_with($argumentOrOption, '-')) {
65+
if (0 === strpos($argumentOrOption, '-')) {
6666
$config['verbose_output'] = true;
6767
} else {
6868
$config['locale_to_analyze'] = $argumentOrOption;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.