Make WordPress Core


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (6 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/link/themeFile.php

    r42819 r45607  
    99            self::markTestSkipped( 'symlink() is not available.' );
    1010        }
     11        // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
    1112        if ( ! @symlink( DIR_TESTDATA . '/theme-file-parent', WP_CONTENT_DIR . '/themes/theme-file-parent' ) ) {
    1213            self::markTestSkipped( 'Could not create parent symlink.' );
    1314        }
     15        // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
    1416        if ( ! @symlink( DIR_TESTDATA . '/theme-file-child', WP_CONTENT_DIR . '/themes/theme-file-child' ) ) {
    1517            self::markTestSkipped( 'Could not create child symlink.' );
Note: See TracChangeset for help on using the changeset viewer.