Skip to content

Commit

Permalink
Pint (#201)
Browse files Browse the repository at this point in the history
* Pint

* Skip ordered_traits rule
  • Loading branch information
spekulatius authored Nov 29, 2023
1 parent bd843e4 commit c3ba1c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"anonymous_class": false,
"named_class": false
},
"concat_space": false
"concat_space": false,
"ordered_traits": false
}
}
4 changes: 2 additions & 2 deletions src/PHPScraper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c3ba1c7

Please sign in to comment.