WordPress.org

Make WordPress Core

Changeset 43571 for trunk/composer.lock


Ignore:
Timestamp:
08/17/2018 01:50:26 AM (3 years ago)
Author:
pento
Message:

Coding Standards: Upgrade WPCS to 1.0.0

WPCS 1.0.0 includes a bunch of new auto-fixers, which drops the number of coding standards issues across WordPress significantly. Prior to running the auto-fixers, there were 15,312 issues detected. With this commit, we now drop to 4,769 issues.

This change includes three notable additions:

  • Multiline function calls must now put each parameter on a new line.
  • Auto-formatting files is now part of the grunt precommit script.
  • Auto-fixable coding standards issues will now cause Travis failures.

Fixes #44600.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.lock

    r43348 r43571  
    22    "_readme": [
    33        "This file locks the dependencies of your project to a known state",
    4         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
     4        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "9c2c871b813e89682ef445611d2f5363",
     7    "content-hash": "525cadb533bc92cc922d79144b33b14a",
    88    "packages": [],
    99    "packages-dev": [
     
    7878        {
    7979            "name": "squizlabs/php_codesniffer",
    80             "version": "3.3.0",
     80            "version": "3.3.1",
    8181            "source": {
    8282                "type": "git",
    8383                "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
    84                 "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266"
     84                "reference": "628a481780561150481a9ec74709092b9759b3ec"
    8585            },
    8686            "dist": {
    8787                "type": "zip",
    88                 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d86873af43b4aa9d1f39a3601cc0cfcf02b25266",
    89                 "reference": "d86873af43b4aa9d1f39a3601cc0cfcf02b25266",
     88                "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/628a481780561150481a9ec74709092b9759b3ec",
     89                "reference": "628a481780561150481a9ec74709092b9759b3ec",
    9090                "shasum": ""
    9191            },
     
    125125                "standards"
    126126            ],
    127             "time": "2018-06-06T23:58:19+00:00"
     127            "time": "2018-07-26T23:47:18+00:00"
    128128        },
    129129        {
    130130            "name": "wp-coding-standards/wpcs",
    131             "version": "dev-master",
     131            "version": "1.0.0",
    132132            "source": {
    133133                "type": "git",
    134134                "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git",
    135                 "reference": "cf6b310caad735816caef7573295f8a534374706"
     135                "reference": "539c6d74e6207daa22b7ea754d6f103e9abb2755"
    136136            },
    137137            "dist": {
    138138                "type": "zip",
    139                 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/cf6b310caad735816caef7573295f8a534374706",
    140                 "reference": "cf6b310caad735816caef7573295f8a534374706",
     139                "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/539c6d74e6207daa22b7ea754d6f103e9abb2755",
     140                "reference": "539c6d74e6207daa22b7ea754d6f103e9abb2755",
    141141                "shasum": ""
    142142            },
     
    145145                "squizlabs/php_codesniffer": "^2.9.0 || ^3.0.2"
    146146            },
     147            "require-dev": {
     148                "phpcompatibility/php-compatibility": "*"
     149            },
    147150            "suggest": {
    148                 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3"
     151                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
    149152            },
    150153            "type": "phpcodesniffer-standard",
     
    165168                "wordpress"
    166169            ],
    167             "time": "2018-02-16T01:57:48+00:00"
     170            "time": "2018-07-25T18:10:35+00:00"
    168171        }
    169172    ],
    170173    "aliases": [],
    171174    "minimum-stability": "stable",
    172     "stability-flags": {
    173         "wp-coding-standards/wpcs": 20
    174     },
     175    "stability-flags": [],
    175176    "prefer-stable": false,
    176177    "prefer-lowest": false,
Note: See TracChangeset for help on using the changeset viewer.