phpmyadmin/libraries/classes
Kamil Tekiela 9469fd9eeb Remove redundant if statement with elseif
The string even when trimmed will never be empty. Checking for "0" string makes no sense in my opinion and null is an impossible value (despite PHPStan not recognizing it).

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-03-17 20:46:27 +00:00
..
Advisory Move advisory_rules files to the Advisory\Rules class 2022-02-24 14:41:41 -03:00
Charsets Fix var annotation for Charset and Collation 2021-12-09 22:25:58 +00:00
Command Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Config Merge branch 'QA_5_2' 2022-03-11 14:26:19 -03:00
ConfigStorage Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Controllers Refactor $sql_data 2022-03-17 20:46:27 +00:00
Crypto Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Database Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Dbal Merge branch 'QA_5_2' 2022-03-11 14:26:19 -03:00
Display Extract results nav buttons into table template 2022-03-13 21:26:15 -03:00
Engines Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Exceptions Fix some coding standard issues 2020-05-25 22:42:37 -03:00
Export Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Gis Merge branch 'QA_5_2' 2022-03-11 14:26:19 -03:00
Html Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Http Add ServerRequest::getParsedBodyParam method 2021-07-06 12:24:02 -03:00
Image Fix some PHP 8.1 issues 2021-08-21 20:16:59 -03:00
Import Fix Table\ImportControllerTest failing test 2022-02-24 11:48:22 -03:00
Navigation Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Partitioning Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Plugins Refactor $sql_data 2022-03-17 20:46:27 +00:00
Properties Remove useless whitespaces 2021-09-15 17:05:40 -03:00
Providers/ServerVariables Use PSR-12 for namespace use statements 2021-03-05 14:18:35 -03:00
Query Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Server Refactor Privileges::getRequireClause method 2022-03-14 15:15:21 -03:00
Setup Merge branch 'QA_5_1-security' into master-security 2022-01-13 17:41:16 -03:00
Table Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Twig Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Utils Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Bookmark.php Change QUERY_STORE to QUERY_BUFFERED 2022-01-01 01:46:01 +00:00
BrowseForeigners.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Cache.php Add bool return type where possible 2021-09-14 20:11:51 -03:00
Charsets.php Implement ResultInterface & MysqliResult 2021-12-31 23:59:24 +00:00
CheckUserPrivileges.php Deimplement fetchRow() helper 2022-01-09 22:44:53 +00:00
Common.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Config.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Console.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Core.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
CreateAddField.php Redesign CreateAddField::setColumnCreationStatementSuffix() 2021-12-08 22:24:49 +00:00
DatabaseInterface.php Merge branch 'QA_5_2' 2022-03-11 14:26:19 -03:00
DbTableExists.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Encoding.php Remove @access annotations 2021-12-22 11:43:45 -03:00
Error.php Improve Error message stacktrace style 2022-01-29 16:55:44 -03:00
ErrorHandler.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
ErrorReport.php Merge branch 'QA_5_1-security' into master-security 2022-01-11 14:31:56 -03:00
Export.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
FieldMetadata.php Remove useless whitespaces 2021-09-15 17:05:40 -03:00
File.php Remove @access annotations 2021-12-22 11:43:45 -03:00
FileListing.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
FlashMessages.php Fix coding standard errors 2021-06-03 16:50:33 -03:00
Font.php Remove @access annotations 2021-12-22 11:43:45 -03:00
Footer.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Git.php Wrap variable variables in curly braces 2021-09-27 19:18:48 -03:00
Header.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Import.php Remove redundant if statement with elseif 2022-03-17 20:46:27 +00:00
Index.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
IndexColumn.php Remove useless whitespaces 2021-09-15 17:05:40 -03:00
InsertEdit.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
InternalRelations.php Fix some coding standard issues 2020-05-25 22:42:37 -03:00
IpAllowDeny.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Language.php Add bool return type where possible 2021-09-14 20:11:51 -03:00
LanguageManager.php Merge branch 'QA_5_1' into QA_5_2 2022-02-21 12:37:29 -03:00
Linter.php Remove unused variables 2021-12-03 15:12:56 +00:00
ListAbstract.php Add bool return type where possible 2021-09-14 20:11:51 -03:00
ListDatabase.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Logging.php Add void return type where possible 2021-09-13 15:29:11 -03:00
Menu.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Message.php Remove @access annotations 2021-12-22 11:43:45 -03:00
Mime.php Use PSR-12 for control structures spacing 2021-03-05 15:27:03 -03:00
Normalization.php Change return type of DatabaseInterface::getError method 2021-12-27 14:43:14 -03:00
OpenDocument.php Merge branch 'QA_5_1' into QA_5_2 2022-03-11 13:02:15 -03:00
Operations.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
OutputBuffering.php Add void return type where possible 2021-09-13 15:29:11 -03:00
ParseAnalyze.php Remove @access annotations 2021-12-22 11:43:45 -03:00
Pdf.php Merge branch 'QA_5_1' 2021-12-29 19:44:12 -03:00
Plugins.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Profiling.php Refactor DatabaseInterface.php (#17209) 2021-11-26 20:17:46 -03:00
RecentFavoriteTable.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Replication.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
ReplicationGui.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
ReplicationInfo.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
ResponseRenderer.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Routing.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Sanitize.php Remove @access annotations 2021-12-22 11:43:45 -03:00
SavedSearches.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Scripts.php Create the validator-messages.js file 2022-02-15 15:13:59 -03:00
Session.php Fix errors reported by Psalm/PHPStan 2022-02-16 14:37:25 -03:00
Sql.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
SqlQueryForm.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
StorageEngine.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
SystemDatabase.php Deimplement fetchAssoc() helper 2022-01-09 22:44:53 +00:00
Table.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Template.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Theme.php Remove @access annotations 2021-12-22 11:43:45 -03:00
ThemeManager.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Tracker.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
Tracking.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Transformations.php Add return type for Transformations getOptions and getMime 2022-03-10 19:58:45 -03:00
TwoFactor.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Types.php Remove useless string concatenations 2021-09-27 21:40:22 -03:00
Url.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
UrlRedirector.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
UserPassword.php Fix possible undefined globals 2022-03-10 18:05:21 -03:00
UserPreferences.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
Util.php Merge branch 'QA_5_2' 2022-03-11 14:26:19 -03:00
Version.php Prepare for version 5.1.4-dev 2022-02-10 23:34:31 -05:00
VersionInformation.php Replace global keyword with $GLOBALS 2022-03-07 17:31:11 -03:00
ZipExtension.php Update Psalm to 4.14 2021-12-05 23:46:58 -03:00