[php-src] master: gen_stub: move `handlePreprocessorConditions()` into `FileInfo()`
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