From c3ba1c7dbb447e8dc03671580dd5c1fa437e9583 Mon Sep 17 00:00:00 2001 From: Peter Thaleikis Date: Wed, 29 Nov 2023 16:36:43 +0100 Subject: [PATCH] Pint (#201) * Pint * Skip ordered_traits rule --- pint.json | 3 ++- src/PHPScraper.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pint.json b/pint.json index 510a4a7..cf99828 100644 --- a/pint.json +++ b/pint.json @@ -7,6 +7,7 @@ "anonymous_class": false, "named_class": false }, - "concat_space": false + "concat_space": false, + "ordered_traits": false } } diff --git a/src/PHPScraper.php b/src/PHPScraper.php index f8cdffe..e1885db 100644 --- a/src/PHPScraper.php +++ b/src/PHPScraper.php @@ -96,8 +96,8 @@ public function setConfig(array $config = []): self $httpClient = SymfonyHttpClient::create([ 'proxy' => $this->config['proxy'], 'timeout' => $this->config['timeout'], - 'verify_host' => !$this->config['disable_ssl'], - 'verify_peer' => !$this->config['disable_ssl'], + 'verify_host' => ! $this->config['disable_ssl'], + 'verify_peer' => ! $this->config['disable_ssl'], ]); // BrowserKit Client and set some config needed for it.