Skip to content

Commit bd4f129

Browse files
committed
Fixes after merging
1 parent 3ea04d3 commit bd4f129

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

composer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
"pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 7 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose"
6060
},
6161
"config": {
62-
"optimize-autoloader": true
62+
"optimize-autoloader": true,
63+
"allow-plugins": {
64+
"composer/package-versions-deprecated": true
65+
}
6366
}
6467
}

phpstan.neon

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
parameters:
2-
checkGenericClassInNonGenericObjectType: false
3-
checkMissingIterableValueType: false
4-
ignoreErrors:
5-
-
6-
message: '#with type mixed is not subtype of native type object#'
7-
path: %currentWorkingDirectory%/src
2+
checkMissingIterableValueType: false
3+
checkGenericClassInNonGenericObjectType: false
4+
ignoreErrors:
5+
- '#with type mixed is not subtype of native type object#'

src/Interaction/InteractionsProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function () use ($method, $credentials): \Generator
134134
);
135135
}
136136

137-
if ($response->getStatausCode() === 400)
137+
if ($response->getStatusCode() === 400)
138138
{
139139
throw new \RuntimeException(jsonDecode((string) $response->getBody())['description']
140140
?? \sprintf('Method %s has invalid parameters', $method->methodName()));

0 commit comments

Comments
 (0)