Skip to content

Commit 2263fa4

Browse files
authored
Upgrade psalm (async-aws#1552)
1 parent 5c47535 commit 2263fa4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"nette/utils": "^3.0",
2828
"nyholm/symfony-bundle-test": "^2.0",
2929
"phpstan/phpstan": "1.10.21",
30-
"psalm/phar": "5.11.0",
30+
"psalm/phar": "5.14.1",
3131
"psr/cache": "^1.0 || ^2.0 || ^3.0",
3232
"swaggest/json-diff": "^3.7",
3333
"symfony/cache": "^4.4 || ^5.0 || ^6.0 || ^7.0",

src/Core/src/Stream/ResourceStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function create($content, int $chunkSize = 64 * 1024): ResourceStr
4242
}
4343
if (\is_resource($content)) {
4444
if (!stream_get_meta_data($content)['seekable']) {
45-
throw new InvalidArgument(sprintf('The give body is not seekable.'));
45+
throw new InvalidArgument('The given body is not seekable.');
4646
}
4747

4848
return new self($content, $chunkSize);

src/Integration/Symfony/Bundle/src/DependencyInjection/AsyncAwsExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ private function registerEnvLoader(ContainerBuilder $container, array $config):
261261

262262
if ($config['secrets']['cache']['enabled']) {
263263
if (!interface_exists(CacheInterface::class)) {
264-
throw new InvalidConfigurationException(sprintf('You have enabled "async_aws.secrets.cache" but the "symfony/cache" package is not installed. Try running "composer require symfony/cache"'));
264+
throw new InvalidConfigurationException('You have enabled "async_aws.secrets.cache" but the "symfony/cache" package is not installed. Try running "composer require symfony/cache"');
265265
}
266266

267267
$container->register(CachedEnvVarLoader::class)

0 commit comments

Comments
 (0)