[TOOLS] Fix deprecations in php-doc-check by providing my own implementation

This commit is contained in:
Hugo Sales 2022-01-02 20:57:28 +00:00 committed by Diogo Peralta Cordeiro
parent 27276ba379
commit ba0b0629b7
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
3 changed files with 107 additions and 135 deletions

View File

@ -76,11 +76,13 @@
"symfony/browser-kit": "^5.4.",
"symfony/css-selector": "^5.4.",
"symfony/debug-bundle": "^5.4.",
"symfony/error-handler": "^5.4.",
"symfony/maker-bundle": "^1.14",
"symfony/phpunit-bridge": "^5.4.",
"symfony/stopwatch": "5.4.*",
"symfony/web-profiler-bundle": "^5.4.",
"symfony/error-handler": "^5.4."
"ulrichsg/getopt-php": "*",
"wp-cli/php-cli-tools": "^0.11.13"
},
"config": {
"preferred-install": {
@ -144,5 +146,44 @@
"plugins/*/composer.json"
]
}
}
},
"repositories": [
{
"type": "package",
"package": {
"name": "niels-de-blaauw/php-doc-check",
"version": "0.2.2",
"bin": [
"bin/php-doc-check"
],
"autoload": {
"psr-4": {
"NdB\\PhpDocCheck\\": "src"
}
},
"source": {
"url": "https://github.com/someonewithpc/php-doc-check.git",
"type": "git",
"reference": "master"
}
}
},
{
"type": "package",
"package": {
"name": "ulrichsg/getopt-php",
"version": "4.0.0",
"autoload": {
"psr-4": {
"GetOpt\\": "src"
}
},
"source": {
"url": "https://github.com/someonewithpc/getopt-php.git",
"type": "git",
"reference": "master"
}
}
}
]
}

193
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "c20d65671acbbe2cd549720e26a65feb",
"content-hash": "b65e020cc6b2de3186778d0b3f1aa277",
"packages": [
{
"name": "alchemy/binary-driver",
@ -707,16 +707,16 @@
},
{
"name": "doctrine/doctrine-bundle",
"version": "2.5.3",
"version": "2.5.4",
"source": {
"type": "git",
"url": "https://github.com/doctrine/DoctrineBundle.git",
"reference": "f6cbf1816691bd2632407f6f34cf5db24fc2e411"
"reference": "f6191c50600bad1c0195638413f53aee6158b909"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/f6cbf1816691bd2632407f6f34cf5db24fc2e411",
"reference": "f6cbf1816691bd2632407f6f34cf5db24fc2e411",
"url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/f6191c50600bad1c0195638413f53aee6158b909",
"reference": "f6191c50600bad1c0195638413f53aee6158b909",
"shasum": ""
},
"require": {
@ -800,7 +800,7 @@
],
"support": {
"issues": "https://github.com/doctrine/DoctrineBundle/issues",
"source": "https://github.com/doctrine/DoctrineBundle/tree/2.5.3"
"source": "https://github.com/doctrine/DoctrineBundle/tree/2.5.4"
},
"funding": [
{
@ -816,7 +816,7 @@
"type": "tidelift"
}
],
"time": "2021-12-29T08:13:45+00:00"
"time": "2021-12-30T18:43:28+00:00"
},
{
"name": "doctrine/doctrine-migrations-bundle",
@ -3336,16 +3336,16 @@
},
{
"name": "odolbeau/phone-number-bundle",
"version": "v3.6.0",
"version": "v3.6.1",
"source": {
"type": "git",
"url": "https://github.com/odolbeau/phone-number-bundle.git",
"reference": "0e9428c2252b2b8c5864c58dd6629cb548aa4695"
"reference": "a119943b054adf747e335a9096bfc54881de96e3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/odolbeau/phone-number-bundle/zipball/0e9428c2252b2b8c5864c58dd6629cb548aa4695",
"reference": "0e9428c2252b2b8c5864c58dd6629cb548aa4695",
"url": "https://api.github.com/repos/odolbeau/phone-number-bundle/zipball/a119943b054adf747e335a9096bfc54881de96e3",
"reference": "a119943b054adf747e335a9096bfc54881de96e3",
"shasum": ""
},
"require": {
@ -3404,9 +3404,9 @@
],
"support": {
"issues": "https://github.com/odolbeau/phone-number-bundle/issues",
"source": "https://github.com/odolbeau/phone-number-bundle/tree/v3.6.0"
"source": "https://github.com/odolbeau/phone-number-bundle/tree/v3.6.1"
},
"time": "2021-12-07T09:07:46+00:00"
"time": "2021-12-30T10:30:13+00:00"
},
{
"name": "oro/doctrine-extensions",
@ -4509,29 +4509,29 @@
},
{
"name": "psy/psysh",
"version": "v0.10.12",
"version": "v0.11.0",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "a0d9981aa07ecfcbea28e4bfa868031cca121e7d"
"reference": "c9a85cd388afde68721d304bbb3257a068f5ab05"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/a0d9981aa07ecfcbea28e4bfa868031cca121e7d",
"reference": "a0d9981aa07ecfcbea28e4bfa868031cca121e7d",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/c9a85cd388afde68721d304bbb3257a068f5ab05",
"reference": "c9a85cd388afde68721d304bbb3257a068f5ab05",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-tokenizer": "*",
"nikic/php-parser": "~4.0|~3.0|~2.0|~1.3",
"php": "^8.0 || ^7.0 || ^5.5.9",
"symfony/console": "~5.0|~4.0|~3.0|^2.4.2|~2.3.10",
"symfony/var-dumper": "~5.0|~4.0|~3.0|~2.7"
"nikic/php-parser": "^4.0 || ^3.1",
"php": "^8.0 || ^7.0.8",
"symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4",
"symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.2",
"hoa/console": "3.17.*"
"hoa/console": "3.17.05.02"
},
"suggest": {
"ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
@ -4546,7 +4546,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "0.10.x-dev"
"dev-main": "0.11.x-dev"
}
},
"autoload": {
@ -4578,9 +4578,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.10.12"
"source": "https://github.com/bobthecow/psysh/tree/v0.11.0"
},
"time": "2021-11-30T14:05:36+00:00"
"time": "2021-12-05T06:09:05+00:00"
},
{
"name": "ralouphie/getallheaders",
@ -4628,16 +4628,16 @@
},
{
"name": "sensio/framework-extra-bundle",
"version": "v6.2.4",
"version": "v6.2.5",
"source": {
"type": "git",
"url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git",
"reference": "01a4a9ba102a8034a968a46a939ba18ccdadc47e"
"reference": "812b11b75298577984f90758aeb7bdc8ecd22c20"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/01a4a9ba102a8034a968a46a939ba18ccdadc47e",
"reference": "01a4a9ba102a8034a968a46a939ba18ccdadc47e",
"url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/812b11b75298577984f90758aeb7bdc8ecd22c20",
"reference": "812b11b75298577984f90758aeb7bdc8ecd22c20",
"shasum": ""
},
"require": {
@ -4700,9 +4700,9 @@
],
"support": {
"issues": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues",
"source": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/tree/v6.2.4"
"source": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/tree/v6.2.5"
},
"time": "2021-12-24T11:52:04+00:00"
"time": "2022-01-02T16:55:10+00:00"
},
{
"name": "someonewithpc/memcached-polyfill",
@ -8732,16 +8732,16 @@
},
{
"name": "symfony/security-bundle",
"version": "v5.4.1",
"version": "v5.4.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/security-bundle.git",
"reference": "39e7e10048a0cad8c4213603f8db173779fcf07d"
"reference": "4da15c5a30ec90acb4dd2d27b2e046385212192e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/security-bundle/zipball/39e7e10048a0cad8c4213603f8db173779fcf07d",
"reference": "39e7e10048a0cad8c4213603f8db173779fcf07d",
"url": "https://api.github.com/repos/symfony/security-bundle/zipball/4da15c5a30ec90acb4dd2d27b2e046385212192e",
"reference": "4da15c5a30ec90acb4dd2d27b2e046385212192e",
"shasum": ""
},
"require": {
@ -8814,7 +8814,7 @@
"description": "Provides a tight integration of the Security component into the Symfony full-stack framework",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/security-bundle/tree/v5.4.1"
"source": "https://github.com/symfony/security-bundle/tree/v5.4.2"
},
"funding": [
{
@ -8830,7 +8830,7 @@
"type": "tidelift"
}
],
"time": "2021-12-04T17:10:39+00:00"
"time": "2021-12-16T21:58:21+00:00"
},
{
"name": "symfony/security-core",
@ -10500,28 +10500,28 @@
},
{
"name": "theofidry/psysh-bundle",
"version": "4.4.0",
"version": "4.5.0",
"source": {
"type": "git",
"url": "https://github.com/theofidry/PsyshBundle.git",
"reference": "c3d3807420961a0c70db3ff1b2527b7138ccf412"
"reference": "cc487815fba1ed57481b493f48c9a5d943ec469e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/theofidry/PsyshBundle/zipball/c3d3807420961a0c70db3ff1b2527b7138ccf412",
"reference": "c3d3807420961a0c70db3ff1b2527b7138ccf412",
"url": "https://api.github.com/repos/theofidry/PsyshBundle/zipball/cc487815fba1ed57481b493f48c9a5d943ec469e",
"reference": "cc487815fba1ed57481b493f48c9a5d943ec469e",
"shasum": ""
},
"require": {
"php": ">=7.3",
"psy/psysh": "^0.10",
"symfony/error-handler": "^5.0|^4.4",
"symfony/expression-language": "^5.0|^4.4",
"symfony/framework-bundle": "^5.0|^4.4"
"php": ">=8.0",
"psy/psysh": "^0.11",
"symfony/error-handler": "^5.4|^6.0",
"symfony/expression-language": "^5.4|^6.0",
"symfony/framework-bundle": "^5.4|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"symfony/symfony": "^5.0|^4.4"
"phpunit/phpunit": "^9.5",
"symfony/symfony": "^5.4|^6.0"
},
"type": "symfony-bundle",
"autoload": {
@ -10558,7 +10558,7 @@
],
"support": {
"issues": "https://github.com/theofidry/PsyshBundle/issues",
"source": "https://github.com/theofidry/PsyshBundle/tree/4.4.0"
"source": "https://github.com/theofidry/PsyshBundle/tree/4.5.0"
},
"funding": [
{
@ -10566,7 +10566,7 @@
"type": "github"
}
],
"time": "2021-02-02T12:16:43+00:00"
"time": "2021-12-29T22:21:17+00:00"
},
{
"name": "twig/extra-bundle",
@ -11698,29 +11698,11 @@
},
{
"name": "niels-de-blaauw/php-doc-check",
"version": "v0.2.2",
"version": "0.2.2",
"source": {
"type": "git",
"url": "https://github.com/NielsdeBlaauw/php-doc-check.git",
"reference": "c0262fb76db3ed3f93ae0a2857bf41b695ec3b62"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/NielsdeBlaauw/php-doc-check/zipball/c0262fb76db3ed3f93ae0a2857bf41b695ec3b62",
"reference": "c0262fb76db3ed3f93ae0a2857bf41b695ec3b62",
"shasum": ""
},
"require": {
"nikic/php-parser": "^4.2",
"ulrichsg/getopt-php": "^3.2",
"wp-cli/php-cli-tools": "^0.11.11"
},
"require-dev": {
"humbug/box": "^3.4",
"phpmd/phpmd": "^2.6",
"phpstan/phpstan": "^0.11.1",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.4"
"url": "https://github.com/someonewithpc/php-doc-check.git",
"reference": "master"
},
"bin": [
"bin/php-doc-check"
@ -11730,23 +11712,7 @@
"psr-4": {
"NdB\\PhpDocCheck\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Niels de Blaauw",
"email": "niels.de.blaauw@gmail.com"
}
],
"description": "Command line tool that identifies code that needs documentation.",
"support": {
"issues": "https://github.com/NielsdeBlaauw/php-doc-check/issues",
"source": "https://github.com/NielsdeBlaauw/php-doc-check/tree/master"
},
"time": "2019-02-10T20:38:29+00:00"
}
},
{
"name": "phar-io/manifest",
@ -11984,12 +11950,12 @@
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "f61e56939f9e70339268cbdc64490eb80e5ca47c"
"reference": "8f03946c4c801c700a372e53364beaec70317967"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/f61e56939f9e70339268cbdc64490eb80e5ca47c",
"reference": "f61e56939f9e70339268cbdc64490eb80e5ca47c",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/8f03946c4c801c700a372e53364beaec70317967",
"reference": "8f03946c4c801c700a372e53364beaec70317967",
"shasum": ""
},
"require": {
@ -12041,7 +12007,7 @@
"type": "tidelift"
}
],
"time": "2021-12-29T12:53:56+00:00"
"time": "2022-01-02T13:41:33+00:00"
},
{
"name": "phpunit/php-code-coverage",
@ -13948,53 +13914,18 @@
},
{
"name": "ulrichsg/getopt-php",
"version": "v3.4.0",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/getopt-php/getopt-php.git",
"reference": "9121d7c2c51a6a59ee407c49a13b4d8cfae71075"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/getopt-php/getopt-php/zipball/9121d7c2c51a6a59ee407c49a13b4d8cfae71075",
"reference": "9121d7c2c51a6a59ee407c49a13b4d8cfae71075",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"squizlabs/php_codesniffer": "^2.7"
"url": "https://github.com/someonewithpc/getopt-php.git",
"reference": "master"
},
"type": "library",
"autoload": {
"psr-4": {
"GetOpt\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ulrich Schmidt-Goertz",
"email": "ulrich@schmidt-goertz.de"
},
{
"name": "Thomas Flori",
"email": "thflori@gmail.com"
}
],
"description": "Command line arguments parser for PHP 5.4 - 7.3",
"homepage": "http://getopt-php.github.io/getopt-php",
"support": {
"issues": "https://github.com/getopt-php/getopt-php/issues",
"source": "https://github.com/getopt-php/getopt-php/tree/v3.4.0"
},
"time": "2020-07-14T06:09:04+00:00"
}
},
{
"name": "wp-cli/php-cli-tools",

View File

@ -821,7 +821,7 @@
"version": "v3.3.0"
},
"ulrichsg/getopt-php": {
"version": "v3.4.0"
"version": "4.0.0"
},
"voku/portable-ascii": {
"version": "1.5.6"
@ -839,6 +839,6 @@
"version": "v2.0.1"
},
"wp-cli/php-cli-tools": {
"version": "v0.11.12"
"version": "v0.11.13"
}
}