]> khamidou — GitHub mirrors - arcanist.git/commit
Fix phutil_analyzer bug on interface dependency creation
authorFelipe Oliveira Carvalho <felipekde@gmail.com>
Wed, 10 Aug 2011 14:50:10 +0000 (11:50 -0300)
committerFelipe Oliveira Carvalho <felipekde@gmail.com>
Wed, 10 Aug 2011 15:01:30 +0000 (12:01 -0300)
commit0eab28fe1bf1ccedabc97540d7573916ae9f5ae8
tree7e1d46e6e8905e9ce15d981594ac80b9629e06e3
parent58c09ab36da6f9028a69350916b4c3bd9384c6dc
Fix phutil_analyzer bug on interface dependency creation

Summary:
Use $interface_name instead of $class_name when dealing with
interfaces. Problem happens when you extend an interface:

    interface SubIface extends SuperIface { ...

    Notice: Undefined variable: class_name in ...
Fatal error: Call to a member function getConcreteString() on a
non-object in ...

Test Plan: phutil_mapper.php works!
scripts/phutil_analyzer.php