From 71e6a5b8d948becd3cd780fd20102a2d548e1cae Mon Sep 17 00:00:00 2001 From: Jefersson Nathan Date: Thu, 20 Jan 2022 17:49:19 +0100 Subject: [PATCH] Update cs configuration to ignore type hintings Signed-off-by: Jefersson Nathan --- phpcs.xml.dist | 7 ++++++- src/Soql/Payload.php | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 567294b..6c06b00 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -10,5 +10,10 @@ src - + + + + + + diff --git a/src/Soql/Payload.php b/src/Soql/Payload.php index 2a1a538..a30e120 100644 --- a/src/Soql/Payload.php +++ b/src/Soql/Payload.php @@ -7,6 +7,7 @@ use GuzzleHttp\Exception\ClientException; use function array_map as map; +use function is_array; use function json_decode; use const JSON_THROW_ON_ERROR;