Make WordPress Core

Changeset 48957 for trunk/composer.lock


Ignore:
Timestamp:
09/07/2020 07:21:26 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Allow unit tests to run on PHP 8 in full.

PHP 8 introduces a new control structure called match, which makes match a reserved keyword in PHP 8.

One of the PHPUnit dependencies declares a class named Match, which triggered a fatal error before PHPUnit could even start.

To be able to use PHPUnit 7.x on PHP 8 and run the tests, core needs a new version of that dependency, which is now installed using Composer.

This is the simplest way to get things working again and start addressing the individual test failures.

Additionally, various test runs on PHP 8 on Travis are now performed individually instead of being chained, so that failures outside of WP scope don't block further execution.

Props jrf, jorbin, pento.
See #50902.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.lock

    r47927 r48957  
    132132        {
    133133            "name": "myclabs/deep-copy",
    134             "version": "1.9.5",
     134            "version": "1.10.1",
    135135            "source": {
    136136                "type": "git",
    137137                "url": "https://github.com/myclabs/DeepCopy.git",
    138                 "reference": "b2c28789e80a97badd14145fda39b545d83ca3ef"
    139             },
    140             "dist": {
    141                 "type": "zip",
    142                 "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/b2c28789e80a97badd14145fda39b545d83ca3ef",
    143                 "reference": "b2c28789e80a97badd14145fda39b545d83ca3ef",
    144                 "shasum": ""
    145             },
    146             "require": {
    147                 "php": "^7.1"
     138                "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5"
     139            },
     140            "dist": {
     141                "type": "zip",
     142                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
     143                "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
     144                "shasum": ""
     145            },
     146            "require": {
     147                "php": "^7.1 || ^8.0"
    148148            },
    149149            "replace": {
     
    176176                "object graph"
    177177            ],
    178             "time": "2020-01-17T21:11:47+00:00"
     178            "funding": [
     179                {
     180                    "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
     181                    "type": "tidelift"
     182                }
     183            ],
     184            "time": "2020-06-29T13:22:24+00:00"
    179185        },
    180186        {
     
    442448        {
    443449            "name": "phpdocumentor/reflection-common",
    444             "version": "2.1.0",
     450            "version": "2.2.0",
    445451            "source": {
    446452                "type": "git",
    447453                "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
    448                 "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b"
    449             },
    450             "dist": {
    451                 "type": "zip",
    452                 "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/6568f4687e5b41b054365f9ae03fcb1ed5f2069b",
    453                 "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b",
    454                 "shasum": ""
    455             },
    456             "require": {
    457                 "php": ">=7.1"
    458             },
    459             "type": "library",
    460             "extra": {
    461                 "branch-alias": {
    462                     "dev-master": "2.x-dev"
     454                "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
     455            },
     456            "dist": {
     457                "type": "zip",
     458                "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
     459                "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
     460                "shasum": ""
     461            },
     462            "require": {
     463                "php": "^7.2 || ^8.0"
     464            },
     465            "type": "library",
     466            "extra": {
     467                "branch-alias": {
     468                    "dev-2.x": "2.x-dev"
    463469                }
    464470            },
     
    487493                "static analysis"
    488494            ],
    489             "time": "2020-04-27T09:25:28+00:00"
     495            "time": "2020-06-27T09:03:43+00:00"
    490496        },
    491497        {
    492498            "name": "phpdocumentor/reflection-docblock",
    493             "version": "5.1.0",
     499            "version": "5.2.0",
    494500            "source": {
    495501                "type": "git",
    496502                "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
    497                 "reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e"
    498             },
    499             "dist": {
    500                 "type": "zip",
    501                 "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e",
    502                 "reference": "cd72d394ca794d3466a3b2fc09d5a6c1dc86b47e",
    503                 "shasum": ""
    504             },
    505             "require": {
    506                 "ext-filter": "^7.1",
    507                 "php": "^7.2",
    508                 "phpdocumentor/reflection-common": "^2.0",
    509                 "phpdocumentor/type-resolver": "^1.0",
    510                 "webmozart/assert": "^1"
    511             },
    512             "require-dev": {
    513                 "doctrine/instantiator": "^1",
    514                 "mockery/mockery": "^1"
     503                "reference": "3170448f5769fe19f456173d833734e0ff1b84df"
     504            },
     505            "dist": {
     506                "type": "zip",
     507                "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/3170448f5769fe19f456173d833734e0ff1b84df",
     508                "reference": "3170448f5769fe19f456173d833734e0ff1b84df",
     509                "shasum": ""
     510            },
     511            "require": {
     512                "ext-filter": "*",
     513                "php": "^7.2 || ^8.0",
     514                "phpdocumentor/reflection-common": "^2.2",
     515                "phpdocumentor/type-resolver": "^1.3",
     516                "webmozart/assert": "^1.9.1"
     517            },
     518            "require-dev": {
     519                "mockery/mockery": "~1.3.2"
    515520            },
    516521            "type": "library",
     
    540545            ],
    541546            "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
    542             "time": "2020-02-22T12:28:44+00:00"
     547            "time": "2020-07-20T20:05:34+00:00"
    543548        },
    544549        {
    545550            "name": "phpdocumentor/type-resolver",
    546             "version": "1.1.0",
     551            "version": "1.3.0",
    547552            "source": {
    548553                "type": "git",
    549554                "url": "https://github.com/phpDocumentor/TypeResolver.git",
    550                 "reference": "7462d5f123dfc080dfdf26897032a6513644fc95"
    551             },
    552             "dist": {
    553                 "type": "zip",
    554                 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/7462d5f123dfc080dfdf26897032a6513644fc95",
    555                 "reference": "7462d5f123dfc080dfdf26897032a6513644fc95",
    556                 "shasum": ""
    557             },
    558             "require": {
    559                 "php": "^7.2",
     555                "reference": "e878a14a65245fbe78f8080eba03b47c3b705651"
     556            },
     557            "dist": {
     558                "type": "zip",
     559                "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e878a14a65245fbe78f8080eba03b47c3b705651",
     560                "reference": "e878a14a65245fbe78f8080eba03b47c3b705651",
     561                "shasum": ""
     562            },
     563            "require": {
     564                "php": "^7.2 || ^8.0",
    560565                "phpdocumentor/reflection-common": "^2.0"
    561566            },
    562567            "require-dev": {
    563                 "ext-tokenizer": "^7.2",
    564                 "mockery/mockery": "~1"
    565             },
    566             "type": "library",
    567             "extra": {
    568                 "branch-alias": {
    569                     "dev-master": "1.x-dev"
     568                "ext-tokenizer": "*"
     569            },
     570            "type": "library",
     571            "extra": {
     572                "branch-alias": {
     573                    "dev-1.x": "1.x-dev"
    570574                }
    571575            },
     
    586590            ],
    587591            "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
    588             "time": "2020-02-18T18:59:58+00:00"
     592            "time": "2020-06-27T10:12:23+00:00"
    589593        },
    590594        {
    591595            "name": "phpspec/prophecy",
    592             "version": "v1.10.3",
     596            "version": "1.11.1",
    593597            "source": {
    594598                "type": "git",
    595599                "url": "https://github.com/phpspec/prophecy.git",
    596                 "reference": "451c3cd1418cf640de218914901e51b064abb093"
    597             },
    598             "dist": {
    599                 "type": "zip",
    600                 "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093",
    601                 "reference": "451c3cd1418cf640de218914901e51b064abb093",
    602                 "shasum": ""
    603             },
    604             "require": {
    605                 "doctrine/instantiator": "^1.0.2",
    606                 "php": "^5.3|^7.0",
    607                 "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
    608                 "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0",
    609                 "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0"
    610             },
    611             "require-dev": {
    612                 "phpspec/phpspec": "^2.5 || ^3.2",
    613                 "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
    614             },
    615             "type": "library",
    616             "extra": {
    617                 "branch-alias": {
    618                     "dev-master": "1.10.x-dev"
     600                "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160"
     601            },
     602            "dist": {
     603                "type": "zip",
     604                "url": "https://api.github.com/repos/phpspec/prophecy/zipball/b20034be5efcdab4fb60ca3a29cba2949aead160",
     605                "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160",
     606                "shasum": ""
     607            },
     608            "require": {
     609                "doctrine/instantiator": "^1.2",
     610                "php": "^7.2",
     611                "phpdocumentor/reflection-docblock": "^5.0",
     612                "sebastian/comparator": "^3.0 || ^4.0",
     613                "sebastian/recursion-context": "^3.0 || ^4.0"
     614            },
     615            "require-dev": {
     616                "phpspec/phpspec": "^6.0",
     617                "phpunit/phpunit": "^8.0"
     618            },
     619            "type": "library",
     620            "extra": {
     621                "branch-alias": {
     622                    "dev-master": "1.11.x-dev"
    619623                }
    620624            },
     
    649653                "stub"
    650654            ],
    651             "time": "2020-03-05T15:02:03+00:00"
     655            "time": "2020-07-08T12:44:21+00:00"
    652656        },
    653657        {
     
    16061610        {
    16071611            "name": "symfony/polyfill-ctype",
    1608             "version": "v1.17.0",
     1612            "version": "v1.18.1",
    16091613            "source": {
    16101614                "type": "git",
    16111615                "url": "https://github.com/symfony/polyfill-ctype.git",
    1612                 "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9"
    1613             },
    1614             "dist": {
    1615                 "type": "zip",
    1616                 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
    1617                 "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9",
     1616                "reference": "1c302646f6efc070cd46856e600e5e0684d6b454"
     1617            },
     1618            "dist": {
     1619                "type": "zip",
     1620                "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454",
     1621                "reference": "1c302646f6efc070cd46856e600e5e0684d6b454",
    16181622                "shasum": ""
    16191623            },
     
    16271631            "extra": {
    16281632                "branch-alias": {
    1629                     "dev-master": "1.17-dev"
     1633                    "dev-master": "1.18-dev"
     1634                },
     1635                "thanks": {
     1636                    "name": "symfony/polyfill",
     1637                    "url": "https://github.com/symfony/polyfill"
    16301638                }
    16311639            },
     
    16601668                "portable"
    16611669            ],
    1662             "time": "2020-05-12T16:14:59+00:00"
     1670            "funding": [
     1671                {
     1672                    "url": "https://symfony.com/sponsor",
     1673                    "type": "custom"
     1674                },
     1675                {
     1676                    "url": "https://github.com/fabpot",
     1677                    "type": "github"
     1678                },
     1679                {
     1680                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     1681                    "type": "tidelift"
     1682                }
     1683            ],
     1684            "time": "2020-07-14T12:35:20+00:00"
    16631685        },
    16641686        {
    16651687            "name": "theseer/tokenizer",
    1666             "version": "1.1.3",
     1688            "version": "1.2.0",
    16671689            "source": {
    16681690                "type": "git",
    16691691                "url": "https://github.com/theseer/tokenizer.git",
    1670                 "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9"
    1671             },
    1672             "dist": {
    1673                 "type": "zip",
    1674                 "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9",
    1675                 "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9",
     1692                "reference": "75a63c33a8577608444246075ea0af0d052e452a"
     1693            },
     1694            "dist": {
     1695                "type": "zip",
     1696                "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a",
     1697                "reference": "75a63c33a8577608444246075ea0af0d052e452a",
    16761698                "shasum": ""
    16771699            },
     
    16801702                "ext-tokenizer": "*",
    16811703                "ext-xmlwriter": "*",
    1682                 "php": "^7.0"
     1704                "php": "^7.2 || ^8.0"
    16831705            },
    16841706            "type": "library",
     
    17001722            ],
    17011723            "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
    1702             "time": "2019-06-13T22:48:21+00:00"
     1724            "funding": [
     1725                {
     1726                    "url": "https://github.com/theseer",
     1727                    "type": "github"
     1728                }
     1729            ],
     1730            "time": "2020-07-12T23:59:07+00:00"
    17031731        },
    17041732        {
    17051733            "name": "webmozart/assert",
    1706             "version": "1.8.0",
     1734            "version": "1.9.1",
    17071735            "source": {
    17081736                "type": "git",
    17091737                "url": "https://github.com/webmozart/assert.git",
    1710                 "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6"
    1711             },
    1712             "dist": {
    1713                 "type": "zip",
    1714                 "url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
    1715                 "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
    1716                 "shasum": ""
    1717             },
    1718             "require": {
    1719                 "php": "^5.3.3 || ^7.0",
     1738                "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
     1739            },
     1740            "dist": {
     1741                "type": "zip",
     1742                "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
     1743                "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
     1744                "shasum": ""
     1745            },
     1746            "require": {
     1747                "php": "^5.3.3 || ^7.0 || ^8.0",
    17201748                "symfony/polyfill-ctype": "^1.8"
    17211749            },
    17221750            "conflict": {
     1751                "phpstan/phpstan": "<0.12.20",
    17231752                "vimeo/psalm": "<3.9.1"
    17241753            },
     
    17481777                "validate"
    17491778            ],
    1750             "time": "2020-04-18T12:12:48+00:00"
     1779            "time": "2020-07-08T17:02:28+00:00"
    17511780        },
    17521781        {
     
    18051834        "php": ">=5.6"
    18061835    },
    1807     "platform-dev": []
     1836    "platform-dev": [],
     1837    "plugin-api-version": "1.1.0"
    18081838}
Note: See TracChangeset for help on using the changeset viewer.