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 3131 "amphp/phpunit-util" : " ^3" ,
3232 "phpunit/phpunit" : " ^9" ,
3333 "amphp/php-cs-fixer-config" : " ^2" ,
34- "psalm/phar" : " ^5.11 "
34+ "psalm/phar" : " ^5.18 "
3535 },
3636 "minimum-stability" : " beta" ,
3737 "prefer-stable" : true ,
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ final class PostgresConfig extends SqlConfig
1717 'verify-full ' ,
1818 ];
1919
20- /** @var array<non-empty-string, non-empty-string> Psalm has a bug with the spread operator. */
2120 public const KEY_MAP = [
2221 ...parent ::KEY_MAP ,
2322 'ssl_mode ' => 'sslmode ' ,
@@ -29,7 +28,6 @@ final class PostgresConfig extends SqlConfig
2928
3029 public static function fromString (string $ connectionString ): self
3130 {
32- /** @psalm-suppress InvalidArgument Psalm does not recognize {@see self::KEY_MAP} is in fact a map. */
3331 $ parts = self ::parseConnectionString ($ connectionString , self ::KEY_MAP );
3432
3533 if (!isset ($ parts ["host " ])) {
You can’t perform that action at this time.
0 commit comments