Remove the read link 
Remove the read link 

PHP documents 

If filename is a symbolic or hard link then the link will be resolved and checked. 

https://www.php.net/manual/en/function.is-dir.php

I've not seen a case where the or is needed ?
composer/ca-bundle