diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-24 21:07:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-24 21:07:36 +0900 |
| commit | 2f6689c3c1476c40a7c722491c1fcd5763e7d55f (patch) | |
| tree | 494a73f17bb388ca640bb83342302ca6ebcd42c5 /scripts/plugin-class-classifier/src/PropertyInfo.php | |
| parent | 20f9787cda5b846c730cff97a4c7a3777ff3414a (diff) | |
| download | php-shirabe-2f6689c3c1476c40a7c722491c1fcd5763e7d55f.tar.gz php-shirabe-2f6689c3c1476c40a7c722491c1fcd5763e7d55f.tar.zst php-shirabe-2f6689c3c1476c40a7c722491c1fcd5763e7d55f.zip | |
fix(require-command): report an unwritable composer.json
The write-back probe discarded the file_put_contents result and returned
a hard-coded false, so the comparison against false always held and the
error branch was taken for every path is_writable() rejected. Compare
the write result instead, matching the PHP original.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/plugin-class-classifier/src/PropertyInfo.php')
0 files changed, 0 insertions, 0 deletions
