Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/24/2019 01:38:37 PM (5 years ago)
Author:
netweb
Message:

Build Tools: Add PHPCS with custom bbPress ruleset

  • This changeset adds an initial bbPress PHPCS ruleset
  • Future iteration of the rules in the ruleset can follow later
  • To run the PHPCS check run `grunt phpcs

Fixes #3294.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/tools/common.php

    r6934 r7006  
    220220
    221221    // Get tools
    222     $tools  = bbp_get_admin_repair_tools( bbp_get_admin_repair_tool_page_id() );
     222    $tools = bbp_get_admin_repair_tools( bbp_get_admin_repair_tool_page_id() );
    223223
    224224    // Loop through tools
     
    312312
    313313    // Get tools
    314     $tools  = bbp_get_admin_repair_tools( bbp_get_admin_repair_tool_page_id() );
     314    $tools = bbp_get_admin_repair_tools( bbp_get_admin_repair_tool_page_id() );
    315315
    316316    // Loop through tools
     
    525525
    526526    // Overhead
    527     $overhead  = ! empty( $_GET['overhead'] )
     527    $overhead = ! empty( $_GET['overhead'] )
    528528        ? sanitize_key( $_GET['overhead'] )
    529529        : '';
Note: See TracChangeset for help on using the changeset viewer.