new Dsn('scaleway+api', 'default', self::USER, self::PASSWORD, null,
['region' => 'fr-par'
]),
new ScalewayApiTransport(self::USER, self::PASSWORD, 'fr-par',
new MockHttpClient(), null,
$logger),
];
yield [ new Dsn('scaleway', 'default', self::USER, self::PASSWORD
),
new ScalewayApiTransport(self::USER, self::PASSWORD, null,
new MockHttpClient(), null,
$logger),
];
yield [ new Dsn('scaleway+smtp', 'default', self::USER, self::PASSWORD
),
new ScalewaySmtpTransport(self::USER, self::PASSWORD, null,
$logger),
];
yield [ new Dsn('scaleway+smtps', 'default', self::USER, self::PASSWORD
),
new ScalewaySmtpTransport(self::USER, self::PASSWORD, null,
$logger),
];
} public static function unsupportedSchemeProvider(): iterable
{ yield [