From 89a6a37074ccba98552e23fe62184567d45cb10a Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 29 Nov 2023 16:21:13 +0100 Subject: [PATCH 1/2] Pint --- src/PHPScraper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. From a3b3afb512aa20b9f44191d96d284cef85f2170d Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 29 Nov 2023 16:29:15 +0100 Subject: [PATCH 2/2] Skip ordered_traits rule --- pint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } }