Skip to content

Remove 'memory_usage' from 'displayPerformanceMetrics()' comment #4939

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

Merged
merged 1 commit into from
Jul 17, 2021
Merged

Remove 'memory_usage' from 'displayPerformanceMetrics()' comment #4939

merged 1 commit into from
Jul 17, 2021

Conversation

NSURLSession0
Copy link
Contributor

@NSURLSession0 NSURLSession0 commented Jul 17, 2021

Description
I came across the displayPerformanceMetrics() function in system/CodeIgniter.php and noticed that the memory_usage tag, is not getting replaced by this function. Although the php doc describes it does.

This PR removes the memory_usage mention from the comment as this behaviour is intended: see issue #197.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan
Copy link
Member

paulbalandan commented Jul 17, 2021

Hi!

Thanks for the PR! Kindly point your PR to codeigniter4:4.2 branch instead of develop. Do rebase if necessary.

@MGatner
Copy link
Member

MGatner commented Jul 17, 2021

@paulbalandan I'm fine with it either way since it is a docblock correction, your call.

@paulbalandan
Copy link
Member

Ok. That's what I initially wanted though.

@paulbalandan paulbalandan merged commit 46130bb into codeigniter4:develop Jul 17, 2021
element-code pushed a commit to element-code/CodeIgniter4 that referenced this pull request Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants