From ba72f543fddafee469f7e4bf39d2bc1cb51c7bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Fri, 12 Jan 2024 14:03:46 -0300 Subject: [PATCH] Call PHPUnit static methods using static calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces $this->method() with self::method(). Signed-off-by: Maurício Meneghini Fauth --- phpstan-baseline.neon | 244 ++++----- phpstan.neon.dist | 9 - tests/classes/Advisory/AdvisorTest.php | 6 +- tests/classes/Advisory/RulesTest.php | 18 +- tests/classes/ApplicationTest.php | 8 +- tests/classes/BookmarkTest.php | 8 +- tests/classes/BrowseForeignersTest.php | 54 +- tests/classes/CacheTest.php | 42 +- tests/classes/Charsets/CharsetTest.php | 10 +- tests/classes/Charsets/CollationTest.php | 20 +- tests/classes/CharsetsTest.php | 44 +- tests/classes/CheckUserPrivilegesTest.php | 32 +- .../classes/Command/SetVersionCommandTest.php | 6 +- tests/classes/Command/TwigLintCommandTest.php | 20 +- .../Command/WriteGitRevisionCommandTest.php | 6 +- tests/classes/Config/ConfigFileTest.php | 98 ++-- tests/classes/Config/DescriptionTest.php | 16 +- .../Config/FormDisplayTemplateTest.php | 60 +-- tests/classes/Config/FormDisplayTest.php | 74 +-- tests/classes/Config/FormTest.php | 46 +- tests/classes/Config/Forms/FormListTest.php | 18 +- tests/classes/Config/PageSettingsTest.php | 12 +- .../classes/Config/ServerConfigChecksTest.php | 46 +- tests/classes/Config/Settings/ConsoleTest.php | 40 +- tests/classes/Config/Settings/DebugTest.php | 16 +- tests/classes/Config/Settings/ExportTest.php | 436 +++++++-------- tests/classes/Config/Settings/ImportTest.php | 108 ++-- tests/classes/Config/Settings/SchemaTest.php | 6 +- tests/classes/Config/Settings/ServerTest.php | 292 +++++----- .../Config/Settings/SqlQueryBoxTest.php | 16 +- .../Config/Settings/TransformationsTest.php | 36 +- tests/classes/Config/SettingsTest.php | 140 ++--- .../ConfigStorage/RelationCleanupTest.php | 56 +- .../ConfigStorage/RelationParametersTest.php | 119 ++--- tests/classes/ConfigStorage/RelationTest.php | 136 ++--- .../classes/ConfigStorage/UserGroupsTest.php | 66 +-- tests/classes/ConfigTest.php | 154 +++--- tests/classes/ConsoleTest.php | 8 +- .../Controllers/AbstractControllerTest.php | 26 +- .../BrowseForeignersControllerTest.php | 4 +- .../CheckRelationsControllerTest.php | 8 +- .../CollationConnectionControllerTest.php | 10 +- .../Console/Bookmark/AddControllerTest.php | 12 +- .../Bookmark/RefreshControllerTest.php | 4 +- .../Database/EventsControllerTest.php | 4 +- .../MultiTableQuery/TablesControllerTest.php | 4 +- .../Database/PrivilegesControllerTest.php | 28 +- .../Database/RoutinesControllerTest.php | 4 +- .../Structure/RealRowCountControllerTest.php | 4 +- .../Database/StructureControllerTest.php | 92 ++-- .../Export/ExportControllerTest.php | 6 +- .../Export/Template/CreateControllerTest.php | 6 +- .../Export/Template/DeleteControllerTest.php | 4 +- .../Export/Template/LoadControllerTest.php | 6 +- .../Export/Template/UpdateControllerTest.php | 4 +- .../GisDataEditorControllerTest.php | 2 +- .../Controllers/HomeControllerTest.php | 36 +- .../Import/ImportControllerTest.php | 6 +- .../JavaScriptMessagesControllerTest.php | 12 +- .../Controllers/LintControllerTest.php | 20 +- .../Controllers/LogoutControllerTest.php | 8 +- .../Controllers/NavigationControllerTest.php | 16 +- .../AddNewPrimaryControllerTest.php | 4 +- .../CreateNewColumnControllerTest.php | 4 +- .../FirstStepControllerTest.php | 12 +- .../FourthStepControllerTest.php | 4 +- .../SecondStepControllerTest.php | 4 +- .../ThirdStepControllerTest.php | 4 +- .../GetColumnsControllerTest.php | 4 +- .../Normalization/MainControllerTest.php | 20 +- .../Normalization/MoveRepeatingGroupTest.php | 4 +- .../PartialDependenciesControllerTest.php | 4 +- .../CreateNewTablesControllerTest.php | 4 +- .../FirstStepControllerTest.php | 4 +- .../NewTablesControllerTest.php | 4 +- .../CreateNewTablesControllerTest.php | 4 +- .../FirstStepControllerTest.php | 4 +- .../NewTablesControllerTest.php | 4 +- .../Operations/TableControllerTest.php | 2 +- .../SchemaExportControllerTest.php | 12 +- .../Server/BinlogControllerTest.php | 40 +- .../Server/CollationsControllerTest.php | 24 +- .../Server/Databases/CreateControllerTest.php | 14 +- .../Databases/DestroyControllerTest.php | 8 +- .../Server/DatabasesControllerTest.php | 56 +- .../Server/EnginesControllerTest.php | 18 +- .../Server/PluginsControllerTest.php | 28 +- .../Privileges/AccountLockControllerTest.php | 24 +- .../AccountUnlockControllerTest.php | 24 +- .../Server/PrivilegesControllerTest.php | 12 +- .../Server/ShowEngineControllerTest.php | 14 +- .../Server/Status/AdvisorControllerTest.php | 10 +- .../Monitor/GeneralLogControllerTest.php | 8 +- .../Status/Monitor/LogVarsControllerTest.php | 4 +- .../Monitor/QueryAnalyzerControllerTest.php | 8 +- .../Status/Monitor/SlowLogControllerTest.php | 8 +- .../Server/Status/MonitorControllerTest.php | 36 +- .../Processes/RefreshControllerTest.php | 24 +- .../Server/Status/ProcessesControllerTest.php | 40 +- .../Server/Status/QueriesControllerTest.php | 32 +- .../Server/Status/StatusControllerTest.php | 32 +- .../Server/Status/VariablesControllerTest.php | 44 +- .../Server/VariablesControllerTest.php | 54 +- .../Sql/EnumValuesControllerTest.php | 12 +- .../Sql/SetValuesControllerTest.php | 12 +- .../Table/AddFieldControllerTest.php | 2 +- .../Table/ChangeRowsControllerTest.php | 22 +- .../Controllers/Table/ChartControllerTest.php | 2 +- .../Table/CreateControllerTest.php | 2 +- .../Table/DeleteConfirmControllerTest.php | 2 +- .../Table/DeleteRowsControllerTest.php | 12 +- .../DropColumnConfirmationControllerTest.php | 30 +- .../Table/DropColumnControllerTest.php | 8 +- .../Table/ExportControllerTest.php | 4 +- .../Table/ExportRowsControllerTest.php | 28 +- .../Table/FindReplaceControllerTest.php | 10 +- .../Table/GetFieldControllerTest.php | 2 +- .../Table/GisVisualizationControllerTest.php | 2 +- .../Table/ImportControllerTest.php | 2 +- .../Table/IndexRenameControllerTest.php | 2 +- .../Table/IndexesControllerTest.php | 22 +- .../Maintenance/AnalyzeControllerTest.php | 8 +- .../Table/Maintenance/CheckControllerTest.php | 8 +- .../Maintenance/ChecksumControllerTest.php | 8 +- .../Maintenance/OptimizeControllerTest.php | 8 +- .../Maintenance/RepairControllerTest.php | 8 +- .../Table/Partition/AnalyzeControllerTest.php | 4 +- .../Table/Partition/CheckControllerTest.php | 4 +- .../Table/Partition/DropControllerTest.php | 4 +- .../Partition/OptimizeControllerTest.php | 4 +- .../Table/Partition/RebuildControllerTest.php | 4 +- .../Table/Partition/RepairControllerTest.php | 4 +- .../Partition/TruncateControllerTest.php | 4 +- .../Table/PrivilegesControllerTest.php | 38 +- .../Table/RelationControllerTest.php | 28 +- .../Table/ReplaceControllerTest.php | 16 +- .../Table/SearchControllerTest.php | 10 +- .../Controllers/Table/SqlControllerTest.php | 2 +- .../Table/Structure/ChangeControllerTest.php | 4 +- .../Table/Structure/SaveControllerTest.php | 12 +- .../Table/Structure/SpatialControllerTest.php | 44 +- .../Table/Structure/UniqueControllerTest.php | 44 +- .../Table/StructureControllerTest.php | 2 +- .../Table/TrackingControllerTest.php | 4 +- .../Table/ZoomSearchControllerTest.php | 4 +- .../Controllers/ThemeSetControllerTest.php | 30 +- .../Transformation/OverviewControllerTest.php | 18 +- .../Triggers/IndexControllerTest.php | 10 +- .../VersionCheckControllerTest.php | 34 +- tests/classes/CoreTest.php | 160 +++--- tests/classes/CreateAddFieldTest.php | 6 +- tests/classes/Crypto/CryptoTest.php | 26 +- tests/classes/Database/CentralColumnsTest.php | 68 +-- .../classes/Database/Designer/CommonTest.php | 42 +- tests/classes/Database/DesignerTest.php | 58 +- tests/classes/Database/EventsTest.php | 6 +- tests/classes/Database/RoutinesTest.php | 16 +- tests/classes/Database/SearchTest.php | 26 +- tests/classes/DatabaseInterfaceTest.php | 72 +-- tests/classes/DbTableExistsTest.php | 18 +- tests/classes/Dbal/DbiDummyTest.php | 14 +- tests/classes/Dbal/DbiMysqliTest.php | 50 +- tests/classes/Dbal/MysqliResultTest.php | 24 +- tests/classes/Dbal/MysqliStatementTest.php | 6 +- tests/classes/Dbal/WarningTest.php | 8 +- tests/classes/Display/DisplayPartsTest.php | 56 +- tests/classes/Display/ResultsTest.php | 72 +-- tests/classes/EncodingTest.php | 42 +- tests/classes/Engines/BdbTest.php | 6 +- tests/classes/Engines/BinlogTest.php | 2 +- tests/classes/Engines/InnodbTest.php | 24 +- tests/classes/Engines/MemoryTest.php | 2 +- tests/classes/Engines/MrgMyisamTest.php | 2 +- tests/classes/Engines/MyisamTest.php | 2 +- tests/classes/Engines/NdbclusterTest.php | 6 +- tests/classes/Engines/PbxtTest.php | 10 +- .../classes/Engines/PerformanceSchemaTest.php | 2 +- tests/classes/EnvironmentTest.php | 2 +- tests/classes/Error/ErrorHandlerTest.php | 92 ++-- tests/classes/Error/ErrorReportTest.php | 20 +- tests/classes/Error/ErrorTest.php | 24 +- tests/classes/Export/ExportTest.php | 36 +- tests/classes/Export/OptionsTest.php | 6 +- tests/classes/FieldMetadataTest.php | 112 ++-- tests/classes/FileListingTest.php | 18 +- tests/classes/FileTest.php | 6 +- tests/classes/FlashMessagesTest.php | 20 +- tests/classes/FontTest.php | 64 +-- tests/classes/FooterTest.php | 20 +- tests/classes/Gis/Ds/PolygonTest.php | 10 +- tests/classes/Gis/GisFactoryTest.php | 8 +- .../classes/Gis/GisGeometryCollectionTest.php | 22 +- tests/classes/Gis/GisGeometryTest.php | 6 +- tests/classes/Gis/GisLineStringTest.php | 22 +- tests/classes/Gis/GisMultiLineStringTest.php | 24 +- tests/classes/Gis/GisMultiPointTest.php | 24 +- tests/classes/Gis/GisMultiPolygonTest.php | 24 +- tests/classes/Gis/GisPointTest.php | 24 +- tests/classes/Gis/GisPolygonTest.php | 22 +- tests/classes/Gis/GisVisualizationTest.php | 22 +- tests/classes/GitTest.php | 122 ++--- tests/classes/HeaderTest.php | 32 +- tests/classes/Html/GeneratorTest.php | 50 +- tests/classes/Html/MySQLDocumentationTest.php | 2 +- tests/classes/Html/SecurityTest.php | 6 +- .../Http/Factory/ResponseFactoryTest.php | 10 +- .../Http/Factory/ServerRequestFactoryTest.php | 58 +- tests/classes/Http/Factory/UriFactoryTest.php | 12 +- .../Http/Handler/ApplicationHandlerTest.php | 42 +- .../Http/Handler/QueueRequestHandlerTest.php | 4 +- .../TokenRequestParamCheckingTest.php | 24 +- tests/classes/Http/ResponseTest.php | 38 +- tests/classes/Http/ServerRequestTest.php | 52 +- .../classes/Identifiers/DatabaseNameTest.php | 12 +- tests/classes/Identifiers/TableNameTest.php | 12 +- tests/classes/Identifiers/TriggerNameTest.php | 12 +- tests/classes/Import/AjaxTest.php | 2 +- tests/classes/Import/ImportTest.php | 56 +- tests/classes/Import/SimulateDmlTest.php | 2 +- tests/classes/IndexColumnTest.php | 32 +- tests/classes/IndexTest.php | 38 +- tests/classes/InsertEditTest.php | 408 +++++++------- tests/classes/IpAllowDenyTest.php | 40 +- tests/classes/LanguageTest.php | 48 +- tests/classes/LinterTest.php | 16 +- tests/classes/ListDatabaseTest.php | 8 +- tests/classes/LoggingTest.php | 4 +- tests/classes/MenuTest.php | 8 +- tests/classes/MessageTest.php | 94 ++-- tests/classes/MimeTest.php | 2 +- tests/classes/Navigation/NavigationTest.php | 12 +- .../classes/Navigation/NavigationTreeTest.php | 18 +- .../Nodes/NodeColumnContainerTest.php | 28 +- .../Navigation/Nodes/NodeColumnTest.php | 26 +- .../Nodes/NodeDatabaseChildTest.php | 8 +- .../Navigation/Nodes/NodeDatabaseTest.php | 34 +- .../Nodes/NodeEventContainerTest.php | 4 +- .../Navigation/Nodes/NodeEventTest.php | 2 +- .../Nodes/NodeFunctionContainerTest.php | 4 +- .../Navigation/Nodes/NodeFunctionTest.php | 2 +- .../Nodes/NodeIndexContainerTest.php | 4 +- .../Navigation/Nodes/NodeIndexTest.php | 2 +- .../Nodes/NodeProcedureContainerTest.php | 4 +- .../Navigation/Nodes/NodeProcedureTest.php | 2 +- .../Nodes/NodeTableContainerTest.php | 6 +- .../Navigation/Nodes/NodeTableTest.php | 8 +- tests/classes/Navigation/Nodes/NodeTest.php | 236 ++++---- .../Nodes/NodeTriggerContainerTest.php | 4 +- .../Navigation/Nodes/NodeTriggerTest.php | 2 +- .../Nodes/NodeViewContainerTest.php | 6 +- .../classes/Navigation/Nodes/NodeViewTest.php | 8 +- tests/classes/NormalizationTest.php | 166 +++--- tests/classes/OpenDocumentTest.php | 16 +- tests/classes/OperationsTest.php | 2 +- tests/classes/ParseAnalyzeTest.php | 40 +- tests/classes/Partitioning/PartitionTest.php | 8 +- .../classes/Partitioning/SubPartitionTest.php | 16 +- .../TablePartitionDefinitionTest.php | 14 +- tests/classes/PdfTest.php | 6 +- .../Plugins/Auth/AuthenticationConfigTest.php | 16 +- .../Plugins/Auth/AuthenticationCookieTest.php | 234 ++++---- .../Plugins/Auth/AuthenticationHttpTest.php | 60 +-- .../Plugins/Auth/AuthenticationSignonTest.php | 74 +-- .../AuthenticationPluginFactoryTest.php | 8 +- .../Plugins/Export/ExportCodegenTest.php | 52 +- .../classes/Plugins/Export/ExportCsvTest.php | 150 +++--- .../Plugins/Export/ExportExcelTest.php | 48 +- .../Plugins/Export/ExportHtmlwordTest.php | 142 ++--- .../classes/Plugins/Export/ExportJsonTest.php | 38 +- .../Plugins/Export/ExportLatexTest.php | 212 ++++---- .../Plugins/Export/ExportMediawikiTest.php | 64 +-- .../classes/Plugins/Export/ExportOdsTest.php | 100 ++-- .../classes/Plugins/Export/ExportOdtTest.php | 218 ++++---- .../classes/Plugins/Export/ExportPdfTest.php | 58 +- .../Plugins/Export/ExportPhparrayTest.php | 48 +- .../classes/Plugins/Export/ExportSqlTest.php | 396 +++++++------- .../Plugins/Export/ExportTexytextTest.php | 88 +-- .../classes/Plugins/Export/ExportXmlTest.php | 90 ++-- .../classes/Plugins/Export/ExportYamlTest.php | 36 +- .../Export/Helpers/TablePropertyTest.php | 38 +- .../classes/Plugins/Import/ImportCsvTest.php | 34 +- .../classes/Plugins/Import/ImportLdiTest.php | 46 +- .../Plugins/Import/ImportMediawikiTest.php | 22 +- .../classes/Plugins/Import/ImportOdsTest.php | 38 +- .../classes/Plugins/Import/ImportShpTest.php | 38 +- .../classes/Plugins/Import/ImportSqlTest.php | 8 +- .../classes/Plugins/Import/ImportXmlTest.php | 22 +- .../Plugins/Schema/DiaRelationSchemaTest.php | 10 +- .../Plugins/Schema/EpsRelationSchemaTest.php | 14 +- .../Schema/ExportRelationSchemaTest.php | 26 +- .../Plugins/Schema/PdfRelationSchemaTest.php | 16 +- .../Plugins/Schema/SvgRelationSchemaTest.php | 10 +- .../TransformationPluginsTest.php | 8 +- tests/classes/Plugins/TwoFactor/KeyTest.php | 4 +- .../Plugins/TwoFactor/WebAuthnTest.php | 168 +++--- tests/classes/PluginsTest.php | 26 +- tests/classes/ProfilingTest.php | 4 +- .../Groups/OptionsPropertyMainGroupTest.php | 2 +- .../Groups/OptionsPropertyRootGroupTest.php | 4 +- .../Groups/OptionsPropertySubgroupTest.php | 4 +- .../Options/Items/PropertyItemsTest.php | 22 +- .../Options/OptionsPropertyGroupTest.php | 14 +- .../Options/OptionsPropertyItemTest.php | 8 +- .../Options/OptionsPropertyOneItemTest.php | 10 +- .../Plugins/ExportPluginPropertiesTest.php | 4 +- .../Plugins/ImportPluginPropertiesTest.php | 6 +- .../Plugins/PluginPropertyItemTest.php | 2 +- tests/classes/Properties/PropertyItemTest.php | 2 +- tests/classes/Query/CompatibilityTest.php | 6 +- tests/classes/Query/GeneratorTest.php | 36 +- .../Replication/ReplicationGuiTest.php | 58 +- tests/classes/ResponseRendererTest.php | 20 +- tests/classes/Routing/RoutesTest.php | 2 +- tests/classes/Routing/RoutingTest.php | 26 +- tests/classes/SanitizeTest.php | 28 +- tests/classes/ScriptsTest.php | 20 +- tests/classes/Server/PluginTest.php | 30 +- tests/classes/Server/PluginsTest.php | 22 +- .../Server/Privileges/AccountLockingTest.php | 84 +-- tests/classes/Server/PrivilegesTest.php | 504 +++++++++--------- tests/classes/Server/SelectTest.php | 14 +- tests/classes/Server/SysInfo/SysInfoTest.php | 6 +- tests/classes/Setup/ConfigGeneratorTest.php | 36 +- tests/classes/Setup/FormProcessingTest.php | 28 +- tests/classes/Setup/IndexTest.php | 10 +- tests/classes/ShowGrantsTest.php | 22 +- tests/classes/SqlQueryFormTest.php | 32 +- tests/classes/SqlTest.php | 74 +-- tests/classes/StatementInfoTest.php | 132 ++--- tests/classes/StorageEngineTest.php | 46 +- tests/classes/SystemDatabaseTest.php | 18 +- tests/classes/Table/ColumnsDefinitionTest.php | 4 +- tests/classes/Table/IndexesTest.php | 14 +- .../classes/Table/Maintenance/MessageTest.php | 8 +- tests/classes/Table/SearchTest.php | 32 +- tests/classes/Table/TableTest.php | 210 ++++---- tests/classes/TemplateTest.php | 38 +- tests/classes/Theme/ThemeManagerTest.php | 20 +- tests/classes/Theme/ThemeTest.php | 54 +- tests/classes/Tracking/TrackerTest.php | 62 +-- .../classes/Tracking/TrackingCheckerTest.php | 12 +- tests/classes/Tracking/TrackingTest.php | 200 +++---- tests/classes/TransformationsTest.php | 24 +- tests/classes/Triggers/TriggerTest.php | 26 +- tests/classes/Triggers/TriggersTest.php | 12 +- tests/classes/TwoFactorTest.php | 118 ++-- tests/classes/TypesByDatabaseVersionTest.php | 16 +- tests/classes/TypesTest.php | 36 +- tests/classes/UniqueConditionTest.php | 14 +- tests/classes/UrlTest.php | 48 +- tests/classes/UserPasswordTest.php | 4 +- tests/classes/UserPreferencesTest.php | 76 +-- tests/classes/UtilTest.php | 152 +++--- tests/classes/Utils/ForeignKeyTest.php | 22 +- tests/classes/Utils/FormatConverterTest.php | 8 +- tests/classes/Utils/GisTest.php | 26 +- tests/classes/Utils/HttpRequestTest.php | 16 +- tests/classes/Utils/SessionCacheTest.php | 48 +- tests/classes/VersionInformationTest.php | 58 +- tests/classes/VersionTest.php | 28 +- tests/classes/WebAuthn/CBORDecoderTest.php | 10 +- .../WebAuthn/WebauthnLibServerTest.php | 32 +- tests/classes/ZipExtensionTest.php | 38 +- tests/selenium/ChangePasswordTest.php | 14 +- tests/selenium/CreateDropDatabaseTest.php | 8 +- tests/selenium/CreateRemoveUserTest.php | 10 +- tests/selenium/Database/EventsTest.php | 26 +- tests/selenium/Database/OperationsTest.php | 16 +- tests/selenium/Database/ProceduresTest.php | 20 +- tests/selenium/Database/StructureTest.php | 10 +- tests/selenium/ExportTest.php | 6 +- tests/selenium/ImportTest.php | 16 +- tests/selenium/LoginTest.php | 4 +- tests/selenium/NormalizationTest.php | 26 +- tests/selenium/ServerSettingsTest.php | 18 +- tests/selenium/SqlQueryTest.php | 26 +- tests/selenium/Table/BrowseTest.php | 64 +-- tests/selenium/Table/CreateTest.php | 28 +- tests/selenium/Table/InsertTest.php | 24 +- tests/selenium/Table/OperationsTest.php | 34 +- tests/selenium/Table/StructureTest.php | 12 +- tests/selenium/TestBase.php | 22 +- tests/selenium/TrackingTest.php | 36 +- tests/selenium/TriggersTest.php | 26 +- tests/selenium/XssTest.php | 4 +- 385 files changed, 6674 insertions(+), 6686 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ee8813feed..f5e9b316f5 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -15846,52 +15846,52 @@ parameters: path: src/ZipExtension.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'formula' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'formula' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'id' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'id' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'issue' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'issue' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'justification' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'justification' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'name' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'name' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'recommendation' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'recommendation' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'test' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'test' and array\\{id\\: non\\-empty\\-string, name\\: string, precondition\\?\\: non\\-empty\\-string, formula\\: non\\-empty\\-string, test\\: non\\-empty\\-string, issue\\: string, recommendation\\: string, justification\\: string, \\.\\.\\.\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/Advisory/RulesTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 path: tests/classes/BrowseForeignersTest.php - - message: "#^Parameter \\#2 \\$string of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringEndsWith\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$string of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringEndsWith\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/BrowseForeignersTest.php - - message: "#^Parameter \\#2 \\$string of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringStartsWith\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$string of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringStartsWith\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/BrowseForeignersTest.php @@ -15901,12 +15901,12 @@ parameters: path: tests/classes/CacheTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Charsets\\\\\\\\Charset' and PhpMyAdmin\\\\Charsets\\\\Charset will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Charsets\\\\\\\\Charset' and PhpMyAdmin\\\\Charsets\\\\Charset will always evaluate to true\\.$#" count: 1 path: tests/classes/Charsets/CharsetTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Charsets\\\\\\\\Collation' and PhpMyAdmin\\\\Charsets\\\\Collation will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Charsets\\\\\\\\Collation' and PhpMyAdmin\\\\Charsets\\\\Collation will always evaluate to true\\.$#" count: 1 path: tests/classes/Charsets/CollationTest.php @@ -15946,27 +15946,27 @@ parameters: path: tests/classes/Config/DescriptionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\, non\\-empty\\-array\\<'AllowDeny'\\|'AllowNoPassword'\\|'AllowRoot'\\|'auth_http_realm'\\|'auth_type'\\|'bookmarktable'\\|'central_columns'\\|'column_info'\\|'compress'\\|'control_compress'\\|'control_hide…'\\|'control_socket'\\|'control_ssl'\\|'control_ssl_ca'\\|'control_ssl_ca_path'\\|'control_ssl_cert'\\|'control_ssl_ciphers'\\|'control_ssl_key'\\|'control_ssl_verify'\\|'controlhost'\\|'controlpass'\\|'controlport'\\|'controluser'\\|'designer_settings'\\|'DisableIS'\\|'export_templates'\\|'favorite'\\|'hide_db'\\|'history'\\|'host'\\|'LogoutURL'\\|'MaxTableUiprefs'\\|'navigationhiding'\\|'only_db'\\|'password'\\|'pdf_pages'\\|'pmadb'\\|'port'\\|'recent'\\|'relation'\\|'savedsearches'\\|'SessionTimeZone'\\|'SignonCookieParams'\\|'SignonScript'\\|'SignonSession'\\|'SignonURL'\\|'socket'\\|'ssl'\\|'ssl_ca'\\|'ssl_ca_path'\\|'ssl_cert'\\|'ssl_ciphers'\\|'ssl_key'\\|'ssl_verify'\\|'table_coords'\\|'table_info'\\|'table_uiprefs'\\|'tracking'\\|'user'\\|'userconfig'\\|'usergroups'\\|'users'\\|'verbose', array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null\\>\\> will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\, non\\-empty\\-array\\<'AllowDeny'\\|'AllowNoPassword'\\|'AllowRoot'\\|'auth_http_realm'\\|'auth_type'\\|'bookmarktable'\\|'central_columns'\\|'column_info'\\|'compress'\\|'control_compress'\\|'control_hide…'\\|'control_socket'\\|'control_ssl'\\|'control_ssl_ca'\\|'control_ssl_ca_path'\\|'control_ssl_cert'\\|'control_ssl_ciphers'\\|'control_ssl_key'\\|'control_ssl_verify'\\|'controlhost'\\|'controlpass'\\|'controlport'\\|'controluser'\\|'designer_settings'\\|'DisableIS'\\|'export_templates'\\|'favorite'\\|'hide_db'\\|'history'\\|'host'\\|'LogoutURL'\\|'MaxTableUiprefs'\\|'navigationhiding'\\|'only_db'\\|'password'\\|'pdf_pages'\\|'pmadb'\\|'port'\\|'recent'\\|'relation'\\|'savedsearches'\\|'SessionTimeZone'\\|'SignonCookieParams'\\|'SignonScript'\\|'SignonSession'\\|'SignonURL'\\|'socket'\\|'ssl'\\|'ssl_ca'\\|'ssl_ca_path'\\|'ssl_cert'\\|'ssl_ciphers'\\|'ssl_key'\\|'ssl_verify'\\|'table_coords'\\|'table_info'\\|'table_uiprefs'\\|'tracking'\\|'user'\\|'userconfig'\\|'usergroups'\\|'users'\\|'verbose', array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null\\>\\> will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/DescriptionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with non\\-empty\\-array\\<'AllowDeny'\\|'AllowNoPassword'\\|'AllowRoot'\\|'auth_http_realm'\\|'auth_type'\\|'bookmarktable'\\|'central_columns'\\|'column_info'\\|'compress'\\|'control_compress'\\|'control_hide…'\\|'control_socket'\\|'control_ssl'\\|'control_ssl_ca'\\|'control_ssl_ca_path'\\|'control_ssl_cert'\\|'control_ssl_ciphers'\\|'control_ssl_key'\\|'control_ssl_verify'\\|'controlhost'\\|'controlpass'\\|'controlport'\\|'controluser'\\|'designer_settings'\\|'DisableIS'\\|'export_templates'\\|'favorite'\\|'hide_db'\\|'history'\\|'host'\\|'LogoutURL'\\|'MaxTableUiprefs'\\|'navigationhiding'\\|'only_db'\\|'password'\\|'pdf_pages'\\|'pmadb'\\|'port'\\|'recent'\\|'relation'\\|'savedsearches'\\|'SessionTimeZone'\\|'SignonCookieParams'\\|'SignonScript'\\|'SignonSession'\\|'SignonURL'\\|'socket'\\|'ssl'\\|'ssl_ca'\\|'ssl_ca_path'\\|'ssl_cert'\\|'ssl_ciphers'\\|'ssl_key'\\|'ssl_verify'\\|'table_coords'\\|'table_info'\\|'table_uiprefs'\\|'tracking'\\|'user'\\|'userconfig'\\|'usergroups'\\|'users'\\|'verbose', array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null\\> will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with non\\-empty\\-array\\<'AllowDeny'\\|'AllowNoPassword'\\|'AllowRoot'\\|'auth_http_realm'\\|'auth_type'\\|'bookmarktable'\\|'central_columns'\\|'column_info'\\|'compress'\\|'control_compress'\\|'control_hide…'\\|'control_socket'\\|'control_ssl'\\|'control_ssl_ca'\\|'control_ssl_ca_path'\\|'control_ssl_cert'\\|'control_ssl_ciphers'\\|'control_ssl_key'\\|'control_ssl_verify'\\|'controlhost'\\|'controlpass'\\|'controlport'\\|'controluser'\\|'designer_settings'\\|'DisableIS'\\|'export_templates'\\|'favorite'\\|'hide_db'\\|'history'\\|'host'\\|'LogoutURL'\\|'MaxTableUiprefs'\\|'navigationhiding'\\|'only_db'\\|'password'\\|'pdf_pages'\\|'pmadb'\\|'port'\\|'recent'\\|'relation'\\|'savedsearches'\\|'SessionTimeZone'\\|'SignonCookieParams'\\|'SignonScript'\\|'SignonSession'\\|'SignonURL'\\|'socket'\\|'ssl'\\|'ssl_ca'\\|'ssl_ca_path'\\|'ssl_cert'\\|'ssl_ciphers'\\|'ssl_key'\\|'ssl_verify'\\|'table_coords'\\|'table_info'\\|'table_uiprefs'\\|'tracking'\\|'user'\\|'userconfig'\\|'usergroups'\\|'users'\\|'verbose', array\\\\|bool\\|int\\<0, max\\>\\|string\\>\\|bool\\|int\\<1, max\\>\\|string\\|null\\> will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/DescriptionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with array\\\\|bool\\|int\\<0, max\\>\\|string will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with array\\\\|bool\\|int\\<0, max\\>\\|string will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/DescriptionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" count: 3 path: tests/classes/Config/DescriptionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with null will always evaluate to false\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with null will always evaluate to false\\.$#" count: 1 path: tests/classes/Config/FormDisplayTest.php @@ -15976,12 +15976,12 @@ parameters: path: tests/classes/Config/FormDisplayTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Forms\\\\\\\\BaseFormList' and PhpMyAdmin\\\\Config\\\\Forms\\\\BaseFormList will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Forms\\\\\\\\BaseFormList' and PhpMyAdmin\\\\Config\\\\Forms\\\\BaseFormList will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/Forms/FormListTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with string will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/Forms/FormListTest.php @@ -16066,37 +16066,37 @@ parameters: path: tests/classes/Config/Settings/SchemaTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Console' and PhpMyAdmin\\\\Config\\\\Settings\\\\Console will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Console' and PhpMyAdmin\\\\Config\\\\Settings\\\\Console will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Debug' and PhpMyAdmin\\\\Config\\\\Settings\\\\Debug will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Debug' and PhpMyAdmin\\\\Config\\\\Settings\\\\Debug will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Export' and PhpMyAdmin\\\\Config\\\\Settings\\\\Export will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Export' and PhpMyAdmin\\\\Config\\\\Settings\\\\Export will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Import' and PhpMyAdmin\\\\Config\\\\Settings\\\\Import will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Import' and PhpMyAdmin\\\\Config\\\\Settings\\\\Import will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Schema' and PhpMyAdmin\\\\Config\\\\Settings\\\\Schema will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Schema' and PhpMyAdmin\\\\Config\\\\Settings\\\\Schema will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\SqlQueryBox' and PhpMyAdmin\\\\Config\\\\Settings\\\\SqlQueryBox will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\SqlQueryBox' and PhpMyAdmin\\\\Config\\\\Settings\\\\SqlQueryBox will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Transformations' and PhpMyAdmin\\\\Config\\\\Settings\\\\Transformations will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Config\\\\\\\\Settings\\\\\\\\Transformations' and PhpMyAdmin\\\\Config\\\\Settings\\\\Transformations will always evaluate to true\\.$#" count: 1 path: tests/classes/Config/SettingsTest.php @@ -16111,17 +16111,17 @@ parameters: path: tests/classes/Config/SettingsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with arguments 'relation', array\\{version\\: string, user\\: string\\|null, db\\: string\\|null, bookmark\\: string\\|null, central_columns\\: string\\|null, column_info\\: string\\|null, designer_settings\\: string\\|null, export_templates\\: string\\|null, \\.\\.\\.\\} and 'The cache is…' will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with arguments 'relation', array\\{version\\: string, user\\: string\\|null, db\\: string\\|null, bookmark\\: string\\|null, central_columns\\: string\\|null, column_info\\: string\\|null, designer_settings\\: string\\|null, export_templates\\: string\\|null, \\.\\.\\.\\} and 'The cache is…' will always evaluate to true\\.$#" count: 3 path: tests/classes/ConfigStorage/RelationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with '' and '' will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with '' and '' will always evaluate to true\\.$#" count: 2 path: tests/classes/ConfigStorage/RelationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with 'db_pma' and 'db_pma' will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with 'db_pma' and 'db_pma' will always evaluate to true\\.$#" count: 1 path: tests/classes/ConfigStorage/RelationTest.php @@ -16131,12 +16131,12 @@ parameters: path: tests/classes/ConfigStorage/RelationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'Server' and array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\} will always evaluate to false\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'Server' and array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\} will always evaluate to false\\.$#" count: 1 path: tests/classes/ConfigTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\, array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\> will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\, array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\}\\> will always evaluate to true\\.$#" count: 1 path: tests/classes/ConfigTest.php @@ -16206,22 +16206,22 @@ parameters: path: tests/classes/Controllers/Database/StructureControllerTest.php - - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" + message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 path: tests/classes/Controllers/Database/StructureControllerTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 path: tests/classes/Controllers/Database/StructureControllerTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Controllers/Database/StructureControllerTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 path: tests/classes/Controllers/NavigationControllerTest.php @@ -16236,12 +16236,12 @@ parameters: path: tests/classes/Controllers/Server/BinlogControllerTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 path: tests/classes/Controllers/Server/Databases/CreateControllerTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 2 path: tests/classes/Controllers/Server/Databases/DestroyControllerTest.php @@ -16346,7 +16346,7 @@ parameters: path: tests/classes/CoreTest.php - - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" + message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 12 path: tests/classes/CoreTest.php @@ -16356,7 +16356,7 @@ parameters: path: tests/classes/Crypto/CryptoTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 path: tests/classes/Database/CentralColumnsTest.php @@ -16366,7 +16366,7 @@ parameters: path: tests/classes/Database/CentralColumnsTest.php - - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#1 \\$needle of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Database/CentralColumnsTest.php @@ -16386,12 +16386,12 @@ parameters: path: tests/classes/Database/DesignerTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Dbal\\\\\\\\ResultInterface' and PhpMyAdmin\\\\Dbal\\\\ResultInterface will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Dbal\\\\\\\\ResultInterface' and PhpMyAdmin\\\\Dbal\\\\ResultInterface will always evaluate to true\\.$#" count: 1 path: tests/classes/DatabaseInterfaceTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\SystemDatabase' and PhpMyAdmin\\\\SystemDatabase will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\SystemDatabase' and PhpMyAdmin\\\\SystemDatabase will always evaluate to true\\.$#" count: 1 path: tests/classes/DatabaseInterfaceTest.php @@ -16481,7 +16481,7 @@ parameters: path: tests/classes/Display/ResultsTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 path: tests/classes/Display/ResultsTest.php @@ -16501,12 +16501,12 @@ parameters: path: tests/classes/Export/OptionsTest.php - - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" + message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 path: tests/classes/FlashMessagesTest.php - - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" + message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 1 path: tests/classes/FlashMessagesTest.php @@ -16591,7 +16591,7 @@ parameters: path: tests/classes/Html/GeneratorTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" count: 1 path: tests/classes/Import/AjaxTest.php @@ -16666,152 +16666,152 @@ parameters: path: tests/classes/Navigation/Nodes/NodeTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'extra' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'hasPrimaryKey' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'hasPrimaryKey' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'headText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'legendText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'message' and array\\{queryError\\: bool, message\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'message' and array\\{queryError\\: bool, message\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'primary_key' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'primary_key' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'primary_key' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'primary_key' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{legendText\\: string, headText\\: string, queryError\\: bool, extra\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{legendText\\: string, headText\\: string, queryError\\: string\\|false, extra\\?\\: string\\} will always evaluate to true\\.$#" count: 2 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{queryError\\: bool, message\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'queryError' and array\\{queryError\\: bool, message\\: PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\|false\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string, primary_key\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 2 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 'subText' and array\\{legendText\\: string, headText\\: string, subText\\: string, hasPrimaryKey\\: string, extra\\: string\\} will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Message' and PhpMyAdmin\\\\Message will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Message' and PhpMyAdmin\\\\Message will always evaluate to true\\.$#" count: 1 path: tests/classes/NormalizationTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/NormalizationTest.php @@ -16821,12 +16821,12 @@ parameters: path: tests/classes/NormalizationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotFalse\\(\\) with string will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotFalse\\(\\) with string will always evaluate to true\\.$#" count: 1 path: tests/classes/OpenDocumentTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\StatementInfo' and PhpMyAdmin\\\\StatementInfo will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\StatementInfo' and PhpMyAdmin\\\\StatementInfo will always evaluate to true\\.$#" count: 2 path: tests/classes/ParseAnalyzeTest.php @@ -16836,7 +16836,7 @@ parameters: path: tests/classes/Partitioning/TablePartitionDefinitionTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 path: tests/classes/PdfTest.php @@ -16851,7 +16851,7 @@ parameters: path: tests/classes/Plugins/Auth/AuthenticationConfigTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with 32 and 0 will always evaluate to false\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with 32 and 0 will always evaluate to false\\.$#" count: 1 path: tests/classes/Plugins/Auth/AuthenticationCookieTest.php @@ -16901,7 +16901,7 @@ parameters: path: tests/classes/Plugins/Auth/AuthenticationSignonTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Plugins/Export/ExportHtmlwordTest.php @@ -16931,7 +16931,7 @@ parameters: path: tests/classes/Plugins/Export/ExportOdtTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 11 path: tests/classes/Plugins/Export/ExportOdtTest.php @@ -16946,7 +16946,7 @@ parameters: path: tests/classes/Plugins/Export/ExportSqlTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 10 path: tests/classes/Plugins/Export/ExportSqlTest.php @@ -16981,12 +16981,12 @@ parameters: path: tests/classes/Plugins/Import/ImportCsvTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 6 path: tests/classes/Plugins/Import/ImportCsvTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with 'auto' will always evaluate to false\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with 'auto' will always evaluate to false\\.$#" count: 1 path: tests/classes/Plugins/Import/ImportLdiTest.php @@ -17001,7 +17001,7 @@ parameters: path: tests/classes/Plugins/Import/ImportLdiTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 6 path: tests/classes/Plugins/Import/ImportLdiTest.php @@ -17011,7 +17011,7 @@ parameters: path: tests/classes/Plugins/Import/ImportMediawikiTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 5 path: tests/classes/Plugins/Import/ImportMediawikiTest.php @@ -17026,7 +17026,7 @@ parameters: path: tests/classes/Plugins/Import/ImportOdsTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 13 path: tests/classes/Plugins/Import/ImportOdsTest.php @@ -17036,7 +17036,7 @@ parameters: path: tests/classes/Plugins/Import/ImportShpTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 7 path: tests/classes/Plugins/Import/ImportShpTest.php @@ -17046,7 +17046,7 @@ parameters: path: tests/classes/Plugins/Import/ImportSqlTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 path: tests/classes/Plugins/Import/ImportSqlTest.php @@ -17056,7 +17056,7 @@ parameters: path: tests/classes/Plugins/Import/ImportXmlTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 5 path: tests/classes/Plugins/Import/ImportXmlTest.php @@ -17066,17 +17066,17 @@ parameters: path: tests/classes/Plugins/Transformations/TransformationPluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 path: tests/classes/PluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 path: tests/classes/PluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 path: tests/classes/PluginsTest.php @@ -17086,7 +17086,7 @@ parameters: path: tests/classes/PluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Properties\\\\\\\\Options\\\\\\\\OptionsPropertyGroup' and PhpMyAdmin\\\\Properties\\\\Options\\\\OptionsPropertyGroup&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Properties\\\\\\\\Options\\\\\\\\OptionsPropertyGroup' and PhpMyAdmin\\\\Properties\\\\Options\\\\OptionsPropertyGroup&PHPUnit\\\\Framework\\\\MockObject\\\\MockObject will always evaluate to true\\.$#" count: 1 path: tests/classes/Properties/Options/OptionsPropertyGroupTest.php @@ -17096,7 +17096,7 @@ parameters: path: tests/classes/Replication/ReplicationGuiTest.php - - message: "#^Parameter \\#1 \\$directory of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertDirectoryIsWritable\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#1 \\$directory of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertDirectoryIsWritable\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Routing/RoutingTest.php @@ -17106,22 +17106,22 @@ parameters: path: tests/classes/Routing/RoutingTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\Plugin' and PhpMyAdmin\\\\Server\\\\Plugin will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\Plugin' and PhpMyAdmin\\\\Server\\\\Plugin will always evaluate to true\\.$#" count: 1 path: tests/classes/Server/PluginTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\Plugin' and PhpMyAdmin\\\\Server\\\\Plugin will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\Plugin' and PhpMyAdmin\\\\Server\\\\Plugin will always evaluate to true\\.$#" count: 2 path: tests/classes/Server/PluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 2 path: tests/classes/Server/PluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 path: tests/classes/Server/PluginsTest.php @@ -17131,12 +17131,12 @@ parameters: path: tests/classes/Server/PluginsTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 0 and array\\{string, PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 0 and array\\{string, PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 3 path: tests/classes/Server/PrivilegesTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 1 and array\\{string, PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) with 1 and array\\{string, PhpMyAdmin\\\\Message\\} will always evaluate to true\\.$#" count: 3 path: tests/classes/Server/PrivilegesTest.php @@ -17176,7 +17176,7 @@ parameters: path: tests/classes/Server/SelectTest.php - - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#1 \\$needle of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 4 path: tests/classes/Server/SelectTest.php @@ -17186,7 +17186,7 @@ parameters: path: tests/classes/Server/SelectTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\SysInfo\\\\\\\\Base' and PhpMyAdmin\\\\Server\\\\SysInfo\\\\Base will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Server\\\\\\\\SysInfo\\\\\\\\Base' and PhpMyAdmin\\\\Server\\\\SysInfo\\\\Base will always evaluate to true\\.$#" count: 1 path: tests/classes/Server/SysInfo/SysInfoTest.php @@ -17261,7 +17261,7 @@ parameters: path: tests/classes/Stubs/ResponseRenderer.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Table\\\\\\\\Table' and PhpMyAdmin\\\\Table\\\\Table will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Table\\\\\\\\Table' and PhpMyAdmin\\\\Table\\\\Table will always evaluate to true\\.$#" count: 1 path: tests/classes/Table/TableTest.php @@ -17271,27 +17271,27 @@ parameters: path: tests/classes/Table/TableTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 3 path: tests/classes/Table/TableTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Table/TableTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array will always evaluate to true\\.$#" count: 1 path: tests/classes/Theme/ThemeManagerTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with true will always evaluate to true\\.$#" count: 1 path: tests/classes/Theme/ThemeManagerTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Theme\\\\\\\\Theme' and PhpMyAdmin\\\\Theme\\\\Theme will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Theme\\\\\\\\Theme' and PhpMyAdmin\\\\Theme\\\\Theme will always evaluate to true\\.$#" count: 1 path: tests/classes/Theme/ThemeTest.php @@ -17311,7 +17311,7 @@ parameters: path: tests/classes/Tracking/TrackingTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 5 path: tests/classes/Tracking/TrackingTest.php @@ -17381,7 +17381,7 @@ parameters: path: tests/classes/UserPreferencesTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects Countable\\|iterable, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects Countable\\|iterable, mixed given\\.$#" count: 1 path: tests/classes/UserPreferencesTest.php @@ -17421,7 +17421,7 @@ parameters: path: tests/classes/UtilTest.php - - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" + message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 2 path: tests/classes/UtilTest.php @@ -17441,12 +17441,12 @@ parameters: path: tests/classes/Utils/HttpRequestTest.php - - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#1 \\$needle of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Utils/HttpRequestTest.php - - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, mixed given\\.$#" count: 1 path: tests/classes/Utils/HttpRequestTest.php @@ -17466,7 +17466,7 @@ parameters: path: tests/classes/Utils/SessionCacheTest.php - - message: "#^Parameter \\#2 \\$array of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" + message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayNotHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#" count: 2 path: tests/classes/Utils/SessionCacheTest.php @@ -17486,27 +17486,27 @@ parameters: path: tests/classes/VersionInformationTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsBool\\(\\) with true will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsBool\\(\\) with true will always evaluate to true\\.$#" count: 1 path: tests/classes/VersionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with 0 will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with 0 will always evaluate to true\\.$#" count: 2 path: tests/classes/VersionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with 6 will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsInt\\(\\) with 6 will always evaluate to true\\.$#" count: 1 path: tests/classes/VersionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with 'dev' will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with 'dev' will always evaluate to true\\.$#" count: 1 path: tests/classes/VersionTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsString\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#" count: 1 path: tests/classes/VersionTest.php @@ -17561,7 +17561,7 @@ parameters: path: tests/config.e2e.inc.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebElement will always evaluate to true\\.$#" + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebElement will always evaluate to true\\.$#" count: 1 path: tests/selenium/Database/OperationsTest.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist index e8a7574f59..d5a8ed7b3b 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -26,12 +26,3 @@ parameters: checkDynamicProperties: true checkTooWideReturnTypesInProtectedAndPublicMethods: true checkImplicitMixed: true - ignoreErrors: - - - message: '#Dynamic call to static method PHPUnit\\Framework\\Assert::[a-zA-Z]+\(\)\.#' - paths: - - tests/classes/* - - tests/selenium/* - - - message: '#Dynamic call to static method PHPUnit\\Framework\\TestCase::[a-zA-Z]+\(\)\.#' - path: tests/classes/* diff --git a/tests/classes/Advisory/AdvisorTest.php b/tests/classes/Advisory/AdvisorTest.php index eff15a3245..7188d9be99 100644 --- a/tests/classes/Advisory/AdvisorTest.php +++ b/tests/classes/Advisory/AdvisorTest.php @@ -35,7 +35,7 @@ class AdvisorTest extends AbstractTestCase public function testAdvisorBytime(float $time, string $expected): void { $result = Advisor::byTime($time, 2); - $this->assertEquals($expected, $result); + self::assertEquals($expected, $result); } /** @return mixed[][] */ @@ -69,14 +69,14 @@ class AdvisorTest extends AbstractTestCase $advisor->addRule('fired', $rule); $runResult = $advisor->getRunResult(); if ($error !== null) { - $this->assertEquals([$error], $runResult['errors']); + self::assertEquals([$error], $runResult['errors']); } if ($runResult['fired'] === [] && $expected === []) { return; } - $this->assertEquals([$expected], $runResult['fired']); + self::assertEquals([$expected], $runResult['fired']); } /** diff --git a/tests/classes/Advisory/RulesTest.php b/tests/classes/Advisory/RulesTest.php index c107b62a39..7c608a9c25 100644 --- a/tests/classes/Advisory/RulesTest.php +++ b/tests/classes/Advisory/RulesTest.php @@ -18,16 +18,16 @@ class RulesTest extends TestCase public function testRules(callable $rulesFactory): void { $rules = $rulesFactory(); - $this->assertNotEmpty($rules); + self::assertNotEmpty($rules); foreach ($rules as $rule) { - $this->assertArrayHasKey('id', $rule); - $this->assertArrayHasKey('name', $rule); - $this->assertArrayHasKey('formula', $rule); - $this->assertArrayHasKey('test', $rule); - $this->assertArrayHasKey('issue', $rule); - $this->assertArrayHasKey('recommendation', $rule); - $this->assertArrayHasKey('justification', $rule); - $this->assertContainsOnly('string', $rule); + self::assertArrayHasKey('id', $rule); + self::assertArrayHasKey('name', $rule); + self::assertArrayHasKey('formula', $rule); + self::assertArrayHasKey('test', $rule); + self::assertArrayHasKey('issue', $rule); + self::assertArrayHasKey('recommendation', $rule); + self::assertArrayHasKey('justification', $rule); + self::assertContainsOnly('string', $rule); } } diff --git a/tests/classes/ApplicationTest.php b/tests/classes/ApplicationTest.php index c16b9ac0c9..d9dad5064f 100644 --- a/tests/classes/ApplicationTest.php +++ b/tests/classes/ApplicationTest.php @@ -27,10 +27,10 @@ final class ApplicationTest extends AbstractTestCase #[BackupStaticProperties(true)] public function testRunWithConfigError(): void { - $errorHandler = $this->createStub(ErrorHandler::class); + $errorHandler = self::createStub(ErrorHandler::class); - $config = $this->createMock(Config::class); - $config->expects($this->once())->method('loadAndCheck') + $config = self::createMock(Config::class); + $config->expects(self::once())->method('loadAndCheck') ->willThrowException(new ConfigException('Failed to load phpMyAdmin configuration.')); $config->config = new Config\Settings([]); @@ -45,6 +45,6 @@ final class ApplicationTest extends AbstractTestCase $application->run(); $output = $this->getActualOutputForAssertion(); - $this->assertSame($expected, $output); + self::assertSame($expected, $output); } } diff --git a/tests/classes/BookmarkTest.php b/tests/classes/BookmarkTest.php index 39697cc60e..4301246ee0 100644 --- a/tests/classes/BookmarkTest.php +++ b/tests/classes/BookmarkTest.php @@ -63,7 +63,7 @@ class BookmarkTest extends AbstractTestCase Config::getInstance()->selectedServer['user'], 'sakila', ); - $this->assertContainsOnlyInstancesOf(Bookmark::class, $actual); + self::assertContainsOnlyInstancesOf(Bookmark::class, $actual); $this->dummyDbi->assertAllSelectsConsumed(); } @@ -78,7 +78,7 @@ class BookmarkTest extends AbstractTestCase ['id', 'dbase', 'user', 'label', 'query'], ); $dbi = DatabaseInterface::getInstance(); - $this->assertNull( + self::assertNull( (new BookmarkRepository($dbi, new Relation($dbi)))->get( Config::getInstance()->selectedServer['user'], 1, @@ -103,7 +103,7 @@ class BookmarkTest extends AbstractTestCase 'root', 'phpmyadmin', ); - $this->assertNotFalse($bookmark); - $this->assertTrue($bookmark->save()); + self::assertNotFalse($bookmark); + self::assertTrue($bookmark->save()); } } diff --git a/tests/classes/BrowseForeignersTest.php b/tests/classes/BrowseForeignersTest.php index 77a68e0186..2059311963 100644 --- a/tests/classes/BrowseForeignersTest.php +++ b/tests/classes/BrowseForeignersTest.php @@ -30,18 +30,18 @@ class BrowseForeignersTest extends AbstractTestCase */ public function testGetForeignLimit(): void { - $this->assertNull( + self::assertNull( $this->browseForeigners->getForeignLimit('Show all'), ); - $this->assertEquals( + self::assertEquals( 'LIMIT 0, 25 ', $this->browseForeigners->getForeignLimit(null), ); $_POST['pos'] = 10; - $this->assertEquals( + self::assertEquals( 'LIMIT 10, 25 ', $this->browseForeigners->getForeignLimit(null), ); @@ -50,12 +50,12 @@ class BrowseForeignersTest extends AbstractTestCase $config->set('MaxRows', 50); $browseForeigners = new BrowseForeigners(new Template(), $config, new ThemeManager()); - $this->assertEquals( + self::assertEquals( 'LIMIT 10, 50 ', $browseForeigners->getForeignLimit(null), ); - $this->assertEquals( + self::assertEquals( 'LIMIT 10, 50 ', $browseForeigners->getForeignLimit('xyz'), ); @@ -66,7 +66,7 @@ class BrowseForeignersTest extends AbstractTestCase */ public function testGetHtmlForGotoPage(): void { - $this->assertEquals( + self::assertEquals( '', $this->callFunction( $this->browseForeigners, @@ -81,7 +81,7 @@ class BrowseForeignersTest extends AbstractTestCase $foreignData['disp_row'] = []; $foreignData['the_total'] = 5; - $this->assertEquals( + self::assertEquals( '', $this->callFunction( $this->browseForeigners, @@ -99,15 +99,15 @@ class BrowseForeignersTest extends AbstractTestCase [$foreignData], ); - $this->assertStringStartsWith('Page number:', $result); + self::assertStringStartsWith('Page number:', $result); - $this->assertStringEndsWith('', $result); + self::assertStringEndsWith('', $result); - $this->assertStringContainsString('', $result); + self::assertStringContainsString('', $result); - $this->assertStringContainsString('', $result); + self::assertStringContainsString('', $result); - $this->assertStringContainsString('', $result); + self::assertStringContainsString('', $result); - $this->assertStringContainsString('
', $result); - $this->assertStringContainsString('