gitonomy/gitlib

[bug][monolog] Typed property Monolog\Handler\NullHandler::$level must not be accessed before initialization

soulcodex opened this issue · 3 comments

Hi guys, the current implementation of monolog in the library broke pipelines for CI/CD phpro/grumphp#1020, when the project implements grumphp for quality code control.

Digging deeper in the library i have been encountered in src/Gitonomy/Git/Repository.php on Repository::run() method in certain point the property $this->logger fails and generate this exception.

The property logger is not typed: https://github.com/gitonomy/gitlib/blob/1.3/src/Gitonomy/Git/Repository.php#L68

So This issue can not come from this repository. Or I miss something.

Thanks for reporting