aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-02 17:43:26 +0900
committernsfisis <nsfisis@gmail.com>2026-08-02 17:43:38 +0900
commit97b5211ab3a41d63ea50d0ca1ecfde6ad3323525 (patch)
treed058292255adb87b2914aac31f6ea31a87b93140 /Cargo.toml
parent48af92c807a7cd1df54c2b1df5dba508aefc6b6e (diff)
downloadphp-shirabe-97b5211ab3a41d63ea50d0ca1ecfde6ad3323525.tar.gz
php-shirabe-97b5211ab3a41d63ea50d0ca1ecfde6ad3323525.tar.zst
php-shirabe-97b5211ab3a41d63ea50d0ca1ecfde6ad3323525.zip
fix(repository): restore late-bound initialize in FilesystemRepository add/remove
ArrayRepository::addPackage()/removePackage() rely on PHP late binding to run FilesystemRepository::initialize (reading the file) on first touch. The inner delegation skipped that: an add on a not-yet-read repository froze the array to just the added packages (a later write() would truncate installed.json), and a remove hit the packages-initialized expect(). Guard both with ensure_initialized(), matching the pattern used by the read paths. Same defect class as the 3e367f78 downloader fix. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions