ReviewOS

also looking at this

meemalabs/laravel-text-to-speech

feat: add 60db text-to-speech driver

#46
Open uditgoenka wants to merge feat/60db-tts into main
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.

config/config.phpmodifiedformatting only+5-5
Changes to config/config.php
@@ -61,8 +61,8 @@ return [
6161 * @see \Cion\TextToSpeech\Contracts\Source
6262 */
6363 '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,
6666 'website' => \Cion\TextToSpeech\Sources\WebsiteSource::class,
6767 ],
6868
@@ -100,9 +100,9 @@ return [
100100 * IAM Credentials from AWS.
101101 */
102102 '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', ''),
106106 ],
107107
108108 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
src/TextToSpeechManager.phpmodifiedformatting only+2-2
Changes to src/TextToSpeechManager.php
@@ -54,8 +54,8 @@ class TextToSpeechManager extends Manager
5454 protected function setPollyClient(array $config, Credentials $credentials)
5555 {
5656 return new PollyClient([
57 'version' => $config['version'],
58 'region' => $config['region'],
57 'version' => $config['version'],
58 'region' => $config['region'],
5959 'credentials' => $credentials,
6060 ]);
6161 }
tests/SixtyDBConverterTest.phpmodified+2-1
Changes to tests/SixtyDBConverterTest.php
@@ -140,7 +140,8 @@ class SixtyDBConverterTest extends TestCase
140140
141141 public function testStorageFailureDoesNotReturnASuccessPath(): void
142142 {
143 $this->container->instance('filesystem', new class {
143 $this->container->instance('filesystem', new class
144 {
144145 public function disk($name)
145146 {
146147 return $this;