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

Cleanup LdapSource #114

Merged
merged 1 commit into from
Oct 13, 2017
Merged

Conversation

ctgraham
Copy link
Contributor

  • Add missing method documentation
  • Remove invalid use of error control operators on ldap_* calls
  • initialize missing variables: $this->_queriesCnt and $this->_queriesLog
  • remove unused variables: $this->_queriesLogMax from logQuery() and $i from _mergeAssociation()
  • correct variable naming typos: $hasFailover/$hasFailOver and $this->SchemaFilter/$schemaFilter
  • add 'fields' parameter when generating associations
  • correct PHPDoc use of integer and boolean to int and bool.
  • correct PHPDoc use of initial capitalization in params and returns.
  • correct inconsistent use of $this->results vs. $this->_result.

@rchavik
Copy link
Member

rchavik commented Apr 16, 2015

Nice. Especially the removals of @

👍

@@ -287,11 +301,11 @@ public function close() {

/**
* disconnect close connection and release any remaining results in the buffer
*
* @return boolean the connection status
Copy link
Member

Choose a reason for hiding this comment

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

@return bool The ...

@jadb
Copy link

jadb commented Apr 19, 2015

I think this is good to go. Could you squash the commits, they are all about cleaning up.

…rror control operators on ldap_* calls; initialize missing variables; remove unused variables; correct variable naming typos; add fields parameter when generating associations; correct documentation use of initial capitalization in parameters/returns; correct documentation use of int and bool.
@chinpei215 chinpei215 self-assigned this Oct 9, 2017
@chinpei215 chinpei215 merged commit 7717724 into cakephp:master Oct 13, 2017
@ctgraham ctgraham deleted the cleanup-ldap-datasource branch October 13, 2017 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants