[php-src] master: gen_stub: move `parseStubFile()` 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/2b0cb760d41c1a531449b5df0733e32b1fa4c82b
Raw diff: https://github.com/php/php-src/commit/2b0cb760d41c1a531449b5df0733e32b1fa4c82b.diff
gen_stub: move parseStubFile()
into FileInfo
Reduce the number of global functions by moving it to static method
FileInfo::parseStubFile()
. Additionally, make FileInfo::handleStatements()
private now that the only caller is part of the class.
Changed paths:
M build/gen_stub.php
Diff:
Thread (1 message)
- Daniel Scherzer via DanielEScherzer