WordPress.org

Make WordPress Core

Changeset 45607 for trunk/.travis.yml


Ignore:
Timestamp:
07/08/2019 12:55:20 AM (4 months 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/.travis.yml

    r45570 r45607  
    1616    env: WP_TRAVISCI=e2e
    1717  - php: 7.2
    18     env: WP_TRAVISCI=travis:format
     18    env: WP_TRAVISCI=travis:phpcs
    1919  - php: 7.1
    2020    env: WP_TRAVISCI=travis:js
     
    8484  fi
    8585- |
    86   # We only need to run composer install on the code formatting job.
    87   if [[ "$WP_TRAVISCI" == "travis:format" ]]; then
     86  # We only need to run composer install on the PHP coding standards job.
     87  if [[ "$WP_TRAVISCI" == "travis:phpcs" ]]; then
    8888    composer --version
    8989    travis_retry composer install
Note: See TracChangeset for help on using the changeset viewer.