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/converters/XenForo.php

    r6749 r7006  
    698698    public function authenticate_pass( $password, $serialized_pass ) {
    699699        $pass_array = unserialize( $serialized_pass );
    700         switch( $pass_array['hashFunc'] ) {
     700        switch ( $pass_array['hashFunc'] ) {
    701701            case 'sha256':
    702702                return ( $pass_array['hash'] == hash( 'sha256', hash( 'sha256', $password ) . $pass_array['salt'] ) );
Note: See TracChangeset for help on using the changeset viewer.