diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index f3a14a10a9..dbc0fa016e 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -40745,24 +40745,11 @@ parameters: count: 1 path: test/classes/AbstractNetworkTestCase.php - - - message: """ - #^Call to deprecated method assertRegExp\\(\\) of class PHPUnit\\\\Framework\\\\Assert\\: - https\\://github\\.com/sebastianbergmann/phpunit/issues/4086$# - """ - count: 1 - path: test/classes/AbstractTestCase.php - - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 path: test/classes/AbstractTestCase.php - - - message: "#^Call to function method_exists\\(\\) with 'PHPUnit\\\\\\\\Framework\\\\\\\\TestCase' and 'assertMatchesRegula…' will always evaluate to true\\.$#" - count: 1 - path: test/classes/AbstractTestCase.php - - message: "#^Cannot call method get\\(\\) on mixed\\.$#" count: 5 @@ -41033,11 +41020,6 @@ parameters: count: 2 path: test/classes/Command/TwigLintCommandTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 1 - path: test/classes/Command/WriteGitRevisionCommandTest.php - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestSkipped\\(\\)\\.$#" count: 1 @@ -41403,11 +41385,6 @@ parameters: count: 1 path: test/classes/Config/SettingsTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 4 - path: test/classes/ConfigStorage/RelationCleanupTest.php - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:equalTo\\(\\)\\.$#" count: 32 @@ -41588,11 +41565,6 @@ parameters: count: 6 path: test/classes/ConfigStorage/RelationTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 1 - path: test/classes/ConfigStorage/UserGroupsTest.php - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:equalTo\\(\\)\\.$#" count: 2 @@ -41628,22 +41600,6 @@ parameters: count: 3 path: test/classes/ConfigStorage/UserGroupsTest.php - - - message: """ - #^Call to deprecated method expectError\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\: - https\\://github\\.com/sebastianbergmann/phpunit/issues/5062$# - """ - count: 1 - path: test/classes/ConfigTest.php - - - - message: """ - #^Call to deprecated method expectErrorMessage\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\: - https\\://github\\.com/sebastianbergmann/phpunit/issues/5062$# - """ - count: 1 - path: test/classes/ConfigTest.php - - message: "#^Cannot access offset 'ProxyUrl' on mixed\\.$#" count: 1 @@ -45894,22 +45850,6 @@ parameters: count: 1 path: test/classes/Navigation/NavigationTreeTest.php - - - message: """ - #^Call to deprecated method expectError\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\: - https\\://github\\.com/sebastianbergmann/phpunit/issues/5062$# - """ - count: 2 - path: test/classes/Navigation/NodeFactoryTest.php - - - - message: """ - #^Call to deprecated method expectErrorMessage\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\: - https\\://github\\.com/sebastianbergmann/phpunit/issues/5062$# - """ - count: 2 - path: test/classes/Navigation/NodeFactoryTest.php - - message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertIsArray\\(\\) with array\\{text\\: array\\{route\\: string, params\\: array\\\\}, icon\\: array\\{route\\: string, params\\: array\\\\}, second_icon\\?\\: array\\{route\\: string, params\\: array\\\\}, title\\?\\: string\\} will always evaluate to true\\.$#" count: 1 @@ -46760,11 +46700,6 @@ parameters: count: 4 path: test/classes/Plugins/Export/ExportPdfTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 2 - path: test/classes/Plugins/Export/ExportSqlTest.php - - message: "#^Cannot access offset 'DisableIS' on mixed\\.$#" count: 8 @@ -47445,11 +47380,6 @@ parameters: count: 3 path: test/classes/Server/PluginsTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 4 - path: test/classes/Server/Privileges/AccountLockingTest.php - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:equalTo\\(\\)\\.$#" count: 12 @@ -47470,11 +47400,6 @@ parameters: count: 18 path: test/classes/Server/Privileges/AccountLockingTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 1 - path: test/classes/Server/PrivilegesTest.php - - message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNull\\(\\) with null will always evaluate to true\\.$#" count: 1 @@ -48420,11 +48345,6 @@ parameters: count: 1 path: test/classes/ThemeTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 1 - path: test/classes/TrackerTest.php - - message: "#^Cannot access offset 'DisableIS' on mixed\\.$#" count: 1 @@ -48995,11 +48915,6 @@ parameters: count: 1 path: test/classes/UserPreferencesTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 4 - path: test/classes/UtilTest.php - - message: "#^Cannot access offset 'AllowThirdPartyFram…' on mixed\\.$#" count: 1 @@ -49330,11 +49245,6 @@ parameters: count: 2 path: test/classes/Utils/SessionCacheTest.php - - - message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#" - count: 4 - path: test/classes/VersionInformationTest.php - - message: "#^Cannot access offset 'Servers' on mixed\\.$#" count: 4 @@ -49580,14 +49490,6 @@ parameters: count: 8 path: test/selenium/TestBase.php - - - message: """ - #^Fetching deprecated class constant CAPABILITY_W3C of class Facebook\\\\WebDriver\\\\Chrome\\\\ChromeOptions\\: - Use CAPABILITY instead$# - """ - count: 1 - path: test/selenium/TestBase.php - - message: "#^Method PhpMyAdmin\\\\Tests\\\\Selenium\\\\TestBase\\:\\:waitForElement\\(\\) should return Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebElement but returns mixed\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 3e7417f9ee..310a18293c 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -12835,7 +12835,7 @@ $arrInstance[$name] $arrInstance[$name] - + $arrInstance[$name] $arrProp $arrWEBMCol @@ -12849,6 +12849,7 @@ $mem['SwapUsed'] $name $objItem + $objLocator $objWEBM $propItem $sum @@ -12857,7 +12858,8 @@ $value $value - + + ConnectServer Instances_ @@ -12877,10 +12879,10 @@ Get - - ConnectServer - Get - + + $this->wmi + COM|null + @@ -14576,11 +14578,6 @@ $filesInfos - - - withConsecutive - - assertFalse @@ -14676,12 +14673,6 @@ - - withConsecutive - withConsecutive - withConsecutive - withConsecutive - $dbi @@ -14713,16 +14704,7 @@ assertSame - - - withConsecutive - - - - expectError - expectErrorMessage - array array @@ -15561,14 +15543,6 @@ array - - - expectError - expectError - expectErrorMessage - expectErrorMessage - - assertIsArray @@ -15889,10 +15863,6 @@ - - withConsecutive - withConsecutive - $GLOBALS['sql_constraints'] @@ -16098,18 +16068,7 @@ assertIsArray - - - withConsecutive - withConsecutive - withConsecutive - withConsecutive - - - - withConsecutive - $export $extra_data['new_privileges'] @@ -16348,9 +16307,6 @@ - - withConsecutive - $result @@ -16416,12 +16372,6 @@ - - withConsecutive - withConsecutive - withConsecutive - withConsecutive - $_SESSION['cache']['server_server'] $_SESSION['cache']['server_server'] @@ -16529,12 +16479,6 @@ - - withConsecutive - withConsecutive - withConsecutive - withConsecutive - $_SESSION['cache']['version_check'] @@ -16578,9 +16522,6 @@ - - ChromeOptions::CAPABILITY_W3C - $this->webDriver === null