diff --git a/composer.json b/composer.json index d29423af45944..6237bac287b9c 100644 --- a/composer.json +++ b/composer.json @@ -20,9 +20,6 @@ "composer/installers": "~1.0" }, "scripts": { - "lint": "phpcs", - "post-install-cmd": [ - "phpcs --config-set installed_paths ../../wp-coding-standards/wpcs/" - ] + "lint": "phpcs" } } diff --git a/composer.lock b/composer.lock index d1b6a35b8d774..5b7f127e059bb 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "cad2522839a5a2c4bcdd95ad723a0dff", + "content-hash": "d98e7d96aa3ad8c24dac1961b911e432", "packages": [ { "name": "composer/installers", - "version": "v1.3.0", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/composer/installers.git", - "reference": "79ad876c7498c0bbfe7eed065b8651c93bfd6045" + "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/79ad876c7498c0bbfe7eed065b8651c93bfd6045", - "reference": "79ad876c7498c0bbfe7eed065b8651c93bfd6045", + "url": "https://api.github.com/repos/composer/installers/zipball/9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b", + "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b", "shasum": "" }, "require": { @@ -63,6 +63,7 @@ "Hurad", "ImageCMS", "Kanboard", + "Lan Management System", "MODX Evo", "Mautic", "Maya", @@ -86,6 +87,7 @@ "croogo", "dokuwiki", "drupal", + "eZ Platform", "elgg", "expressionengine", "fuelphp", @@ -102,6 +104,7 @@ "mediawiki", "modulework", "moodle", + "osclass", "phpbb", "piwik", "ppi", @@ -118,7 +121,7 @@ "zend", "zikula" ], - "time": "2017-04-24T06:37:16+00:00" + "time": "2017-08-09T07:53:48+00:00" } ], "packages-dev": [ @@ -192,37 +195,64 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.1.0", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "3c2d0a0fe39684ba0c1eb842a6a775d0b938d699" + "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/3c2d0a0fe39684ba0c1eb842a6a775d0b938d699", - "reference": "3c2d0a0fe39684ba0c1eb842a6a775d0b938d699", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62", + "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62", "shasum": "" }, "require": { "ext-simplexml": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": ">=5.4.0" + "php": ">=5.1.2" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0" + "phpunit/phpunit": "~4.0" }, "bin": [ - "bin/phpcs", - "bin/phpcbf" + "scripts/phpcs", + "scripts/phpcbf" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "2.x-dev" } }, + "autoload": { + "classmap": [ + "CodeSniffer.php", + "CodeSniffer/CLI.php", + "CodeSniffer/Exception.php", + "CodeSniffer/File.php", + "CodeSniffer/Fixer.php", + "CodeSniffer/Report.php", + "CodeSniffer/Reporting.php", + "CodeSniffer/Sniff.php", + "CodeSniffer/Tokens.php", + "CodeSniffer/Reports/", + "CodeSniffer/Tokenizers/", + "CodeSniffer/DocGenerators/", + "CodeSniffer/Standards/AbstractPatternSniff.php", + "CodeSniffer/Standards/AbstractScopeSniff.php", + "CodeSniffer/Standards/AbstractVariableSniff.php", + "CodeSniffer/Standards/IncorrectPatternException.php", + "CodeSniffer/Standards/Generic/Sniffs/", + "CodeSniffer/Standards/MySource/Sniffs/", + "CodeSniffer/Standards/PEAR/Sniffs/", + "CodeSniffer/Standards/PSR1/Sniffs/", + "CodeSniffer/Standards/PSR2/Sniffs/", + "CodeSniffer/Standards/Squiz/Sniffs/", + "CodeSniffer/Standards/Zend/Sniffs/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -239,7 +269,7 @@ "phpcs", "standards" ], - "time": "2017-09-19T22:47:14+00:00" + "time": "2017-05-22T02:43:20+00:00" }, { "name": "wimg/php-compatibility", @@ -247,12 +277,12 @@ "source": { "type": "git", "url": "https://github.com/wimg/PHPCompatibility.git", - "reference": "e3a7ae6920033130f4cd76cf09384481224f206f" + "reference": "514be0f250b2f4d1a18dbbd12e4063810ba22eec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wimg/PHPCompatibility/zipball/e3a7ae6920033130f4cd76cf09384481224f206f", - "reference": "e3a7ae6920033130f4cd76cf09384481224f206f", + "url": "https://api.github.com/repos/wimg/PHPCompatibility/zipball/514be0f250b2f4d1a18dbbd12e4063810ba22eec", + "reference": "514be0f250b2f4d1a18dbbd12e4063810ba22eec", "shasum": "" }, "require": { @@ -291,30 +321,26 @@ "phpcs", "standards" ], - "time": "2017-08-07 19:44:46" + "time": "2017-12-02T01:33:23+00:00" }, { "name": "wp-coding-standards/wpcs", - "version": "dev-develop", + "version": "0.11.0", "source": { "type": "git", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", - "reference": "b19535707965e6f185f6fc678b044d8c7f0b1b50" + "reference": "407e4b85f547a5251185f89ceae6599917343388" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/b19535707965e6f185f6fc678b044d8c7f0b1b50", - "reference": "b19535707965e6f185f6fc678b044d8c7f0b1b50", + "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/407e4b85f547a5251185f89ceae6599917343388", + "reference": "407e4b85f547a5251185f89ceae6599917343388", "shasum": "" }, "require": { - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.9.0 || ^3.0.2" + "squizlabs/php_codesniffer": "^2.8.1" }, - "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3" - }, - "type": "phpcodesniffer-standard", + "type": "library", "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -331,14 +357,13 @@ "standards", "wordpress" ], - "time": "2017-10-09T13:04:35+00:00" + "time": "2017-03-20T23:17:58+00:00" } ], "aliases": [], "minimum-stability": "stable", "stability-flags": { - "wimg/php-compatibility": 20, - "wp-coding-standards/wpcs": 20 + "wimg/php-compatibility": 20 }, "prefer-stable": false, "prefer-lowest": false,