Skip to content

Commit 7f56470

Browse files
committed
removing php 8 function
1 parent 7591c18 commit 7f56470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configurator/EnvConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ private function findExistingValue(string $var, string $filename, Recipe $recipe
260260

261261
$lines = explode("\n", $section);
262262
foreach ($lines as $line) {
263-
if (!str_starts_with($line, sprintf('%s=', $var))) {
263+
if (0 !== strpos($line, sprintf('%s=', $var))) {
264264
continue;
265265
}
266266

0 commit comments

Comments
 (0)