[php-src] master: gen_stub: move `handlePreprocessorConditions()` into `FileInfo()`

From: Date: Thu, 08 May 2025 20:18:13 +0000
Subject: [php-src] master: gen_stub: move `handlePreprocessorConditions()` into `FileInfo()`
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/ce3990c1d3976951c1fe78ef6b7f33afbd63d83b
Raw diff: https://github.com/php/php-src/commit/ce3990c1d3976951c1fe78ef6b7f33afbd63d83b.diff

gen_stub: move handlePreprocessorConditions() into FileInfo()

Reduce the number of global functions by moving it to static method
FileInfo::handlePreprocessorConditions(). Since it is only used by
FileInfo::handleStatements(), also make it private.

Changed paths:
  M  build/gen_stub.php


Diff:


Thread (1 message)

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