This message seems a bit obscure. It's unlikely that the dev wrote 
````
class Foo extends null { ...
````
so the more likely cases are 1) member function of a class were extends was removed and 2) function which was moved from a derived class to a non-derived or non-class context. (Seems like these are both known statically?). Or I am misunderstanding so a comment would help.