Page MenuHomePhabricator

WikiLambda: ZObject:getDefinition() methods are no longer necessary
Open, Needs TriagePublic


We used getDefinition methods to perform validations while recursively creating the ZObjects/* classes instances. Currently the validation is done with function-schemata and all getDefinitions methods are no longer needed.

This task requires:

  • Remove ZObject::getDefinitions and all other getDefinitions of the child classes
  • Remove getDefinition method from ZTestType.php
  • Remove all builtin types that were present in the definitions (e.g. HACK_REFERENCE_TYPE)