From 731a17f02a9cba07f31d4a4ba55e1f1928bbaeda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= <5175937+theofidry@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:03:35 +0100 Subject: [PATCH] chore: Update seld/jsonlint (#1318) --- composer.json | 2 +- composer.lock | 14 +++++++------- tests/Console/Command/ValidateTest.php | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 68b587f2b..628fb60bc 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "phpdocumentor/type-resolver": "^1.7", "psr/log": "^3.0", "sebastian/diff": "^5.0", - "seld/jsonlint": "^1.9", + "seld/jsonlint": "^1.10.2", "seld/phar-utils": "^1.2", "symfony/finder": "^6.4.0 || ^7.0.0", "symfony/polyfill-iconv": "^1.28", diff --git a/composer.lock b/composer.lock index 5b1d70d87..12855805a 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": "3efef031fc8615a70bd755caef186dc2", + "content-hash": "9117e2c9c128be5e863fccf684a0a21e", "packages": [ { "name": "amphp/amp", @@ -2483,16 +2483,16 @@ }, { "name": "seld/jsonlint", - "version": "1.10.1", + "version": "1.10.2", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "76d449a358ece77d6f1d6331c68453e657172202" + "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/76d449a358ece77d6f1d6331c68453e657172202", - "reference": "76d449a358ece77d6f1d6331c68453e657172202", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9bb7db07b5d66d90f6ebf542f09fc67d800e5259", + "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259", "shasum": "" }, "require": { @@ -2531,7 +2531,7 @@ ], "support": { "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.10.1" + "source": "https://github.com/Seldaek/jsonlint/tree/1.10.2" }, "funding": [ { @@ -2543,7 +2543,7 @@ "type": "tidelift" } ], - "time": "2023-12-18T13:03:25+00:00" + "time": "2024-02-07T12:57:50+00:00" }, { "name": "seld/phar-utils", diff --git a/tests/Console/Command/ValidateTest.php b/tests/Console/Command/ValidateTest.php index f5298b99e..3f017ace2 100644 --- a/tests/Console/Command/ValidateTest.php +++ b/tests/Console/Command/ValidateTest.php @@ -315,7 +315,7 @@ public function test_an_invalid_json_file_is_invalid(): void // Loading the configuration file "box.json". The configuration file failed validation: Parse error on line 1: - { + ... ^ Expected one of: 'STRING', '}' @@ -346,7 +346,7 @@ public function test_an_invalid_json_file_is_invalid_in_verbose_mode(): void } catch (RuntimeException $exception) { $expected = <<<'OUTPUT' The configuration file failed validation: Parse error on line 1: - { + ... ^ Expected one of: 'STRING', '}' OUTPUT;