Skip to content

Commit

Permalink
Fixed default logger initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviapa committed Mar 4, 2024
1 parent d4917f1 commit 1a94d19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM softonic/composer-rector:latest
FROM composer/composer:2.4.0

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/

Expand Down
4 changes: 2 additions & 2 deletions src/ExternalEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

class ExternalEvents
{
public static ?LoggerInterface $logger;
public static ?LoggerInterface $logger = null;

public static ?LogMessageFormatterInterface $formatter;
public static ?LogMessageFormatterInterface $formatter = null;

private const CAMEL_CASE_LETTERS_DETECTION = '#(?!(?<=^)|(?<=\\\))[A-Z]#';

Expand Down

0 comments on commit 1a94d19

Please sign in to comment.