Skip to content

Commit 34f63aa

Browse files
gen_stub: create VersionFlags class
This new class holds the logic for applying different flags based on the PHP version, and replaces `VariableLike::addFlagForVersionsAbove()` (use `VersionFlags::addForVersionsAbove()`) and `generateVersionDependentFlagCode()` (use `VersionFlags::generateVersionDependentFlagCode()`).
1 parent e0ef34c commit 34f63aa

File tree

1 file changed

+159
-209
lines changed

1 file changed

+159
-209
lines changed

0 commit comments

Comments
 (0)