Skip to content

Commit e953abe

Browse files
committed
Remove proto comments
They've been made obsolete by .stub.php files and are often outdated as they're not the source of truth.
1 parent 8b12ea0 commit e953abe

File tree

202 files changed

+3219
-6330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+3219
-6330
lines changed

CODING_STANDARDS.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ along with a brief one-line description of what the function does. It would look
280280
like this:
281281

282282
```c
283-
/* {{{ proto int abs(int number)
284-
Returns the absolute value of the number */
283+
/* {{{ Returns the absolute value of the number */
285284
PHP_FUNCTION(abs)
286285
{
287286
...
@@ -303,8 +302,7 @@ messing up the function summary.
303302
Optional arguments are written like this:
304303

305304
```c
306-
/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
307-
Returns a header object with the defined parameters */
305+
/* {{{ Returns a header object with the defined parameters */
308306
```
309307

310308
And yes, please keep the prototype on a single line, even if that line is

0 commit comments

Comments
 (0)