In PHP 8.1, some methods called with null will trigger deprecation notices.
Current behavior
Deprecation Notice: is_dir(): Passing null to parameter #1 ($filename) of type string is deprecated in /github/workspace/vendor/laminas/laminas-component-installer/src/ConfigDiscovery/AbstractDiscovery.php:41
Bug Report
Summary
In PHP 8.1, some methods called with
null
will trigger deprecation notices.Current behavior
How to reproduce
/
Expected behavior
is_dir
is not called withnull
.