Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 4ec3b99ba37eebe3da3c041c375e1c1ffcd3bb54 https://github.com/phpmyadmin/phpmyadmin/commit/4ec3b99ba37eebe3da3c041c375e... Author: Kamil Tekiela tekiela246@gmail.com Date: 2023-05-12 (Fri, 05 May 2023) -03:00
Changed paths: M libraries/classes/Charsets.php M libraries/classes/Charsets/Collation.php M libraries/classes/Config/FormDisplay.php M libraries/classes/Config/Settings.php M libraries/classes/Config/Settings/Server.php M libraries/classes/ConfigStorage/Relation.php M libraries/classes/Controllers/Database/ExportController.php M libraries/classes/Controllers/Database/ImportController.php M libraries/classes/Controllers/Database/Structure/DropFormController.php M libraries/classes/Controllers/Database/Structure/DropTableController.php M libraries/classes/Controllers/Database/Structure/FavoriteTableController.php M libraries/classes/Controllers/ErrorReportController.php M libraries/classes/Controllers/Server/ExportController.php M libraries/classes/Controllers/Server/ImportController.php M libraries/classes/Controllers/Table/ExportController.php M libraries/classes/Controllers/Table/FindReplaceController.php M libraries/classes/Controllers/Table/ImportController.php M libraries/classes/Controllers/Table/OperationsController.php M libraries/classes/Controllers/Table/Structure/MoveColumnsController.php M libraries/classes/Controllers/Table/Structure/ReservedWordCheckController.php M libraries/classes/Controllers/Table/Structure/SaveController.php M libraries/classes/Database/CentralColumns.php M libraries/classes/Database/Qbe.php M libraries/classes/Database/Routines.php M libraries/classes/DatabaseInterface.php M libraries/classes/ErrorReport.php M libraries/classes/Html/Generator.php M libraries/classes/Normalization.php M libraries/classes/Pdf.php M libraries/classes/Plugins/Export/ExportXml.php M libraries/classes/Plugins/Import/ImportCsv.php M libraries/classes/Plugins/Import/ImportMediawiki.php M libraries/classes/Plugins/Import/ImportShp.php M libraries/classes/Plugins/Transformations/Abs/ExternalTransformationsPlugin.php M libraries/classes/RecentFavoriteTable.php M libraries/classes/Replication/ReplicationInfo.php M libraries/classes/Session.php M libraries/classes/Setup/ConfigGenerator.php M libraries/classes/Sql.php M libraries/classes/Table.php M libraries/classes/Table/Search.php M libraries/classes/Util.php M phpstan-baseline.neon M psalm-baseline.xml M test/classes/AbstractNetworkTestCase.php
Log Message: ----------- 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