Compiler/Locator/FileLocator.php
Showing 1 of 1 total issue
Function locate
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
public function locate($path, array $locations, array $extensions) { // @ catch softly PHP open_basedir restriction if (@is_file($path)) { return is_readable($path) ? realpath($path) : null;
- Read upRead up