Fixed
Details
Priority
MinorAssignee
AlexAlexReporter
AlexAlexDeveloper
AlexAlexReviewer
Erik S.Erik S.Change Log Group
AddedChange Log Message
Added "/tools/class_locator.php" file for static code analysis in 3rd-party libraries.Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Time tracking
1h 2m loggedStory Points
1Fix versions
Details
Details
Priority
Assignee
Alex
AlexReporter
Alex
AlexDeveloper
Alex
AlexReviewer
Erik S.
Erik S.Change Log Group
Added
Change Log Message
Added "/tools/class_locator.php" file for static code analysis in 3rd-party libraries.
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Time tracking
1h 2m logged
Story Points
1
Fix versions
Created July 10, 2016 at 9:03 AM
Updated December 29, 2024 at 8:54 PM
Resolved July 25, 2016 at 8:41 AM
Plan:
create public "kFactory::findClassFile($class)" method, that will return absolute path to file, where given class/interface/trait is located
create public "kApplication::findClassFile($class)" method, that will call above created method on "$this->Factory" object
create "/tools/class_locator.php" file, that would return closure, that:
would accept "$class" argument
return result of "kApplication::findClassFile" method, when not "false"
return result of "Composer\Autoload\ClassLoader::findFile" method otherwise