Closed photodude closed 6 years ago
Is there something enforcing the use of "long" types? Like boolean must be used over bool and integer over int?
The coding standard requires long types, Joomla.Commenting.FunctionComment enforces that. I don't remember where it states it, but all of the examples for the docblocks show long types.
This worked fine for me in packages I updated yesterday. Re-open if still an issue but I consider it fixed.
In testing/fixing CMS
administrator/components/com_menus/
a param listed asbool
was not detected nor corrected toboolean
in the fileadministrator/components/com_menus/models/items.php
by Joomla.Commenting.FunctionComment.InvalidReturnThis seems to be working correctly for other cases like
@return
not sure why it failed to detect and fix in this case for@param
PHPCS 2.9.1 Joomla coding standards 2.0.0 - alpha2