phpmyadmin/libraries/classes
Kamil Tekiela 4ec3b99ba3
Improve boolean conditions with arrays (#18417)
* Remove empty() on array

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Remove boolean count()

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

---------

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-05-12 15:16:26 -03:00
..
Advisory Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Charsets Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Command Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Config Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
ConfigStorage Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Controllers Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Crypto Use union with null instead of short nullable type 2023-02-20 21:48:19 -03:00
Database Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Dbal Add Server class as a param for DatabaseInterface::postConnect() 2023-05-07 02:26:34 -03:00
Display Use empty string as sentinel instead of false 2023-05-12 12:36:55 +01:00
Engines Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Exceptions Replace exit with exception in Session class 2022-11-17 22:06:51 -03:00
Export Use single-line arrays when possible 2023-03-27 17:39:17 -03:00
Gis Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Html Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Http Fix implicit nulls 2023-03-17 12:45:18 +00:00
Image Fix coding standard spacing issues 2023-02-24 21:06:17 -03:00
Import Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Navigation Merge pull request #18412 from kamil-tekiela/ShortenElseIfRector 2023-05-12 11:16:00 -03:00
Partitioning Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Plugins Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Properties Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Providers/ServerVariables Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Query Short boolean conditions (#18413) 2023-05-12 11:09:21 -03:00
Replication Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Server Shorten else/if to elseif 2023-05-12 00:12:58 +01:00
Setup Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Table Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Theme Fix property initializations 2023-05-11 23:25:01 +01:00
Tracking Short boolean conditions (#18413) 2023-05-12 11:09:21 -03:00
Twig Use single-line arrays when possible 2023-03-27 17:39:17 -03:00
Utils Add missing traversable type hints 2023-04-02 01:32:12 -03:00
WebAuthn Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Bookmark.php Add configuration option to allow shared bookmarks 2023-04-14 12:09:01 +03:00
BrowseForeigners.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Cache.php Add native param types 2023-03-17 12:45:18 +00:00
Charsets.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
CheckUserPrivileges.php Create value object ShowGrants 2023-04-16 00:43:13 +01:00
Common.php Remove ThemeManager::getInstance() method 2023-05-09 21:29:49 -03:00
Config.php Shorten else/if to elseif 2023-05-12 00:12:58 +01:00
Console.php Rename variables to use camel case format 2023-03-26 21:47:50 -03:00
Core.php Merge branch 'QA_5_2' 2023-05-06 11:25:42 +02:00
CreateAddField.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
DatabaseInterface.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
DbTableExists.php Add trailing comma for multi-line functions 2023-02-24 20:48:46 -03:00
EditField.php Add native property types (#18143) 2023-02-26 23:30:41 -03:00
Encoding.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Error.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
ErrorHandler.php Shorten else/if to elseif 2023-05-12 00:12:58 +01:00
ErrorReport.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Export.php Remove unused param (#18398) 2023-05-12 13:49:28 -03:00
FieldMetadata.php phpstan supports object shape since 1.10.12 2023-04-29 22:43:55 +02:00
File.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
FileListing.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
FlashMessages.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Font.php Simplify Font::getCharLists() 2023-05-11 23:03:50 +01:00
Footer.php Fix property initializations 2023-05-11 23:25:01 +01:00
Git.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Header.php Fix property initializations 2023-05-11 23:25:01 +01:00
Import.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Index.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
IndexColumn.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
InsertEdit.php Use empty string as sentinel instead of false 2023-05-12 12:36:55 +01:00
InternalRelations.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
IpAllowDeny.php Shorten else/if to elseif 2023-05-12 00:12:58 +01:00
Language.php Split long lines 2023-03-17 12:48:12 +00:00
LanguageManager.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Linter.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
ListAbstract.php Refactor ListAbstract (#18216) 2023-03-05 13:17:52 -03:00
ListDatabase.php Shorten else/if to elseif 2023-05-12 00:12:58 +01:00
Logging.php Remove config global var from Logging class 2023-04-27 14:38:18 -03:00
Menu.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Message.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Mime.php Add native return type hints (#18126) 2023-02-23 15:43:36 -03:00
Normalization.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
OpenDocument.php Use single-line arrays when possible 2023-03-27 17:39:17 -03:00
Operations.php Shorten else/if to elseif 2023-05-12 00:12:58 +01:00
OutputBuffering.php Check whether ob_gzhandler is already in use 2023-03-13 14:38:55 +00:00
ParseAnalyze.php Replace $analyzedSqlResults array with StatementInfo object 2022-05-24 21:35:30 -03:00
Pdf.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Plugins.php Rename variables to use camel case format 2023-03-26 21:47:50 -03:00
Profiling.php Use union with null instead of short nullable type 2023-02-20 21:48:19 -03:00
RecentFavoriteTable.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
ResponseRenderer.php Merge pull request #18409 from kamil-tekiela/Property-initialization 2023-05-12 12:15:54 -03:00
Routing.php Rename variables to use camel case format 2023-03-26 21:47:50 -03:00
Sanitize.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
SavedSearches.php Short boolean conditions (#18413) 2023-05-12 11:09:21 -03:00
Scripts.php Use single-line arrays when possible 2023-03-27 17:39:17 -03:00
Session.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
ShowGrants.php Create value object ShowGrants 2023-04-16 00:43:13 +01:00
Sql.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
SqlQueryForm.php Add configuration option to allow shared bookmarks 2023-04-14 12:09:01 +03:00
StatementInfo.php Add native param types 2023-03-17 12:45:18 +00:00
StorageEngine.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
SystemColumn.php Add trailing comma for multi-line functions 2023-02-24 20:48:46 -03:00
SystemDatabase.php Add native param types 2023-03-17 12:45:18 +00:00
Table.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Template.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Transformations.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
TwoFactor.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Types.php Use single-line arrays when possible 2023-03-27 17:39:17 -03:00
Url.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
UrlRedirector.php Add never type 2023-05-11 23:32:35 +01:00
UserPassword.php Use quoteString intead of escapeString 2023-05-04 22:40:03 +02:00
UserPreferences.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
Util.php Improve boolean conditions with arrays (#18417) 2023-05-12 15:16:26 -03:00
Version.php Prepare for version 6.0.0-dev 2023-02-10 19:20:51 -03:00
VersionInformation.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00
ZipExtension.php Add missing traversable type hints 2023-04-02 01:32:12 -03:00