Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#9168 closed enhancement (fixed)

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

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

Description

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.


2 years ago
#1

  • Keywords has-patch added

Trac Ticket: ​9168

#2 @espellcaste
2 years ago

  • Resolution → fixed
  • Status new → closed

In 13896:

PHPDoc: Correct placement of @since tags.

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

Props shailu25
Closes ​https://github.com/buddypress/buddypress/pull/310
See #9164
Fixes #9168

#3 @espellcaste
2 years ago

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