From 44ce12ab68a4045646afe079f63e15bcf176cd20 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 01:08:45 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump squizlabs/php_codesniffer from 3.11.1 to 3.11.3 Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.11.1 to 3.11.3. - [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases) - [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.1...3.11.3) --- updated-dependencies: - dependency-name: squizlabs/php_codesniffer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index d7e2b7a..ba05202 100644 --- a/composer.lock +++ b/composer.lock @@ -6570,16 +6570,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.11.1", + "version": "3.11.3", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87" + "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/19473c30efe4f7b3cd42522d0b2e6e7f243c6f87", - "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10", + "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10", "shasum": "" }, "require": { @@ -6644,9 +6644,13 @@ { "url": "https://opencollective.com/php_codesniffer", "type": "open_collective" + }, + { + "url": "https://thanks.dev/phpcsstandards", + "type": "thanks_dev" } ], - "time": "2024-11-16T12:02:36+00:00" + "time": "2025-01-23T17:04:15+00:00" }, { "name": "supportpal/coding-standard", From 197a0d4aea44b5ba08efe3ac6aa13e216f2d2475 Mon Sep 17 00:00:00 2001 From: Jay Shah <602425+jshah4517@users.noreply.github.com> Date: Thu, 10 Apr 2025 17:24:13 +0100 Subject: [PATCH 2/2] fix phpcs --- test/Unit/Config/ApiContextTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Unit/Config/ApiContextTest.php b/test/Unit/Config/ApiContextTest.php index cc303e3..b6289bd 100644 --- a/test/Unit/Config/ApiContextTest.php +++ b/test/Unit/Config/ApiContextTest.php @@ -94,7 +94,7 @@ public function provideGetApiUrlCases(): iterable yield [$apiContext, 'http://localhost:80/test/test/api/']; - $apiContext = (new ApiContext(self::HOST, self::TOKEN)); + $apiContext = new ApiContext(self::HOST, self::TOKEN); yield [$apiContext, 'https://localhost:443/api/']; @@ -120,7 +120,7 @@ public function provideGetApiPathCases(): iterable yield [$apiContext, '/test/test/api/']; - $apiContext = (new ApiContext(self::HOST, self::TOKEN)); + $apiContext = new ApiContext(self::HOST, self::TOKEN); yield [$apiContext, '/api/']; }