Permalink
Browse files

Reindent .json and .yml files to 2 spaces.

  • Loading branch information...
1 parent c84e8a2 commit cf9b8a943890be1f60bcf1d2acd429b08d0c62d6 @GaryJones GaryJones committed Jul 2, 2015
Showing with 53 additions and 53 deletions.
  1. +24 −24 .travis.yml
  2. +29 −29 composer.json
View
@@ -10,38 +10,38 @@ language: php
# Declare versions of PHP to use. Use one decimal max.
php:
- - 5.2
- - 5.6
- - hhvm
+ - 5.2
+ - 5.6
+ - hhvm
matrix:
- allow_failures:
- - php: hhvm
+ allow_failures:
+ - php: hhvm
before_script:
- - export PHPCS_DIR=/tmp/phpcs
- - export WPCS_DIR=/tmp/wpcs
- # Install CodeSniffer for WordPress Coding Standards checks.
- # 2.3.1 breaks PHP 5.2 on Travis due to use of Phar class.
- - git clone -b 2.3.0 --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR
- # Install WordPress Coding Standards.
- - git clone -b master --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $WPCS_DIR
- # Set install path for WordPress Coding Standards.
- # @link https://github.com/squizlabs/PHP_CodeSniffer/blob/4237c2fc98cc838730b76ee9cee316f99286a2a7/CodeSniffer.php#L1941
- - $PHPCS_DIR/scripts/phpcs --config-set installed_paths $WPCS_DIR
- # After CodeSniffer install you should refresh your path.
- - phpenv rehash
+ - export PHPCS_DIR=/tmp/phpcs
+ - export WPCS_DIR=/tmp/wpcs
+ # Install CodeSniffer for WordPress Coding Standards checks.
+ # 2.3.1 breaks PHP 5.2 on Travis due to use of Phar class.
+ - git clone -b 2.3.0 --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR
+ # Install WordPress Coding Standards.
+ - git clone -b master --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $WPCS_DIR
+ # Set install path for WordPress Coding Standards.
+ # @link https://github.com/squizlabs/PHP_CodeSniffer/blob/4237c2fc98cc838730b76ee9cee316f99286a2a7/CodeSniffer.php#L1941
+ - $PHPCS_DIR/scripts/phpcs --config-set installed_paths $WPCS_DIR
+ # After CodeSniffer install you should refresh your path.
+ - phpenv rehash
# Run test script commands.
# All commands must exit with code 0 on success. Anything else is considered failure.
script:
- # Search for PHP syntax errors.
- - find . \( -name '*.php' \) -exec php -lf {} \;
- # WordPress Coding Standards
- # @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
- # @link https://github.com/squizlabs/PHP_CodeSniffer
- # All of the usual config flags are held in phpcs.xml
- - $PHPCS_DIR/scripts/phpcs
+ # Search for PHP syntax errors.
+ - find . \( -name '*.php' \) -exec php -lf {} \;
+ # WordPress Coding Standards
+ # @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
+ # @link https://github.com/squizlabs/PHP_CodeSniffer
+ # All of the usual config flags are held in phpcs.xml
+ - $PHPCS_DIR/scripts/phpcs
notifications:
email: false
View
@@ -1,34 +1,34 @@
{
- "name": "tgmpa/tgm-plugin-activation",
- "description": "TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).",
- "homepage": "http://tgmpluginactivation.com",
- "keywords": ["wordpress","plugins", "theme", "library", "activation"],
- "license": "GPL-2.0+",
- "authors": [
- {
- "name": "Thomas Griffin",
- "homepage": "http://thomasgriffinmedia.com",
- "role": "Developer"
- },
- {
- "name": "Gary Jones",
- "homepage": "https://github.com/GaryJones",
- "role": "Developer"
- },
- {
- "name": "Juliette Reinders Folmer",
- "homepage": "https://github.com/jrfnl",
- "role": "Developer"
- }
- ],
- "support": {
- "issues": "https://github.com/TGMPA/TGM-Plugin-Activation/issues",
- "source": "https://github.com/TGMPA/TGM-Plugin-Activation"
+ "name": "tgmpa/tgm-plugin-activation",
+ "description": "TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).",
+ "homepage": "http://tgmpluginactivation.com",
+ "keywords": ["wordpress","plugins", "theme", "library", "activation"],
+ "license": "GPL-2.0+",
+ "authors": [
+ {
+ "name": "Thomas Griffin",
+ "homepage": "http://thomasgriffinmedia.com",
+ "role": "Developer"
},
- "require": {
- "php": ">=5.2"
+ {
+ "name": "Gary Jones",
+ "homepage": "https://github.com/GaryJones",
+ "role": "Developer"
},
- "autoload": {
- "files": ["class-tgm-plugin-activation.php"]
+ {
+ "name": "Juliette Reinders Folmer",
+ "homepage": "https://github.com/jrfnl",
+ "role": "Developer"
}
+ ],
+ "support": {
+ "issues": "https://github.com/TGMPA/TGM-Plugin-Activation/issues",
+ "source": "https://github.com/TGMPA/TGM-Plugin-Activation"
+ },
+ "require": {
+ "php": ">=5.2"
+ },
+ "autoload": {
+ "files": ["class-tgm-plugin-activation.php"]
+ }
}

0 comments on commit cf9b8a9

Please sign in to comment.