Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename method arguments to use camelCase casing (plugin directory) #31151

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Rename method arguments to use camelCase casing (plugin directory) #31151

merged 1 commit into from
Oct 27, 2020

Conversation

SharkyKZ
Copy link
Contributor

Partial Pull Request for Issue #30988.

Summary of Changes

Renames some method arguments to use camelCase casing.

Testing Instructions

Thorough code review / Joomla works like before.

Documentation Changes Required

No.

@Quy
Copy link
Contributor

Quy commented Oct 19, 2020

I have tested this item ✅ successfully on c87c887


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31151.

@@ -93,25 +93,25 @@ public function onContentPrepare($context, &$row, $params, $page = 0)
/**
* Retrieve Contact
*
* @param int $created_by Id of the user who created the contact
* @param int $userId Id of the user who created the article
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @param int $userId Id of the user who created the article
* @param int $userId Id of the user who you want to get the contact data

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct English though?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure it is not but it gets closer to what it happening here right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about
* @param int $userId Id of the user from whom to get the contact data

@SharkyKZ SharkyKZ added the PHP 8.x PHP 8.x deprecated issues label Oct 23, 2020
@alikon
Copy link
Contributor

alikon commented Oct 24, 2020

I have tested this item ✅ successfully on c87c887


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31151.

@alikon
Copy link
Contributor

alikon commented Oct 24, 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31151.

@joomla-cms-bot joomla-cms-bot added RTC This Pull Request is Ready To Commit and removed PHP 8.x PHP 8.x deprecated issues labels Oct 24, 2020
@alikon alikon added the PHP 8.x PHP 8.x deprecated issues label Oct 24, 2020
@rdeutz rdeutz added this to the Joomla 4.0 milestone Oct 27, 2020
@rdeutz rdeutz merged commit 2d4960a into joomla:staging Oct 27, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Oct 27, 2020
@SharkyKZ SharkyKZ deleted the j3/php8/camelcase-args-plugins branch October 27, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PHP 8.x PHP 8.x deprecated issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants