From 2b11c5c2b0a05ba77eb3a88fd8fa8a91bc3d3fc2 Mon Sep 17 00:00:00 2001 From: donaldinou Date: Sat, 28 Sep 2024 00:44:33 +0200 Subject: [PATCH] feat(chore) : update composer --- composer.json | 22 ++-- composer.lock | 319 ++++++++++++++++---------------------------------- 2 files changed, 108 insertions(+), 233 deletions(-) diff --git a/composer.json b/composer.json index 477990a..9f3ec7a 100755 --- a/composer.json +++ b/composer.json @@ -32,12 +32,9 @@ }, "require": { "php": ">=7.4", - "ext-json": "*", - "ducks-project/polyfill-enum": "^1.x-dev", - "symfony/polyfill-php80": "^1.31" + "ext-json": "*" }, "require-dev": { - "atoum/stubs": "^2.6", "friendsofphp/php-cs-fixer": "^3.64", "phpbench/phpbench": "^1.2", "phpmd/phpmd": "^2.15", @@ -63,8 +60,12 @@ "psr-4": { "Ducks\\Component\\SplTypes\\": "" }, + "classmap": [ + "Resources/stubs" + ], "files": [ - "bootstrap.php" + "bootstrap.php", + "Resources/functions.php" ], "exclude-from-classmap": [ "/Tests/" @@ -76,15 +77,8 @@ } }, "extra": { - "replace": { - "symfony/polyfill-php54": "*", - "symfony/polyfill-php55": "*", - "symfony/polyfill-php56": "*", - "symfony/polyfill-php70": "*", - "symfony/polyfill-php71": "*", - "symfony/polyfill-php72": "*", - "symfony/polyfill-php73": "*", - "symfony/polyfill-php74": "*" + "duck": { + "status": "validated" } }, "scripts": { diff --git a/composer.lock b/composer.lock index 69c7156..50cc5d1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,154 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f248681f55e0170b8f92060cb3c2f5ad", - "packages": [ - { - "name": "ducks-project/polyfill-enum", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/ducks-project/polyfill-enum.git", - "reference": "02a8b46bc2c122c0e045fcda2e54ed3ecd679c48" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ducks-project/polyfill-enum/zipball/02a8b46bc2c122c0e045fcda2e54ed3ecd679c48", - "reference": "02a8b46bc2c122c0e045fcda2e54ed3ecd679c48", - "shasum": "" - }, - "require": { - "php": ">=7.4" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.64" - }, - "default-branch": true, - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Ducks\\Polyfill\\Enum\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Adrien Loyant", - "email": "donald_duck@team-df.org", - "homepage": "http://adrien.loyant.net", - "role": "Owner" - } - ], - "description": "Polyfill for PHP enumerations interface.", - "homepage": "https://github.com/ducks-project/polyfill-enum/", - "keywords": [ - "backedEnum", - "compat", - "enum", - "enum_exists", - "enumerator", - "php", - "polyfill", - "poo", - "unitEnum" - ], - "support": { - "email": "adrien.loyant@gmail.com", - "issues": "https://github.com/ducks-project/polyfill-enum/issues", - "source": "https://github.com/ducks-project/polyfill-enum/tree/1.x" - }, - "time": "2024-09-25T10:17:19+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.31.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" - } - ], + "content-hash": "d75bd6d522b40d4ebf817c3c7da7dc01", + "packages": [], "packages-dev": [ { "name": "amphp/amp", @@ -313,57 +167,6 @@ ], "time": "2024-04-13T18:00:56+00:00" }, - { - "name": "atoum/stubs", - "version": "2.6.0", - "source": { - "type": "git", - "url": "https://github.com/atoum/stubs.git", - "reference": "df8b73b0358de7283ecba91d8f4a9683f583993d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/atoum/stubs/zipball/df8b73b0358de7283ecba91d8f4a9683f583993d", - "reference": "df8b73b0358de7283ecba91d8f4a9683f583993d", - "shasum": "" - }, - "suggest": { - "atoum/atoum": "Include atoum in your projet dependencies" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Julien Bianchi", - "email": "julien.bianchi@atoum.org" - }, - { - "name": "Ludovic Fleury", - "email": "ludovic.fleury@atoum.org" - } - ], - "description": "Stubs for atoum, the simple modern and intuitive unit testing framework for PHP 5.3+", - "homepage": "http://www.atoum.org", - "keywords": [ - "TDD", - "atoum", - "test", - "unit testing" - ], - "support": { - "issues": "https://github.com/atoum/stubs/issues", - "source": "https://github.com/atoum/stubs/tree/master" - }, - "time": "2018-01-29T22:41:37+00:00" - }, { "name": "clue/ndjson-react", "version": "v1.3.0", @@ -1056,16 +859,16 @@ }, { "name": "felixfbecker/language-server-protocol", - "version": "v1.5.2", + "version": "v1.5.3", "source": { "type": "git", "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" + "reference": "a9e113dbc7d849e35b8776da39edaf4313b7b6c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/a9e113dbc7d849e35b8776da39edaf4313b7b6c9", + "reference": "a9e113dbc7d849e35b8776da39edaf4313b7b6c9", "shasum": "" }, "require": { @@ -1106,9 +909,9 @@ ], "support": { "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.3" }, - "time": "2022-03-02T22:36:06+00:00" + "time": "2024-04-30T00:40:11+00:00" }, { "name": "fidry/cpu-core-counter", @@ -2074,16 +1877,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.31.0", + "version": "1.32.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "249f15fb843bf240cf058372dad29e100cee6c17" + "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/249f15fb843bf240cf058372dad29e100cee6c17", - "reference": "249f15fb843bf240cf058372dad29e100cee6c17", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6ca22b154efdd9e3c68c56f5d94670920a1c19a4", + "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4", "shasum": "" }, "require": { @@ -2115,22 +1918,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.31.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.32.0" }, - "time": "2024-09-22T11:32:18+00:00" + "time": "2024-09-26T07:23:32+00:00" }, { "name": "phpstan/phpstan", - "version": "1.12.4", + "version": "1.12.5", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd" + "reference": "7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ffa517cb918591b93acc9b95c0bebdcd0e4538bd", - "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17", + "reference": "7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17", "shasum": "" }, "require": { @@ -2175,7 +1978,7 @@ "type": "github" } ], - "time": "2024-09-19T07:58:01+00:00" + "time": "2024-09-26T12:45:22+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5647,6 +5450,86 @@ ], "time": "2024-09-09T11:45:10+00:00" }, + { + "name": "symfony/polyfill-php80", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, { "name": "symfony/polyfill-php81", "version": "v1.31.0", @@ -6286,9 +6169,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "ducks-project/polyfill-enum": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": {