File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ return [
122122 * If set to `true` all output of the optimizer binaries will be appended to the default log.
123123 * You can also set this on an class that implements `Psr\Log\LoggerInterface`.
124124 */
125- 'logOptimizerActivity ' => false,
125+ 'log_optimizer_activity ' => false,
126126];
127127```
128128
Original file line number Diff line number Diff line change 4646 * If set to `true` all output of the optimizer binaries will be appended to the default log.
4747 * You can also set this on an class that implements `Psr\Log\LoggerInterface`.
4848 */
49- 'logOptimizerActivity ' => false ,
49+ 'log_optimizer_activity ' => false ,
5050];
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public static function create(array $config)
2020
2121 protected static function getLogger ($ config ): LoggerInterface
2222 {
23- $ configuredLogger = $ config ['logOptimizerActivity ' ];
23+ $ configuredLogger = $ config ['log_optimizer_activity ' ];
2424
2525 if ($ configuredLogger === true ) {
2626 return app ('log ' );
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function it_has_a_valid_default_configuration()
1717 /** @test */
1818 public function it_will_throw_an_exception_with_a_malconfigured_logger ()
1919 {
20- config ()->set ('image-optimizer.logOptimizerActivity ' , stdClass::class);
20+ config ()->set ('image-optimizer.log_optimizer_activity ' , stdClass::class);
2121
2222 $ this ->expectException (InvalidConfiguration::class);
2323
@@ -27,7 +27,7 @@ public function it_will_throw_an_exception_with_a_malconfigured_logger()
2727 /** @test */
2828 public function it_can_log_to_the_default_log ()
2929 {
30- config ()->set ('image-optimizer.logOptimizerActivity ' , true );
30+ config ()->set ('image-optimizer.log_optimizer_activity ' , true );
3131
3232 $ logWriter = new ArrayLogger ();
3333
You can’t perform that action at this time.
0 commit comments