A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.
MIT License
140
stars
12
forks
source link
Uncaught TypeError: YorCreative\Scrubber\Services\ScrubberService::autoSanitize(): Argument #1 ($jsonContent) must be of type string, Monolog\LogRecord given, called in /code/vendor/yorcreative/laravel-scrubber/src/Scrubber.php on line 48 and defined in /code/vendor/yorcreative/laravel-scrubber/src/Services/ScrubberService.php:35 #35
The ScrubberTap class registers the processor for Monolog Handlers.
However, as mentioned here, Monolog no longer passes array/string but instead a new LogRecord class. Hence the Scrubber::processMessage(..) interface no longer works as intended.
The
ScrubberTap
class registers the processor for Monolog Handlers. However, as mentioned here, Monolog no longer passesarray
/string
but instead a newLogRecord
class. Hence theScrubber::processMessage(..)
interface no longer works as intended.