Make WordPress Core


Ignore:
Timestamp:
07/01/2019 08:00:12 AM (7 years ago)
Author:
pento
Message:

Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations.

See #47632

File:
1 edited

Legend:

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

    r42343 r45580  
    1414         * @return bool|null true if the ticket is resolved, false if not resolved, null on error
    1515         */
    16         public static function isTracTicketClosed( $trac_url, $ticket_id ) {
     16        public static function isTracTicketClosed( $trac_url, $ticket_id ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
    1717                if ( ! extension_loaded( 'openssl' ) ) {
    1818                        $trac_url = preg_replace( '/^https:/', 'http:', $trac_url );
     
    4545        }
    4646
     47        // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
    4748        public static function usingLocalCache() {
    4849                echo PHP_EOL . "\x1b[0m\x1b[30;43m\x1b[2K";
     
    5152        }
    5253
     54        // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
    5355        public static function forcingKnownBugs() {
    5456                echo PHP_EOL . "\x1b[0m\x1b[37;41m\x1b[2K";
Note: See TracChangeset for help on using the changeset viewer.