Project: aptanastudio
Issue APSTUD-4354: PHP Namespaces - Allow non-local functions to be called statically
I've noticed that many of the newer PHP 5.3 based frameworks contain an autoloader of some sort that allows for developers to use classes in files that have no reference to said class. When trying to call a class where there is no namespace though, I am told there is no proposal. It would greatly help me as a developer to have the functions of a class proposed for me when I don't have a namespace defined. I've attached a couple of images to help explain what I'm asking for. In the first image, where there are no proposals, because of how the way the framework is written, it would be great if the function list was there even though a namespace wasn't called. Here are just two frameworks that allow for this: https://github.com/laravel/laravel/blob/master/application/controllers/home.php https://github.com/fuel/fuel/blob/1.1/master/fuel/app/classes/controller/welcome.php
Story points: 13