Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (2 years ago)
Author:
espellcaste
Message:

WPCS: The modified code addresses all Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword and Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction issues specific to the foreach and function examples.

See #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/loader.php

    r12712 r13878  
    2626$components = array( 'activity', 'blogs', 'friends', 'groups', 'members', 'messages', 'notifications', 'settings', 'xprofile' );
    2727foreach ( $components as $component ) {
    28         add_action( "bp_{$component}_includes", function() use ( $component ) {
     28        add_action( "bp_{$component}_includes", function () use ( $component ) {
    2929                $dirs = array(
    3030                        buddypress()->plugin_dir . 'bp-' . $component . '/actions/',
Note: See TracChangeset for help on using the changeset viewer.