Skip to content

Commit b7898a6

Browse files
Merge branch '4.4' into 5.2
* 4.4: Leverage str_contains/str_starts_with Leverage str_ends_with
2 parents 903c2c0 + 447d2c9 commit b7898a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Internal/Exporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public static function export($value, string $indent = '')
230230
return $m[1].$m[2];
231231
}, $code, -1, $count);
232232

233-
if ($count && 0 === strpos($code, "''.")) {
233+
if ($count && str_starts_with($code, "''.")) {
234234
$code = substr($code, 3);
235235
}
236236

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=7.2.5",
20-
"symfony/polyfill-php80": "^1.15"
20+
"symfony/polyfill-php80": "^1.16"
2121
},
2222
"require-dev": {
2323
"symfony/var-dumper": "^4.4.9|^5.0.9"

0 commit comments

Comments
 (0)