Created
January 14, 2012 01:16
-
-
Save topdown/1609722 to your computer and use it in GitHub Desktop.
Fix code completion for phpBB3 in phpStorm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Open phpBB3 root/common.php | |
// Add doc blocks above | |
$cache = new cache(); | |
$db = new $sql_db(); | |
// So they look like this | |
/** @var $cache acm */ | |
$cache = new cache(); | |
/** @var $db dbal_mysql */ | |
$db = new $sql_db(); | |
// This should provide code completion for most if not all query functions in phpBB3 and also cache functions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment