[php-src] master: gen_stub: add and use `FileInfo::getLegacyVersion()`

From: Date: Thu, 08 May 2025 20:18:25 +0000
Subject: [php-src] master: gen_stub: add and use `FileInfo::getLegacyVersion()`
Groups: php.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer)
Committer: DanielEScherzer (DanielEScherzer)
Date: 2025-05-08T13:06:51-07:00

Commit: https://github.com/php/php-src/commit/c89d7a7426a2e8d90ed064880f3ba743ab56b9b9
Raw diff: https://github.com/php/php-src/commit/c89d7a7426a2e8d90ed064880f3ba743ab56b9b9.diff

gen_stub: add and use FileInfo::getLegacyVersion()

Separate out the creation of a legacy version of a FileInfo object, which has
information for old versions of PHP discarded, from its subsequent use in
processStubFile().

In the process, make FileInfo::$legacyArginfoGeneration private, and inline
the single use of FileInfo::getAllClassInfos(), removing that method.

Changed paths:
  M  build/gen_stub.php


Diff:


Thread (1 message)

  • Daniel Scherzer via DanielEScherzer
« previous php.cvs (#134107) next »