?
avatar 810
810
22 Dec 2017

Steps to reproduce the issue

php build/stubGenerator.php

then open: stubs.php

class japplicationsite extends \Joomla\CMS\Application\SiteApplication {}
class jhelperusergroups extends \Joomla\CMS\Helper\UserGroupsHelper {}
class jversion extends \Joomla\CMS\Version {}

Expected result

No errors

Actual result

Class may not inherit from final class.

System information (as much as possible)

Additional comments

cc @mbabker

avatar 810 810 - open - 22 Dec 2017
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Dec 2017
avatar 810 810 - change - 22 Dec 2017
The description was changed
avatar 810 810 - edited - 22 Dec 2017
avatar mbabker mbabker - change - 22 Dec 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-12-22 16:13:10
Closed_By mbabker
avatar mbabker mbabker - close - 22 Dec 2017
avatar mbabker
mbabker - comment - 22 Dec 2017

#19138 adds the final keywords for those classes.

FWIW, that IDE error is going to always exist in the stubs file because we have to extend the final classes to make the alias mapping work. No real way around it except excluding final classes from the stubs, which kind of defeats the point of having it to begin with.

Add a Comment

Login with GitHub to post a comment