Update baselines

This commit is contained in:
William Desportes 2026-02-28 22:24:26 +01:00
parent f40043aeaa
commit da22ca88f4
No known key found for this signature in database
GPG Key ID: 70684F4717D49A31
2 changed files with 8 additions and 165 deletions

View File

@ -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\\<string, mixed\\>\\}, icon\\: array\\{route\\: string, params\\: array\\<string, mixed\\>\\}, second_icon\\?\\: array\\{route\\: string, params\\: array\\<string, mixed\\>\\}, 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

View File

@ -12835,7 +12835,7 @@
<code>$arrInstance[$name]</code>
<code>$arrInstance[$name]</code>
</MixedArrayOffset>
<MixedAssignment occurrences="20">
<MixedAssignment occurrences="21">
<code>$arrInstance[$name]</code>
<code>$arrProp</code>
<code>$arrWEBMCol</code>
@ -12849,6 +12849,7 @@
<code>$mem['SwapUsed']</code>
<code>$name</code>
<code>$objItem</code>
<code>$objLocator</code>
<code>$objWEBM</code>
<code>$propItem</code>
<code>$sum</code>
@ -12857,7 +12858,8 @@
<code>$value</code>
<code>$value</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<MixedMethodCall occurrences="2">
<code>ConnectServer</code>
<code>Instances_</code>
</MixedMethodCall>
<MixedOperand occurrences="7">
@ -12877,10 +12879,10 @@
<PossiblyNullReference occurrences="1">
<code>Get</code>
</PossiblyNullReference>
<UndefinedMagicMethod occurrences="2">
<code>ConnectServer</code>
<code>Get</code>
</UndefinedMagicMethod>
<UndefinedDocblockClass occurrences="2">
<code>$this-&gt;wmi</code>
<code>COM|null</code>
</UndefinedDocblockClass>
</file>
<file src="libraries/classes/Session.php">
<MixedArgument occurrences="3">
@ -14576,11 +14578,6 @@
<code>$filesInfos</code>
</MixedAssignment>
</file>
<file src="test/classes/Command/WriteGitRevisionCommandTest.php">
<DeprecatedMethod occurrences="1">
<code>withConsecutive</code>
</DeprecatedMethod>
</file>
<file src="test/classes/CommonTest.php">
<DocblockTypeContradiction occurrences="2">
<code>assertFalse</code>
@ -14676,12 +14673,6 @@
</MixedAssignment>
</file>
<file src="test/classes/ConfigStorage/RelationCleanupTest.php">
<DeprecatedMethod occurrences="4">
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
</DeprecatedMethod>
<NonInvariantDocblockPropertyType occurrences="1">
<code>$dbi</code>
</NonInvariantDocblockPropertyType>
@ -14713,16 +14704,7 @@
<code>assertSame</code>
</TypeDoesNotContainType>
</file>
<file src="test/classes/ConfigStorage/UserGroupsTest.php">
<DeprecatedMethod occurrences="1">
<code>withConsecutive</code>
</DeprecatedMethod>
</file>
<file src="test/classes/ConfigTest.php">
<DeprecatedMethod occurrences="2">
<code>expectError</code>
<code>expectErrorMessage</code>
</DeprecatedMethod>
<MixedInferredReturnType occurrences="8">
<code>array</code>
<code>array</code>
@ -15561,14 +15543,6 @@
<code>array</code>
</MixedInferredReturnType>
</file>
<file src="test/classes/Navigation/NodeFactoryTest.php">
<DeprecatedMethod occurrences="4">
<code>expectError</code>
<code>expectError</code>
<code>expectErrorMessage</code>
<code>expectErrorMessage</code>
</DeprecatedMethod>
</file>
<file src="test/classes/Navigation/Nodes/NodeColumnContainerTest.php">
<RedundantConditionGivenDocblockType occurrences="1">
<code>assertIsArray</code>
@ -15889,10 +15863,6 @@
</MixedAssignment>
</file>
<file src="test/classes/Plugins/Export/ExportSqlTest.php">
<DeprecatedMethod occurrences="2">
<code>withConsecutive</code>
<code>withConsecutive</code>
</DeprecatedMethod>
<InvalidArrayOffset occurrences="1">
<code>$GLOBALS['sql_constraints']</code>
</InvalidArrayOffset>
@ -16098,18 +16068,7 @@
<code>assertIsArray</code>
</RedundantCondition>
</file>
<file src="test/classes/Server/Privileges/AccountLockingTest.php">
<DeprecatedMethod occurrences="4">
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
</DeprecatedMethod>
</file>
<file src="test/classes/Server/PrivilegesTest.php">
<DeprecatedMethod occurrences="1">
<code>withConsecutive</code>
</DeprecatedMethod>
<MixedArgument occurrences="5">
<code>$export</code>
<code>$extra_data['new_privileges']</code>
@ -16348,9 +16307,6 @@
</MixedInferredReturnType>
</file>
<file src="test/classes/TrackerTest.php">
<DeprecatedMethod occurrences="1">
<code>withConsecutive</code>
</DeprecatedMethod>
<MixedAssignment occurrences="1">
<code>$result</code>
</MixedAssignment>
@ -16416,12 +16372,6 @@
</TypeDoesNotContainType>
</file>
<file src="test/classes/UtilTest.php">
<DeprecatedMethod occurrences="4">
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
</DeprecatedMethod>
<MixedArgument occurrences="3">
<code>$_SESSION['cache']['server_server']</code>
<code>$_SESSION['cache']['server_server']</code>
@ -16529,12 +16479,6 @@
</MixedArrayAccess>
</file>
<file src="test/classes/VersionInformationTest.php">
<DeprecatedMethod occurrences="4">
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
<code>withConsecutive</code>
</DeprecatedMethod>
<MixedArrayAccess occurrences="1">
<code>$_SESSION['cache']['version_check']</code>
</MixedArrayAccess>
@ -16578,9 +16522,6 @@
</MixedInferredReturnType>
</file>
<file src="test/selenium/TestBase.php">
<DeprecatedConstant occurrences="1">
<code>ChromeOptions::CAPABILITY_W3C</code>
</DeprecatedConstant>
<DocblockTypeContradiction occurrences="1">
<code>$this-&gt;webDriver === null</code>
</DocblockTypeContradiction>