Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/24/2025 07:23:06 PM (6 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: stop ignoring these PHPCS sniffs:

  • PEAR.Files.IncludingFile.UseRequire
  • PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineDEFAULT
  • PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose
  • Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace
  • Squiz.PHP.DisallowMultipleAssignments.FoundInControlStructure
  • Squiz.PHP.EmbeddedPhp.MultipleStatements
  • Squiz.PHP.NonExecutableCode.Unreachable
  • Universal.Arrays.DuplicateArrayKey.Found
  • Universal.ControlStructures.DisallowLonelyIf.Found
  • WordPress.PHP.NoSilencedErrors.Discouraged

This commit includes code formatting changes for the above sniffs.

See #3658.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/engagements.php

    r7378 r7379  
    5959     */
    6060    public function add_user_to_object( $object_id = 0, $user_id = 0, $meta_key = '', $meta_type = 'post', $unique = false ) {
    61 
     61        // Intentionally empty
    6262    }
    6363
     
    7575     */
    7676    public function remove_user_from_object( $object_id = 0, $user_id = 0, $meta_key = '', $meta_type = 'post' ) {
    77 
     77        // Intentionally empty
    7878    }
    7979
     
    9090     */
    9191    public function remove_user_from_all_objects( $user_id = 0, $meta_key = '', $meta_type = 'post' ) {
    92 
     92        // Intentionally empty
    9393    }
    9494
     
    106106     */
    107107    public function remove_object_from_all_users( $object_id = 0, $meta_key = '', $meta_type = 'post' ) {
    108 
     108        // Intentionally empty
    109109    }
    110110
     
    120120     */
    121121    public function remove_all_users_from_all_objects( $meta_key = '', $meta_type = 'post' ) {
    122 
     122        // Intentionally empty
    123123    }
    124124
     
    135135     */
    136136    public function get_users_for_object( $object_id = 0, $meta_key = '', $meta_type = 'post' ) {
    137 
     137        // Intentionally empty
    138138    }
    139139
     
    150150     */
    151151    public function get_query( $args = array(), $context_key = '', $meta_key = '', $meta_type = 'post' ) {
    152 
     152        // Intentionally empty
    153153    }
    154154}
Note: See TracChangeset for help on using the changeset viewer.