-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHAN refactoring improvements #4537
Commits on Sep 27, 2023
-
Remove return type from docblock.
Fixes: - base/CComponent.php:148 PhanTypeMagicVoidWithReturn Found a return statement with a value in the implementation of the magic method \CComponent::__set, expected void return type - base/CComponent.php:215 PhanTypeMagicVoidWithReturn Found a return statement with a value in the implementation of the magic method \CComponent::__unset, expected void return type
Configuration menu - View commit details
-
Copy full SHA for 3c5da1f - Browse repository at this point
Copy the full SHA 3c5da1fView commit details -
Remove return type from docblock.
Fixes: - base/CSecurityManager.php:528 PhanTypeMissingReturn Method \CSecurityManager::validateEncryptionKey is declared to return bool in phpdoc but has no return value
Configuration menu - View commit details
-
Copy full SHA for b2cd43b - Browse repository at this point
Copy the full SHA b2cd43bView commit details -
Remove return type from docblock.
Fixes: - caching/CCache.php:376 PhanTypeMissingReturn Method \CCache::offsetUnset is declared to return bool in phpdoc but has no return value - caching/CDummyCache.php:164 PhanTypeMissingReturn Method \CDummyCache::offsetUnset is declared to return bool in phpdoc but has no return value
Configuration menu - View commit details
-
Copy full SHA for 0259dd5 - Browse repository at this point
Copy the full SHA 0259dd5View commit details -
Remove return type from docblock.
Fixes: - cli/commands/shell/ModelCommand.php:127 PhanTypeMissingReturn Method \ModelCommand::generateRelations is declared to return array in phpdoc but has no return value
Configuration menu - View commit details
-
Copy full SHA for bd71ed3 - Browse repository at this point
Copy the full SHA bd71ed3View commit details -
Set argument name in docblock.
Fixes: - db/schema/mssql/CMssqlPdoAdapter.php:23 PhanUnextractableAnnotationElementName Saw possibly unextractable annotation for a fragment of comment '* @param string|null sequence name. Defaults to null': after string|null, did not see an element name (will guess based on comment order)
Configuration menu - View commit details
-
Copy full SHA for a163dad - Browse repository at this point
Copy the full SHA a163dadView commit details -
Add missing argument names to docblocks.
Fixes: - gii/generators/model/ModelCode.php:365 PhanUnextractableAnnotationElementName Saw possibly unextractable annotation for a fragment of comment '* @param CDbTableSchema table to inspect': after CDbTableSchema, did not see an element name (will guess based on comment order) - gii/generators/model/ModelCode.php:397 PhanUnextractableAnnotationElementName Saw possibly unextractable annotation for a fragment of comment '* @param string the name of the table to hold the relation': after string, did not see an element name (will guess based on comment order) - gii/generators/model/ModelCode.php:398 PhanUnextractableAnnotationElementName Saw possibly unextractable annotation for a fragment of comment '* @param string the foreign key name': after string, did not see an element name (will guess based on comment order) - gii/generators/model/ModelCode.php:399 PhanUnextractableAnnotationElementName Saw possibly unextractable annotation for a fragment of comment '* @param boolean whether the relation would contain multiple objects': after boolean, did not see an element name (will guess based on comment order)
Configuration menu - View commit details
-
Copy full SHA for 9a4506c - Browse repository at this point
Copy the full SHA 9a4506cView commit details -
Remove return type from docblock.
Fixes: - gii/generators/model/ModelGenerator.php:12 PhanTypeMissingReturn Method \ModelGenerator::actionGetTableNames is declared to return string in phpdoc but has no return value
Configuration menu - View commit details
-
Copy full SHA for f6ec8de - Browse repository at this point
Copy the full SHA f6ec8deView commit details -
Remove ignored overwritten array key
Fixes: - messages/ca/yii.php:88 PhanPluginDuplicateArrayKey Duplicate/Equivalent array key value('Alias "{alias}" is invalid. Make sure it points to an existing directory or file.') detected in array - the earlier entry 'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' at line 87 will be ignored.
Configuration menu - View commit details
-
Copy full SHA for 7784c94 - Browse repository at this point
Copy the full SHA 7784c94View commit details -
Fixes: - web/CHttpSessionIterator.php:33 PhanUnextractableAnnotationElementName Saw possibly unextractable annotation for a fragment of comment '* @param array the data to be iterated through': after array, did not see an element name (will guess based on comment order)
Configuration menu - View commit details
-
Copy full SHA for 679f11b - Browse repository at this point
Copy the full SHA 679f11bView commit details -
Remove return type from docblock.
Fixes: - web/actions/CViewAction.php:98 PhanTypeMissingReturn Method \CViewAction::resolveView is declared to return string in phpdoc but has no return value
Configuration menu - View commit details
-
Copy full SHA for 3ca2acc - Browse repository at this point
Copy the full SHA 3ca2accView commit details -
Remove return type from docblock.
Fixes: - web/widgets/COutputCache.php:162 PhanTypeMissingReturn Method \COutputCache::filter is declared to return bool in phpdoc but has no return value
Configuration menu - View commit details
-
Copy full SHA for 71be1d2 - Browse repository at this point
Copy the full SHA 71be1d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd77c67 - Browse repository at this point
Copy the full SHA dd77c67View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7b70f - Browse repository at this point
Copy the full SHA ab7b70fView commit details