Closed arueckauer closed 2 years ago
After some explanation from @boesing I have a better understanding of the issue and close this in favor of #40 .
Summary form another chat:
ComponentInstaller
has a property projectRoot
(link) supposed to be string but is actually null due to a check within __construct
(link)projectRoot
can be null
when its passed to the config discoveryAbstractDiscovery#__construct
which then passes it to is_dir (link)(this was btw detected by psalm already but we’ve passed it to the baseline - no front here!)
Description
This fixes the deprecated call of
is_dir
with a null value by casting input value for strict comparison with empty string.See #36.