Update the phpstan and psalm baseline
This commit is contained in:
parent
23f6245775
commit
e454326296
@ -9441,7 +9441,7 @@ parameters:
|
||||
-
|
||||
message: '#^Argument of an invalid type SimpleXMLElement\|null supplied for foreach, only iterables are supported\.$#'
|
||||
identifier: foreach.nonIterable
|
||||
count: 2
|
||||
count: 1
|
||||
path: src/Plugins/Import/ImportXml.php
|
||||
|
||||
-
|
||||
@ -9456,12 +9456,6 @@ parameters:
|
||||
count: 1
|
||||
path: src/Plugins/Import/ImportXml.php
|
||||
|
||||
-
|
||||
message: '#^Cannot access property \$table on SimpleXMLElement\|null\.$#'
|
||||
identifier: property.nonObject
|
||||
count: 1
|
||||
path: src/Plugins/Import/ImportXml.php
|
||||
|
||||
-
|
||||
message: '#^Cannot call method attributes\(\) on SimpleXMLElement\|null\.$#'
|
||||
identifier: method.nonObject
|
||||
@ -16419,7 +16413,7 @@ parameters:
|
||||
Use dependency injection instead\.$#
|
||||
'''
|
||||
identifier: staticMethod.deprecated
|
||||
count: 1
|
||||
count: 3
|
||||
path: tests/unit/PluginsTest.php
|
||||
|
||||
-
|
||||
|
||||
@ -6286,6 +6286,12 @@
|
||||
<PossiblyUnusedReturnValue>
|
||||
<code><![CDATA[string[]]]></code>
|
||||
</PossiblyUnusedReturnValue>
|
||||
<RedundantCondition>
|
||||
<code><![CDATA[$databaseXml->table]]></code>
|
||||
</RedundantCondition>
|
||||
<TypeDoesNotContainType>
|
||||
<code><![CDATA[[]]]></code>
|
||||
</TypeDoesNotContainType>
|
||||
<UnnecessaryVarAnnotation>
|
||||
<code><![CDATA[SimpleXMLElement]]></code>
|
||||
<code><![CDATA[SimpleXMLElement]]></code>
|
||||
@ -10296,6 +10302,8 @@
|
||||
<DeprecatedMethod>
|
||||
<code><![CDATA[Config::getInstance()]]></code>
|
||||
<code><![CDATA[DatabaseInterface::getInstance($config)]]></code>
|
||||
<code><![CDATA[DatabaseInterface::getInstance($config)]]></code>
|
||||
<code><![CDATA[DatabaseInterface::getInstance($config)]]></code>
|
||||
</DeprecatedMethod>
|
||||
<PropertyTypeCoercion>
|
||||
<code><![CDATA[Config::getInstance()->settings]]></code>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user