Conversation
|
Another useless phpdoc which adds nothing useful. @danielkerr : Do we really need this? |
|
PHP-cs-fixer can be configured to strip all these out via the |
Some of the methods are intentionally left out of PHPDocs for specific reasons. By putting automation as suggested, cs-fixer would also include the PHPDocs where they've been intentionally left out and may not be the direction the core is heading. |
It's already there, we did this over a year ago. Your wrong, the only place where it has been missed is |
Of course, which is why each of these locations don't have PHPDocs on top of these specific methods:
|
Not sure what was done 4 months ago but, by looking at this file, I still see empty PHPDocs on top of the methods from the core: https://github.com/opencart/opencart/blob/master/upload/system/library/curl.php . |
I just told you, I ran PHP-cs-fixer on them 4 months ago, and the automation is what has resulted in what you now saying can't be done with automation. The reason those methods do not have PHPDoc is because there paramters didn't have any types. Not because of some decision to not have it. If you think other wise point to where that decision is being made instead of just guessing and not even knowing what I have done previously. |
It wasn't exactly guessing but it was said in the past on this repository as well as noticing closed commits about suggestions made over specific methods with PHPDocs. If that decision has been reviewed in order to put those PHPDocs nowadays, I am sure not opposing to that, as quite the opposite; The faster these can be done, the better. |


No description provided.