Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/24/2019 01:38:37 PM (4 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/SMF.php

    r6670 r7006  
    741741
    742742        // Replace '[quote]' with '<blockquote>'
    743         $SMF_markup = preg_replace( '/\[quote\]/',        '<blockquote>',  $SMF_markup );
     743        $SMF_markup = preg_replace( '/\[quote\]/',       '<blockquote>',  $SMF_markup );
    744744        // Replace '[quote ($1)]' with '<blockquote>"
    745         $SMF_markup = preg_replace( '/\[quote (.*?)\]/' , '<blockquote>',  $SMF_markup );
     745        $SMF_markup = preg_replace( '/\[quote (.*?)\]/', '<blockquote>',  $SMF_markup );
    746746        // Replace '[/quote]' with '</blockquote>'
    747         $SMF_markup = preg_replace( '/\[\/quote\]/',      '</blockquote>', $SMF_markup );
     747        $SMF_markup = preg_replace( '/\[\/quote\]/',     '</blockquote>', $SMF_markup );
    748748
    749749        // Replace '[glow]' with ''
Note: See TracChangeset for help on using the changeset viewer.