WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (2 years ago)
Author:
pento
Message:

Coding Standards: Fix the remaining issues in /tests.

All PHP files in /tests now conform to the PHP coding standards, or have exceptions appropriately marked.

Travis now also runs phpcs on the /tests directory, any future changes to these files must conform entirely to the WordPress PHP coding standards. 🎉

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/WPTexturize.php

    r42343 r45607  
    15771577                return '!openq1!';
    15781578            case '’':
    1579                 if ( 'apostrophe' == $context ) {
     1579                if ( 'apostrophe' === $context ) {
    15801580                    return '!apos!';
    15811581                } else {
     
    20022002                return '!q1!';
    20032003            case '’':
    2004                 if ( 'apostrophe' == $context ) {
     2004                if ( 'apostrophe' === $context ) {
    20052005                    return '!apos!';
    20062006                } else {
Note: See TracChangeset for help on using the changeset viewer.