Always use type expressions whenever a class name may appear in the code.
commit797df3e4144e7497d15df0661650a67ea90cdc92
authorHerman Venter <hermanv@fb.com>
Tue, 4 Feb 2014 03:42:00 +0000 (3 19:42 -0800)
committerSara Golemon <sgolemon@fb.com>
Thu, 6 Feb 2014 19:28:28 +0000 (6 11:28 -0800)
tree7e0feb829c841ea5c8a41f35172b23815000aae0
parentb2c2938a8b433e0d4e5eee8b76835f47aed37c6b
Always use type expressions whenever a class name may appear in the code.

Since types can be generic instances it is always better to model a type as an expression than as a simple string.

Reviewed By: @paroski

Differential Revision: D1155406
hphp/compiler/expression/binary_op_expression.cpp
hphp/compiler/expression/new_object_expression.cpp
hphp/compiler/expression/static_class_name.cpp
hphp/compiler/statement/catch_statement.cpp