Skip to:

Opened 8 weeks ago

Closed 8 weeks ago

Last modified 8 weeks ago

#9168 closed enhancement (fixed)

Need to Correct the placement of @since tag in Php Docs

Reported by: shailu25's profile shailu25 Owned by: imath's profile imath
Milestone: 14.0.0 Priority: lowest
Severity: trivial Version:
Component: Core Keywords: has-patch


According to PHP Documentation Standards. Need to correct the placement of @since tag in Php Docs.

In Below Files @since should add before @global, @param, @return

  1. src/bp-core/admin/bp-core-admin-functions.php
  2. src/bp-core/classes/class-bp-admin-types.php
  3. src/bp-core/classes/class-bp-user-query.php
  4. src/bp-friends/bp-friends-template.php
  5. src/bp-messages/classes/class-bp-messages-notice.php

Change History (3)

This ticket was mentioned in PR #310 on buddypress/buddypress by @shailu25.

8 weeks ago

  • Keywords has-patch added

Trac Ticket: 9168

#2 @espellcaste
8 weeks ago

  • Resolution set to fixed
  • Status changed from new to closed

In 13896:

PHPDoc: Correct placement of @since tags.

The @since tag should added before @global, @param, and @return.

Props shailu25
See #9164
Fixes #9168

#3 @espellcaste
8 weeks ago

  • Component changed from Documentation to Core
  • Milestone changed from Awaiting Review to 14.0.0
  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.