Details
Details
Priority
Assignee
Reporter
Developer
Reviewer
Change Log Group
Change Log Message
Time tracking
BC Break Details
Renamed pseudos:
"ModulesHelper" into "kModulesHelper"
"HTTPQuery" into "kHTTPQuery"
"EventManager" into "kEventManager"
"Socket" into "kSocket"
Renamed classes:
"PhrasesCache" into "kPhraseCache"
"Session" into "BaseSession"
"SessionStorage" into "BaseSessionStorage"
"InpSession" into "Session"
"InpSessionStorage" into "SessionStorage"
Solution
rename classes:
"Session" into "InpSession"
"SessionStorage" into "InpSessionStorage"
"BaseSession" into "Session"
"BaseSessionStorage" into "SessionStorage"
add protected "kFactory::deprecatedPseudos" array-type property, holding mapping between deprecated and new pseudos:
"ModulesHelper" to "kModulesHelper"
"HTTPQuery" to "kHTTPQuery"
"EventManager" to "kEventManager"
"Socket" to "kSocket"
in the "kFactory::registerClass" method when used pseudo is from above added mapping trigger a deprecation notice
Story Points
Fix versions
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.
For each module:
create "/install/cache" folder in which add "file_hashes.php" file "svn:ignore" SVN property
use "php tools/build_class_map.php" script to generate "class_map.php" in that folder
when module information is loaded (during unit config cache build/load) immediately load contents of these "class_map.php" file into autoloader classmap array