-
-
Save lifeisfoo/5507556 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Running hphp... [84 errors in core] | |
-------------------------------- | |
File : applications/vanilla/controllers/class.discussionscontroller.php:479 | |
Reason : UseUndeclaredVariable | |
Snippet : $ID | |
Line : $User = $UserModel->GetID($ID, DATASET_TYPE_ARRAY); | |
-------------------------------- | |
File : applications/vanilla/modules/class.promotedcontentmodule.php:281 | |
Reason : UseUndeclaredVariable | |
Snippet : $Score | |
Line : $SelectorScoreCacheKey = "modules.promotedcontent.score.{$Score}"; | |
-------------------------------- | |
File : library/core/functions.general.php:1310 | |
Reason : UseUndeclaredVariable | |
Snippet : $String | |
Line : return $String .= ';dbname='.$DatabaseName; | |
-------------------------------- | |
File : library/core/functions.general.php:427 | |
Reason : StatementHasNoEffect | |
Snippet : $EnabledItems; | |
Line : $EnabledItems; | |
-------------------------------- | |
File : applications/dashboard/controllers/class.utilitycontroller.php:444 | |
Reason : UseUndeclaredVariable | |
Snippet : $FielupdateChecksds | |
Line : echo ProxyRequest($UpdateCheckUrl.'?'.http_build_query($FielupdateChecksds)); | |
-------------------------------- | |
File : applications/dashboard/models/class.activitymodel.php:900 | |
Reason : UseUndeclaredVariable | |
Snippet : $CommentActivityID | |
Line : Gdn::Controller()->Json('Activity', $CommentActivityID); | |
-------------------------------- | |
File : applications/dashboard/models/class.activitymodel.php:1304 | |
Reason : TooFewArgument | |
Snippet : array_search($NewActivity['RegardingUserID']) | |
Line : if (($i = array_search($NewActivity['RegardingUserID'])) !== FALSE) { | |
-------------------------------- | |
File : applications/dashboard/modules/class.morepagermodule.php:165 | |
Reason : UseUndeclaredVariable | |
Snippet : $Page | |
Line : return self::FormatUrl($Url, $Page, $Limit); | |
-------------------------------- | |
File : applications/dashboard/modules/class.morepagermodule.php:141 | |
Reason : TooManyArgument | |
Snippet : MorePagerModule::FormatUrl(T('%s$1 to %s$2 of %s$3'), $this->Offset + 1, $this->_LastOffset, $this->TotalRecords) | |
Line : $Details = self::FormatUrl(T('%s$1 to %s$2 of %s$3'), $this->Offset + 1, $this->_LastOffset, $this->TotalRecords); | |
-------------------------------- | |
File : library/core/class.cache.php:547 | |
Reason : UseUndeclaredVariable | |
Snippet : $Features | |
Line : if (isset($this->Features[$Features])) | |
-------------------------------- | |
File : library/core/class.session.php:290 | |
Reason : UseUndeclaredVariable | |
Snippet : Gdn_Session::$_Instance | |
Line : if (!isset(self::$_Instance)) { | |
-------------------------------- | |
File : library/core/class.session.php:292 | |
Reason : UseUndeclaredVariable | |
Snippet : Gdn_Session::$_Instance | |
Line : self::$_Instance = new $c(); | |
-------------------------------- | |
File : library/core/class.session.php:294 | |
Reason : UseUndeclaredVariable | |
Snippet : Gdn_Session::$_Instance | |
Line : return self::$_Instance; | |
-------------------------------- | |
File : library/database/class.databasestructure.php:480 | |
Reason : UseUndeclaredVariable | |
Snippet : $Foat | |
Line : case 'numeric': return array_merge($Foat, $Int, $Decimal); | |
-------------------------------- | |
File : library/database/class.databasestructure.php:392 | |
Reason : TooManyArgument | |
Snippet : $this->_Modify($Explicit, $Drop) | |
Line : return $this->_Modify($Explicit, $Drop); | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:437 | |
Reason : UseUndeclaredVariable | |
Snippet : $UserModel | |
Line : $UserModel->SendWelcomeEmail($UserID, '', 'Connect', array('ProviderName' => GetValue('Name', $Provider, C('Garden.Title')))); | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:1696 | |
Reason : UseUndeclaredVariable | |
Snippet : $UserID | |
Line : } elseif (isset($UserID)) { | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:1697 | |
Reason : UseUndeclaredVariable | |
Snippet : $UserID | |
Line : $this->SQL->Where('u.UserID', $UserID); | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:1713 | |
Reason : UseUndeclaredVariable | |
Snippet : $UserID | |
Line : } elseif (isset($UserID)) { | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:1714 | |
Reason : UseUndeclaredVariable | |
Snippet : $UserID | |
Line : $this->SQL->Where('u.UserID', $UserID); | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:2114 | |
Reason : RequiredAfterOptionalParam | |
Snippet : $Email = '' | |
Line : public function ValidateCredentials($Email = '', $ID = 0, $Password) { | |
-------------------------------- | |
File : applications/dashboard/models/class.usermodel.php:2114 | |
Reason : RequiredAfterOptionalParam | |
Snippet : $ID = 0 | |
Line : public function ValidateCredentials($Email = '', $ID = 0, $Password) { | |
-------------------------------- | |
File : applications/vanilla/models/class.discussionmodel.php:156 | |
Reason : UseUndeclaredVariable | |
Snippet : $Tables | |
Line : if(array_key_exists($TableAlias, $Tables)) { | |
-------------------------------- | |
File : applications/vanilla/models/class.discussionmodel.php:936 | |
Reason : UseUndeclaredVariable | |
Snippet : $ForeignUrl | |
Line : $Body = $ForeignUrl; | |
-------------------------------- | |
File : applications/vanilla/models/class.discussionmodel.php:909 | |
Reason : TooManyArgument | |
Snippet : FetchPageInfo($Url, 3, $ThrowError) | |
Line : $PageInfo = FetchPageInfo($Url, 3, $ThrowError); | |
-------------------------------- | |
File : applications/vanilla/models/class.discussionmodel.php:1396 | |
Reason : TooManyArgument | |
Snippet : $this->GetID($DiscussionID, 'array') | |
Line : $Stored = $this->GetID($DiscussionID, DATASET_TYPE_ARRAY); | |
-------------------------------- | |
File : applications/vanilla/models/class.discussionmodel.php:1533 | |
Reason : TooManyArgument | |
Snippet : $this->GetID($DiscussionID, 'array') | |
Line : $Discussion = $this->GetID($DiscussionID, DATASET_TYPE_ARRAY); | |
-------------------------------- | |
File : applications/vanilla/settings/structure.php:247 | |
Reason : UseUndeclaredGlobalVariable | |
Snippet : $Database | |
Line : $PermissionModel->Database = $Database; | |
-------------------------------- | |
File : applications/conversations/settings/structure.php:17 | |
Reason : UseUndeclaredGlobalVariable | |
Snippet : $Database | |
Line : $SQL = $Database->SQL(); | |
-------------------------------- | |
File : library/core/class.condition.php:90 | |
Reason : UseUndeclaredConstant | |
Snippet : PERMISSION | |
Line : case PERMISSION: | |
-------------------------------- | |
File : library/core/class.condition.php:96 | |
Reason : UseUndeclaredConstant | |
Snippet : REQUEST | |
Line : case REQUEST: | |
-------------------------------- | |
File : library/core/class.condition.php:115 | |
Reason : UseUndeclaredConstant | |
Snippet : ROLE | |
Line : case ROLE: | |
-------------------------------- | |
File : library/core/class.condition.php:144 | |
Reason : UnknownFunction | |
Snippet : stelen($Expr) | |
Line : if (stelen($Expr) > 1 && $Expr[0] === '`' && $Expr[strlen($Expr) - 1] == '`') { | |
-------------------------------- | |
File : library/core/class.condition.php:70 | |
Reason : MissingObjectContext | |
Snippet : $this->CompareType | |
Line : if (!$Test && $this->CompareType == self::COMPARE_AND) | |
-------------------------------- | |
File : library/core/class.condition.php:72 | |
Reason : MissingObjectContext | |
Snippet : $this->CompareType | |
Line : if ($Test && $this->CompareType == self::COMPARE_OR) | |
-------------------------------- | |
File : library/core/class.condition.php:75 | |
Reason : MissingObjectContext | |
Snippet : $this->CompareType | |
Line : if ($this->CompareType == self::COMPARE_AND) | |
-------------------------------- | |
File : library/core/class.memcache.php:33 | |
Reason : UseUndeclaredConstant | |
Snippet : MEMCACHE_COMPRESSED | |
Line : $this->RegisterFeature(Gdn_Cache::FEATURE_COMPRESS, MEMCACHE_COMPRESSED); | |
-------------------------------- | |
File : library/core/class.pluginmanager.php:1094 | |
Reason : UseUndeclaredConstant | |
Snippet : Gdn_PluginManager::ACTION_ONLOAD | |
Line : case self::ACTION_ONLOAD: $HookMethod = 'OnLoad'; break; | |
-------------------------------- | |
File : library/database/class.sqldriver.php:691 | |
Reason : UseUndeclaredConstant | |
Snippet : i | |
Line : $Token = $Tokens[i]; | |
-------------------------------- | |
File : library/database/class.sqldriver.php:2052 | |
Reason : UseUndeclaredConstant | |
Snippet : SqlDriver | |
Line : return $this->WhereExists(@SqlDriver, 'not exists'); | |
-------------------------------- | |
File : library/database/class.sqldriver.php:858 | |
Reason : UnknownObjectMethod | |
Snippet : $this->_FilterTableAliases($this->_GroupBys) | |
Line : $Sql .= implode(', ', $this->_FilterTableAliases($this->_GroupBys)); | |
-------------------------------- | |
File : library/database/class.sqldriver.php:1537 | |
Reason : UnknownObjectMethod | |
Snippet : $this->_FieldExpr(substr($Part, 1, strlen($Part) - 2), $Name) | |
Line : $Part = $this->_FieldExpr(substr($Part, 1, strlen($Part) - 2), $Name); | |
-------------------------------- | |
File : library/database/class.sqldriver.php:1127 | |
Reason : RequiredAfterOptionalParam | |
Snippet : $Table = '' | |
Line : public function Replace($Table = '', $Set = NULL, $Where, $CheckExisting = FALSE) { | |
-------------------------------- | |
File : library/database/class.sqldriver.php:1127 | |
Reason : RequiredAfterOptionalParam | |
Snippet : $Set = NULL | |
Line : public function Replace($Table = '', $Set = NULL, $Where, $CheckExisting = FALSE) { | |
-------------------------------- | |
File : library/database/class.sqldriver.php:1216 | |
Reason : TooManyArgument | |
Snippet : $this->EscapeIdentifier($TableName, TRUE) | |
Line : $JoinClause = ltrim($Join . ' join ') . $this->EscapeIdentifier($TableName, TRUE) . ' on ' . $On; | |
-------------------------------- | |
File : library/database/class.sqldriver.php:417 | |
Reason : TooManyArgument | |
Snippet : $this->Delete($t, $Where, $Limit, FALSE) | |
Line : $this->Delete($t, $Where, $Limit, FALSE); | |
-------------------------------- | |
File : library/database/class.sqldriver.php:434 | |
Reason : TooManyArgument | |
Snippet : $this->GetDelete($Table, $this->_Wheres, $this->_Limit) | |
Line : $Sql = $this->GetDelete($Table, $this->_Wheres, $this->_Limit); | |
-------------------------------- | |
File : library/database/class.sqldriver.php:1415 | |
Reason : TooManyArgument | |
Snippet : $this->EscapeIdentifier($Fields, TRUE) | |
Line : $this->_OrderBys[] = $this->EscapeIdentifier($Fields, TRUE).' '.$Direction; | |
-------------------------------- | |
File : library/database/class.sqldriver.php:1614 | |
Reason : TooManyArgument | |
Snippet : $this->GetUpdate($this->_Froms, $this->_Sets, $this->_Wheres, $this->_OrderBys, $this->_Limit) | |
Line : $Sql = $this->GetUpdate($this->_Froms, $this->_Sets, $this->_Wheres, $this->_OrderBys, $this->_Limit); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.activitycontroller.php:193 | |
Reason : UnknownFunction | |
Snippet : Gdn_UserException('Invalid activity ID') | |
Line : throw Gdn_UserException('Invalid activity ID'); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.profilecontroller.php:286 | |
Reason : UnknownFunction | |
Snippet : ConnectButton($Connection) | |
Line : ConnectButton($Connection), | |
-------------------------------- | |
File : applications/dashboard/controllers/class.profilecontroller.php:257 | |
Reason : RequiredAfterOptionalParam | |
Snippet : $UserReference = '' | |
Line : public function Disconnect($UserReference = '', $Username = '', $Provider) { | |
-------------------------------- | |
File : applications/dashboard/controllers/class.profilecontroller.php:257 | |
Reason : RequiredAfterOptionalParam | |
Snippet : $Username = '' | |
Line : public function Disconnect($UserReference = '', $Username = '', $Provider) { | |
-------------------------------- | |
File : applications/dashboard/controllers/class.profilecontroller.php:272 | |
Reason : TooManyArgument | |
Snippet : Redirect(UserUrl($this->User), '', 'connections') | |
Line : Redirect(UserUrl($this->User), '', 'connections'); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.profilecontroller.php:946 | |
Reason : TooManyArgument | |
Snippet : $InvitationModel->Send($InvitationID, $Email) | |
Line : $InvitationModel->Send($InvitationID, $Email); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.socialcontroller.php:85 | |
Reason : UnknownFunction | |
Snippet : WriteConnection($Connection) | |
Line : WriteConnection($Connection); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.socialcontroller.php:110 | |
Reason : UnknownFunction | |
Snippet : WriteConnection($Connection) | |
Line : WriteConnection($Connection); | |
-------------------------------- | |
File : applications/vanilla/controllers/class.discussioncontroller.php:392 | |
Reason : UnknownFunction | |
Snippet : BookmarkButton($Discussion) | |
Line : $Html = BookmarkButton($Discussion); | |
-------------------------------- | |
File : applications/vanilla/controllers/class.discussioncontroller.php:476 | |
Reason : UnknownFunction | |
Snippet : WriteDiscussionOptions($Discussion) | |
Line : WriteDiscussionOptions($Discussion); | |
-------------------------------- | |
File : applications/vanilla/controllers/class.discussioncontroller.php:564 | |
Reason : UnknownFunction | |
Snippet : Tag($Discussion, 'Closed', 'Closed') | |
Line : $this->JsonTarget(".Section-DiscussionList #Discussion_$DiscussionID .Meta-Discussion", Tag($Discussion, 'Closed', 'Closed'), 'Prepend'); | |
-------------------------------- | |
File : applications/vanilla/controllers/class.discussioncontroller.php:399 | |
Reason : TooManyArgument | |
Snippet : new BookmarkedModule($this) | |
Line : $Bookmarks = new BookmarkedModule($this); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.usercontroller.php:730 | |
Reason : UnknownFunction | |
Snippet : UserVerified($User) | |
Line : $this->JsonTarget('.User-Verified', UserVerified($User), 'ReplaceWith'); | |
-------------------------------- | |
File : applications/dashboard/controllers/class.usercontroller.php:351 | |
Reason : UseVoidReturn | |
Snippet : $this->HandleApplicant('Decline', $UserID) | |
Line : if ($this->HandleApplicant('Decline', $UserID)) | |
-------------------------------- | |
File : applications/dashboard/controllers/class.usercontroller.php:240 | |
Reason : UseVoidReturn | |
Snippet : $this->HandleApplicant('Approve', $UserID) | |
Line : $Approved = $this->HandleApplicant('Approve', $UserID); | |
-------------------------------- | |
File : library/core/class.factory.php:164 | |
Reason : UnknownFunction | |
Snippet : Exception() | |
Line : throw Exception(); | |
-------------------------------- | |
File : library/database/class.dataset.php:323 | |
Reason : UnknownFunction | |
Snippet : Exception('Gdn_DataSet::Join(): Missing '."'".'parent'."'".' argument'."'".'.') | |
Line : throw Exception("Gdn_DataSet::Join(): Missing 'parent' argument'."); | |
-------------------------------- | |
File : library/database/class.dataset.php:333 | |
Reason : UnknownFunction | |
Snippet : Exception('Gdn_DataSet::Join(): Missing '."'".'child'."'".' argument'."'".'.') | |
Line : throw Exception("Gdn_DataSet::Join(): Missing 'child' argument'."); | |
-------------------------------- | |
File : applications/dashboard/models/class.permissionmodel.php:533 | |
Reason : TooFewArgument | |
Snippet : strpos($PermissionName) | |
Line : if($Index = strpos($PermissionName)) | |
-------------------------------- | |
File : library/core/class.gdn.php:243 | |
Reason : TooManyArgument | |
Snippet : Gdn::FactoryInstallDependency($Alias, $PropertyName, $SourceAlias, $Override) | |
Line : self::FactoryInstallDependency($Alias, $PropertyName, $SourceAlias, $Override); | |
-------------------------------- | |
File : library/core/class.gdn.php:272 | |
Reason : TooManyArgument | |
Snippet : Gdn::FactoryInstall($Alias, $Config['ClassName'], $Config['Path'], $FactoryType, $Data, $Override) | |
Line : self::FactoryInstall($Alias, $Config['ClassName'], $Config['Path'], $FactoryType, $Data, $Override); | |
-------------------------------- | |
File : applications/conversations/modules/class.inboxmodule.php:16 | |
Reason : TooManyArgument | |
Snippet : $Model->Get($this->UserID, 0, $this->Limit, array()) | |
Line : $Result = $Model->Get( | |
-------------------------------- | |
File : plugins/Twitter/class.twitter.plugin.php:522 | |
Reason : TooManyArgument | |
Snippet : $this->GetProfile($AccessToken) | |
Line : $Profile = $this->GetProfile($AccessToken); | |
-------------------------------- | |
File : library/core/class.regardingentity.php:327 | |
Reason : TooManyArgument | |
Snippet : T('The userlist provided for collaboration on '."'".'%s:%s'."'".' is invalid.', $this->Type, $this->ForeignType) | |
Line : throw new Exception(sprintf(T("The userlist provided for collaboration on '%s:%s' is invalid.", $this->Type, $this->ForeignType))); | |
-------------------------------- | |
File : library/core/class.smarty.php:59 | |
Reason : TooManyArgument | |
Snippet : UserPhotoDefaultUrl($Session->User, 'ProfilePhoto') | |
Line : $Photo = UserPhotoDefaultUrl($Session->User, 'ProfilePhoto'); | |
-------------------------------- | |
File : library/core/functions.render.php:662 | |
Reason : TooManyArgument | |
Snippet : UserPhotoDefaultUrl($User, $ImgClass) | |
Line : $Photo = UserPhotoDefaultUrl($User, $ImgClass); | |
-------------------------------- | |
File : library/core/functions.render.php:665 | |
Reason : TooManyArgument | |
Snippet : isUrl($Photo, '//') | |
Line : if (!isUrl($Photo, '//')) { | |
-------------------------------- | |
File : plugins/Tagging/class.tagging.plugin.php:128 | |
Reason : TooManyArgument | |
Snippet : new BookmarkedModule($Sender) | |
Line : $BookmarkedModule = new BookmarkedModule($Sender); | |
-------------------------------- | |
File : library/core/class.memcached.php:241 | |
Reason : TooManyArgument | |
Snippet : $this->Memcache->increment($RealKey, $Amount, $Initial, $Expiry) | |
Line : $Incremented = $this->Memcache->increment($RealKey, $Amount, $Initial, $Expiry); | |
-------------------------------- | |
File : library/core/class.memcached.php:263 | |
Reason : TooManyArgument | |
Snippet : $this->Memcache->decrement($RealKey, $Amount, $Initial, $Expiry) | |
Line : $Decremented = $this->Memcache->decrement($RealKey, $Amount, $Initial, $Expiry); | |
-------------------------------- | |
File : library/core/class.form.php:597 | |
Reason : StatementHasNoEffect | |
Snippet : $Result . '</tr></thead>'; | |
Line : $Result . '</tr></thead>'; | |
-------------------------------- | |
File : applications/conversations/models/class.conversationmodel.php:550 | |
Reason : StatementHasNoEffect | |
Snippet : $Bookmark == '1' ? TRUE : FALSE; | |
Line : $Bookmark == '1' ? TRUE : FALSE; | |
-------------------------------- | |
File : library/core/class.auth.php:48 | |
Reason : UseVoidReturn | |
Snippet : $this->RegisterAuthenticator($AuthenticationSchemeAlias) | |
Line : $Registered = $this->RegisterAuthenticator($AuthenticationSchemeAlias); | |
-------------------------------- | |
File : library/core/class.configuration.php:665 | |
Reason : UseVoidReturn | |
Snippet : $this->Set($k, $v, TRUE, $Save) | |
Line : $Result = $Result & $this->Set($k, $v, TRUE, $Save); | |
-------------------------------- | |
File : library/core/class.configurationmodel.php:148 | |
Reason : UseVoidReturn | |
Snippet : SaveToConfig($Settings) | |
Line : $SaveResults = SaveToConfig($Settings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment