diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-17 02:41:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-17 02:44:09 +0900 |
| commit | fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653 (patch) | |
| tree | a7966f53ae9f96ee583cb4105cf882fd137e1a1b /crates/shirabe-php-rpc/php/guards/Composer/Util/Platform.php | |
| parent | 089215c1c26b4b09f697e3711416cbed0c53b0d3 (diff) | |
| download | php-shirabe-fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653.tar.gz php-shirabe-fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653.tar.zst php-shirabe-fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653.zip | |
refactor(preg): drop unused args of preg_match_all_offset_capture2()
The sole caller, Preg::match_all_with_offsets5(), always passed flags=0
and offset=0, so PREG_UNMATCHED_AS_NULL is now unconditional and the
subject is scanned from the beginning. That method is only reached from
Preg::match_all_with_offsets(), so it is no longer public either.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/Util/Platform.php')
0 files changed, 0 insertions, 0 deletions
