also looking at this
meemalabs/laravel-text-to-speech
feat: add 60db text-to-speech driver
#46
5 files
+403
-9
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -61,8 +61,8 @@ return [ | ||
| 61 | 61 | * @see \Cion\TextToSpeech\Contracts\Source |
| 62 | 62 | */ |
| 63 | 63 | 'sources' => [ |
| 64 | 'text' => \Cion\TextToSpeech\Sources\TextSource::class, | |
| 65 | 'path' => \Cion\TextToSpeech\Sources\PathSource::class, | |
| 64 | 'text' => \Cion\TextToSpeech\Sources\TextSource::class, | |
| 65 | 'path' => \Cion\TextToSpeech\Sources\PathSource::class, | |
| 66 | 66 | 'website' => \Cion\TextToSpeech\Sources\WebsiteSource::class, |
| 67 | 67 | ], |
| 68 | 68 | |
| @@ -100,9 +100,9 @@ return [ | ||
| 100 | 100 | * IAM Credentials from AWS. |
| 101 | 101 | */ |
| 102 | 102 | 'credentials' => [ |
| 103 | 'key' => env('AWS_ACCESS_KEY_ID', ''), | |
| 104 | 'secret' => env('AWS_SECRET_ACCESS_KEY', ''), | |
| 105 | 'token' => env('AWS_SESSION_TOKEN', ''), | |
| 103 | 'key' => env('AWS_ACCESS_KEY_ID', ''), | |
| 104 | 'secret' => env('AWS_SECRET_ACCESS_KEY', ''), | |
| 105 | 'token' => env('AWS_SESSION_TOKEN', ''), | |
| 106 | 106 | ], |
| 107 | 107 | |
| 108 | 108 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), |
| @@ -54,8 +54,8 @@ class TextToSpeechManager extends Manager | ||
| 54 | 54 | protected function setPollyClient(array $config, Credentials $credentials) |
| 55 | 55 | { |
| 56 | 56 | return new PollyClient([ |
| 57 | 'version' => $config['version'], | |
| 58 | 'region' => $config['region'], | |
| 57 | 'version' => $config['version'], | |
| 58 | 'region' => $config['region'], | |
| 59 | 59 | 'credentials' => $credentials, |
| 60 | 60 | ]); |
| 61 | 61 | } |
| @@ -140,7 +140,8 @@ class SixtyDBConverterTest extends TestCase | ||
| 140 | 140 | |
| 141 | 141 | public function testStorageFailureDoesNotReturnASuccessPath(): void |
| 142 | 142 | { |
| 143 | $this->container->instance('filesystem', new class { | |
| 143 | $this->container->instance('filesystem', new class | |
| 144 | { | |
| 144 | 145 | public function disk($name) |
| 145 | 146 | { |
| 146 | 147 | return $this; |