Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adriendupuis
Copy link
Contributor

@adriendupuis adriendupuis commented Mar 27, 2023

Question Answer
JIRA issue IBX-4929
Type Misc
Target version main
BC breaks no
Doc needed no

The constructor was tagged as "internal" with the reason "param string $invalidatetoken", excluding it from the phpDoc. The description make the tag looks like an old @param meant to be hidden. Older history I found is https://github.com/ezsystems/ezplatform-http-cache/pull/76/files#diff-745fa3232ef706c283c19d3789abcf763db490c0cc1c1bb514ec7b03a923dc22R37

The tag is removed as to move it to an internal comment is useless.

https://docs.phpdoc.org/3.3/guide/references/phpdoc/tags/internal.html

TODO:

  • Implement feature / fix a bug.
  • Implement tests + specs and passing ($ composer test)
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

The constructor was tagged as internal with the reason "param string $invalidatetoken", excluding it from the phpDoc.
The description make the tag looks like an old @param hidden with a trick.
Move it to an internal comment to stop excluding the constructor method.
@adriendupuis adriendupuis changed the title InvalidateTokenController: inline @internal IBX-4929: InvalidateTokenController: inline @internal Mar 27, 2023
Useless as an internal comment
@adriendupuis adriendupuis changed the title IBX-4929: InvalidateTokenController: inline @internal IBX-4929: InvalidateTokenController: remove @internal Mar 27, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@alongosz alongosz changed the title IBX-4929: InvalidateTokenController: remove @internal IBX-4929: Removed @internal param from InvalidateTokenController Mar 29, 2023
@alongosz alongosz merged commit ba318d7 into main Mar 29, 2023
@alongosz alongosz deleted the adriendupuis-patch-1 branch March 29, 2023 11:04
@alongosz
Copy link
Member

Thank you @adriendupuis 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants