aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-14 14:06:06 +0900
committernsfisis <nsfisis@gmail.com>2026-06-14 14:06:06 +0900
commitba0a7f913b4b2a83d0c8862d657bdc867730a962 (patch)
tree3ebc50ea1e3f1da11c3129a31ecf5f0356a6c239 /docs
parentdb7f5bd91c9d43d2d0b66824ed60571f1c478422 (diff)
downloadphp-shirabe-ba0a7f913b4b2a83d0c8862d657bdc867730a962.tar.gz
php-shirabe-ba0a7f913b4b2a83d0c8862d657bdc867730a962.tar.zst
php-shirabe-ba0a7f913b4b2a83d0c8862d657bdc867730a962.zip
fix(archiver): resolve infinite recursion in exclude filter dispatch
The Phase B port invented an ArchivableFilesFilter trait whose filter impls called self.filter, recursing forever; the name also collided with the real ArchivableFilesFilter FilterIterator class. Composer has no such interface: the finder holds GitExcludeFilter/ComposerExcludeFilter (both extending BaseExcludeFilter) and calls $filter->filter(). Drop the invented trait, type the filters as Box<dyn BaseExcludeFilter>, and implement BaseExcludeFilter on the concrete filters (accessors delegating to inner). Remove the unused generic default methods from the trait so it is dyn-compatible; they remain as inherent methods on BaseExcludeFilterBase, which is where every caller already reaches them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions