File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public static function supportedFormats(): array
135
135
*/
136
136
public function getQuality (): int
137
137
{
138
- $ default = 90 ;
138
+ $ default = 85 ;
139
139
$ q = $ this ->getParam ('q ' );
140
140
141
141
if (
Original file line number Diff line number Diff line change @@ -151,11 +151,11 @@ public function testGetQuality(): void
151
151
{
152
152
$ this ->assertSame (100 , $ this ->encoder ->setParams (['q ' => '100 ' ])->getQuality ());
153
153
$ this ->assertSame (100 , $ this ->encoder ->setParams (['q ' => 100 ])->getQuality ());
154
- $ this ->assertSame (90 , $ this ->encoder ->setParams (['q ' => null ])->getQuality ());
155
- $ this ->assertSame (90 , $ this ->encoder ->setParams (['q ' => 'a ' ])->getQuality ());
154
+ $ this ->assertSame (85 , $ this ->encoder ->setParams (['q ' => null ])->getQuality ());
155
+ $ this ->assertSame (85 , $ this ->encoder ->setParams (['q ' => 'a ' ])->getQuality ());
156
156
$ this ->assertSame (50 , $ this ->encoder ->setParams (['q ' => '50.50 ' ])->getQuality ());
157
- $ this ->assertSame (90 , $ this ->encoder ->setParams (['q ' => '-1 ' ])->getQuality ());
158
- $ this ->assertSame (90 , $ this ->encoder ->setParams (['q ' => '101 ' ])->getQuality ());
157
+ $ this ->assertSame (85 , $ this ->encoder ->setParams (['q ' => '-1 ' ])->getQuality ());
158
+ $ this ->assertSame (85 , $ this ->encoder ->setParams (['q ' => '101 ' ])->getQuality ());
159
159
}
160
160
161
161
/**
You can’t perform that action at this time.
0 commit comments