From 13b4060c7eb706f4b1332e3efdfc580ea3b1e372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Thu, 24 Apr 2025 02:39:37 +0200 Subject: [PATCH 1/2] chore: remove comments about phpcs --- .gitattributes | 1 - .php-cs-fixer.php | 2 +- src/Client/Client.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 4a168d9..c882cf8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,5 +6,4 @@ /.gitattributes export-ignore /.gitignore export-ignore /.php-cs-fixer.php export-ignore -/phpcs.xml export-ignore /phpunit.xml export-ignore diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index ccfa59e..04861ce 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -111,7 +111,7 @@ 'no_empty_comment' => true, 'no_trailing_whitespace_in_comment' => true, 'single_line_comment_spacing' => true, - 'single_line_comment_style' => ['comment_types' => ['asterisk', 'hash']] + 'single_line_comment_style' => ['comment_types' => ['hash']] ]; $constantNotationRules = [ diff --git a/src/Client/Client.php b/src/Client/Client.php index bfd39b7..7aa1f89 100644 --- a/src/Client/Client.php +++ b/src/Client/Client.php @@ -174,7 +174,7 @@ protected function setSsl(\CurlHandle $curlHandle, RequestInterface $request): s } if (!$this->hasSSLVerification) { - // @noinspection CurlSslServerSpoofingInspection + /** @noinspection CurlSslServerSpoofingInspection */ \curl_setopt($curlHandle, \CURLOPT_SSL_VERIFYPEER, false); } } From 758d9c7dbec6683ebd4715057c8b4ad1eb3caff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Thu, 24 Apr 2025 02:45:12 +0200 Subject: [PATCH 2/2] f --- src/Client/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/Client.php b/src/Client/Client.php index 7aa1f89..12c111f 100644 --- a/src/Client/Client.php +++ b/src/Client/Client.php @@ -174,7 +174,7 @@ protected function setSsl(\CurlHandle $curlHandle, RequestInterface $request): s } if (!$this->hasSSLVerification) { - /** @noinspection CurlSslServerSpoofingInspection */ + /* @noinspection CurlSslServerSpoofingInspection */ \curl_setopt($curlHandle, \CURLOPT_SSL_VERIFYPEER, false); } }