Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch corrects and completes all inline phpdoc documentation on PhpStreamWrapperInterface
Comment | File | Size | Author |
---|---|---|---|
#18 | drupal-2902424-18.patch | 14.42 KB | VladimirAus |
#18 | interdiff-14-18.txt | 9.98 KB | VladimirAus |
Comments
Comment #2
phayes CreditAttribution: phayes commentedIt appears that this is also a problem for:
- stream_read (http://php.net/manual/en/streamwrapper.stream-read.php)
- stream_stat (http://php.net/manual/en/streamwrapper.stream-stat.php / http://php.net/manual/en/function.stat.php)
- url_stat (http://php.net/manual/en/streamwrapper.url-stat.php / http://php.net/manual/en/function.stat.php)
I've attached another patch with these additional updates included.
Comment #3
phayes CreditAttribution: phayes commentedComment #4
phayes CreditAttribution: phayes commentedComment #5
phayes CreditAttribution: phayes commentedComment #6
phayes CreditAttribution: phayes commentedComment #11
Kristen PolPatch still applies to 9.1.x. Kicking off tests for 9.1.x.
Comment #12
jungleThanks @phayes for working on this.
Wrapped too early.
Wrapped too early.
Wrapped too early.
Wrapped too early.
Redundant trail whitespace.
Wrapped too early.
Comment #13
jungleSetting back to NR if someone wants to do an extra in-depth review.
Comment #14
VladimirAusComment #15
Kristen PolThanks for the update. Reviewing the interdiff and comparing it against the items in #12, I don't see 12.6 addressed though I can't tell if "stream" would fit if it popped up a line just using dreditor.
Comment #16
Kristen PolSorry I didn't check this properly before.
1) Nitpick: Just checked in an editor and see that "stream" can pop up a line for #12.6.
2) I reviewed all the text changes because it wasn't clear from the reviews above if the wording was reviewed or if it was just minor formatting reviewed. I went through each of the doc blocks and compared them against the php documentation that is being referenced:
Most of the differences in the text from the patch compared to the php.net text were very minor re-formatting things that I won't note. But, here are some items that could be changed if desired:
The php.net docs includes this note:
The php.net "See Also" also includes:
The php.net docs includes these notes:
The php.net "See Also" also includes:
The php.net docs include these notes:
The php.net docs include these notes:
The php.net "See Also" also includes:
The php.net "See Also" also includes:
The php.net docs has this warning:
The php.net docs includes this note:
The php.net docs has this as
LOCK_NB
.The php.net "See Also" also includes:
The php.net "See Also" has:
rather than:
Nitpick: "f.e." => "e.g.,".
Nitpick: "Note The" => "Note the".
Nitpick: "Note: " used here yet "Note " used elsewhere.
The php.net docs has this note:
which is almost the same as the patch but the patch is missing the last sentence:
Nitpick: "eg." => "e.g.,".
The php.net docs include these notes:
The php.net "See Also" also includes:
The php.net docs include this note:
The php.net "See Also" also includes:
Comment #17
Kristen PolWhoops. Back to needs work.
IMO, the only items from #16 that definitely should be addressed are:
Comment #18
VladimirAusThanks @Kristen Pol for thorough review:
Not updated
stream
sits at 81 characters.Updated
Comment #21
quietone CreditAttribution: quietone as a volunteer commentedI was starting to review this when I thought I had seen this before. Yes, this is a duplicate of an older issue, which is a child of the issue that added the PhpStremWrapperInterface. Because it is the older issue and has that history, I think this one should be closed as a duplicate and the work and credit moved over there including referencing the last review by Kirsten Pol over there to make sure that is addressed.