aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-20 06:28:28 +0900
committernsfisis <nsfisis@gmail.com>2026-07-20 06:28:28 +0900
commitde56316efae59dc1bfd517b90bc66611d017a52a (patch)
treef0cbab43bd42def1e198bad2f2039ea9c6c7e5da /crates/shirabe/src/command
parent8b9368a3d2c8cb5b73edc794b77ebd2460d24b06 (diff)
downloadphp-shirabe-de56316efae59dc1bfd517b90bc66611d017a52a.tar.gz
php-shirabe-de56316efae59dc1bfd517b90bc66611d017a52a.tar.zst
php-shirabe-de56316efae59dc1bfd517b90bc66611d017a52a.zip
fix(config): drop insecure git protocol under secure-http
Config::get("github-protocols") ported PHP's array_search over the protocol list via a string-keyed map, but array_search_mixed returns the matched index as PhpMixed::Int, which the as_string() read never matched, so the git protocol was never removed (Config.php:447-449 removes it whenever secure-http is on). Search the list directly and read the index as an Int. Un-ignore test_update_throws_runtime_exception_if_git_command_fails which this had blocked. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command')
0 files changed, 0 insertions, 0 deletions