#111117Use str_ends_with() for remaining substr-based suffix checks
Description
Several suffix checks in the core still extract the end of a string
with substr() and compare the result with an expected suffix.
Use the native str_ends_with() function to express these checks
directly and avoid creating temporary substrings.
Reviews 1
History 13
-
Gerrit Code Review pushed patch set 1 for main to change 96791 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-17T15:18:47+00:00" > 10/17/26, 15:18 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96791 <span data-processor="relativetime" data-value="2026-10-17T15:36:45+00:00" > 10/17/26, 15:36 </span>
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-19T19:30:14+00:00" > 10/19/26, 19:30 </span>
Applied in changeset commit:8f4d88fb74996aa1eefe466f89ed3d82a16a46fd.