File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 31
31
"amphp/phpunit-util" : " ^3" ,
32
32
"phpunit/phpunit" : " ^9" ,
33
33
"amphp/php-cs-fixer-config" : " ^2" ,
34
- "psalm/phar" : " ^5.11 "
34
+ "psalm/phar" : " ^5.18 "
35
35
},
36
36
"minimum-stability" : " beta" ,
37
37
"prefer-stable" : true ,
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ final class PostgresConfig extends SqlConfig
17
17
'verify-full ' ,
18
18
];
19
19
20
- /** @var array<non-empty-string, non-empty-string> Psalm has a bug with the spread operator. */
21
20
public const KEY_MAP = [
22
21
...parent ::KEY_MAP ,
23
22
'ssl_mode ' => 'sslmode ' ,
@@ -29,7 +28,6 @@ final class PostgresConfig extends SqlConfig
29
28
30
29
public static function fromString (string $ connectionString ): self
31
30
{
32
- /** @psalm-suppress InvalidArgument Psalm does not recognize {@see self::KEY_MAP} is in fact a map. */
33
31
$ parts = self ::parseConnectionString ($ connectionString , self ::KEY_MAP );
34
32
35
33
if (!isset ($ parts ["host " ])) {
You can’t perform that action at this time.
0 commit comments