diff --git a/composer.lock b/composer.lock index d7e2b7aa..ba052020 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", diff --git a/test/Unit/Config/ApiContextTest.php b/test/Unit/Config/ApiContextTest.php index cc303e3a..b6289bd9 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/']; }