From b9b822aada40ee9a5622be6dc3cb74706de47d21 Mon Sep 17 00:00:00 2001 From: Camoo Dev Date: Sun, 9 Jul 2023 13:54:58 +0200 Subject: [PATCH] YAML suggestion updated. --- composer.json | 4 +- composer.lock | 91 +++++---------------------------------------- src/Parser/Yaml.php | 2 - 3 files changed, 12 insertions(+), 85 deletions(-) diff --git a/composer.json b/composer.json index 0070c62..732e9b6 100644 --- a/composer.json +++ b/composer.json @@ -26,10 +26,10 @@ }, "require-dev": { "phpunit/phpunit": "^9", - "symfony/yaml": "^5.4" + "symfony/yaml": "^6.3" }, "suggest": { - "symfony/yaml": "^5.4" + "symfony/yaml": "^6.3" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 8517989..fc7976c 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "a4604358e2c78342153faf8b02a21c7f", + "content-hash": "a21969442f9e502554161607697c3c00", "packages": [], "packages-dev": [ { @@ -1688,73 +1688,6 @@ ], "time": "2020-09-28T06:39:44+00:00" }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.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": "2023-05-23T14:45:45+00:00" - }, { "name": "symfony/polyfill-ctype", "version": "v1.27.0", @@ -1839,31 +1772,27 @@ }, { "name": "symfony/yaml", - "version": "v5.4.23", + "version": "v6.3.0", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4cd2e3ea301aadd76a4172756296fe552fb45b0b" + "reference": "a9a8337aa641ef2aa39c3e028f9107ec391e5927" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4cd2e3ea301aadd76a4172756296fe552fb45b0b", - "reference": "4cd2e3ea301aadd76a4172756296fe552fb45b0b", + "url": "https://api.github.com/repos/symfony/yaml/zipball/a9a8337aa641ef2aa39c3e028f9107ec391e5927", + "reference": "a9a8337aa641ef2aa39c3e028f9107ec391e5927", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.1", "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<5.3" + "symfony/console": "<5.4" }, "require-dev": { - "symfony/console": "^5.3|^6.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" + "symfony/console": "^5.4|^6.0" }, "bin": [ "Resources/bin/yaml-lint" @@ -1894,7 +1823,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.23" + "source": "https://github.com/symfony/yaml/tree/v6.3.0" }, "funding": [ { @@ -1910,7 +1839,7 @@ "type": "tidelift" } ], - "time": "2023-04-23T19:33:36+00:00" + "time": "2023-04-28T13:28:14+00:00" }, { "name": "theseer/tokenizer", diff --git a/src/Parser/Yaml.php b/src/Parser/Yaml.php index 2d659ce..55259b6 100644 --- a/src/Parser/Yaml.php +++ b/src/Parser/Yaml.php @@ -74,8 +74,6 @@ public function getSupportedExtensions(): array /** * Completes parsing of YAML/YML data - * - * @param array $data */ protected function parse(?array $data = null): ?array {