joomla/joomla-cms — pull request #4910 by wilsonge (2014-10-24 00:48:28+00:00)
Title: Deprecate JObject

JObject is one of the last classes remaining from the PHP 4 era. It has two uses. JError setting (now deprecated) and setting and getting class vars. In the past this allowed us to create our own public and private variables. However now this is happily not the case as PHP5 meant we could set these in the class. For that reason I'd like to mark this class as deprecated.

Just like JError we can't feasibly remove all uses before Joomla 4 in a b/c way. But it points to developers to stop using this class where feasibly possible