| Current Path : /srv/web/sites/trentinoplant.it/httpdocs/vendor1/laminas/laminas-server/ |
| Current File : /srv/web/sites/trentinoplant.it/httpdocs/vendor1/laminas/laminas-server/psalm-baseline.xml |
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69">
<file src="src/AbstractServer.php">
<ArgumentTypeCoercion occurrences="1">
<code>$class</code>
</ArgumentTypeCoercion>
<DeprecatedInterface occurrences="1">
<code>AbstractServer</code>
</DeprecatedInterface>
<DeprecatedMethod occurrences="2">
<code>_fixType</code>
<code>_fixType</code>
</DeprecatedMethod>
<ImplementedReturnTypeMismatch occurrences="1">
<code>Definition</code>
</ImplementedReturnTypeMismatch>
<InvalidStringClass occurrences="1">
<code>new $class()</code>
</InvalidStringClass>
<MixedArgument occurrences="5">
<code>$method</code>
<code>$method</code>
<code>$reflection->getDeclaringClass()->getName()</code>
<code>$reflection->getName()</code>
<code>$reflection->getName()</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$invokeArgs</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="2">
<code>$method</code>
<code>$name</code>
</MixedAssignment>
<MixedOperand occurrences="2">
<code>$method</code>
<code>$name</code>
</MixedOperand>
<PossiblyNullArgument occurrences="1">
<code>$class</code>
</PossiblyNullArgument>
<PossiblyNullFunctionCall occurrences="1">
<code>call_user_func_array($function, $params)</code>
</PossiblyNullFunctionCall>
<UndefinedClass occurrences="1">
<code>new $class()</code>
</UndefinedClass>
</file>
<file src="src/Cache.php">
<DeprecatedClass occurrences="2">
<code>Server</code>
<code>Server</code>
</DeprecatedClass>
<DocblockTypeContradiction occurrences="2">
<code>! is_string($filename)</code>
<code>! is_string($filename)</code>
</DocblockTypeContradiction>
<MixedArgument occurrences="1">
<code>$dispatchArray</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$dispatchArray</code>
</MixedAssignment>
</file>
<file src="src/Definition.php">
<DocblockTypeContradiction occurrences="1">
<code>null === $name</code>
</DocblockTypeContradiction>
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>Method\Definition</code>
</ImplementedReturnTypeMismatch>
<MixedArgument occurrences="1">
<code>$method</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$key</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="3">
<code>$method</code>
<code>$method</code>
<code>$methods[$key]</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="3">
<code>Method\Definition</code>
<code>Method\Definition</code>
<code>null|\Laminas\Server\Method\Definition</code>
</MixedInferredReturnType>
<MixedMethodCall occurrences="1">
<code>toArray</code>
</MixedMethodCall>
<MixedReturnStatement occurrences="3">
<code>$this->methods[$method]</code>
<code>current($this->methods)</code>
<code>next($this->methods)</code>
</MixedReturnStatement>
</file>
<file src="src/Method/Callback.php">
<DocblockTypeContradiction occurrences="1">
<code>is_object($class)</code>
</DocblockTypeContradiction>
<MixedArgumentTypeCoercion occurrences="1">
<code>$key</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="1">
<code>$value</code>
</MixedAssignment>
<PropertyNotSetInConstructor occurrences="4">
<code>$class</code>
<code>$function</code>
<code>$method</code>
<code>$type</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Method/Definition.php">
<DocblockTypeContradiction occurrences="1">
<code>! is_object($object)</code>
</DocblockTypeContradiction>
<MixedArgument occurrences="1">
<code>$prototype</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$key</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="4">
<code>$prototype</code>
<code>$prototype</code>
<code>$signatures[]</code>
<code>$value</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<code>toArray</code>
</MixedMethodCall>
<PropertyNotSetInConstructor occurrences="2">
<code>$callback</code>
<code>$name</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Method/Parameter.php">
<MixedArgumentTypeCoercion occurrences="1">
<code>$key</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="1">
<code>$value</code>
</MixedAssignment>
<PropertyNotSetInConstructor occurrences="1">
<code>$name</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Method/Prototype.php">
<DocblockTypeContradiction occurrences="1">
<code>! is_string($index) && ! is_numeric($index)</code>
</DocblockTypeContradiction>
<MixedArgument occurrences="2">
<code>$index</code>
<code>$parameter</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1">
<code>$key</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="5">
<code>$index</code>
<code>$parameter</code>
<code>$parameter</code>
<code>$types[]</code>
<code>$value</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="1">
<code>null|Parameter</code>
</MixedInferredReturnType>
<MixedMethodCall occurrences="1">
<code>getType</code>
</MixedMethodCall>
<MixedReturnStatement occurrences="1">
<code>$this->parameters[$index]</code>
</MixedReturnStatement>
</file>
<file src="src/Reflection.php">
<DocblockTypeContradiction occurrences="1">
<code>! is_string($function)</code>
</DocblockTypeContradiction>
</file>
<file src="src/Reflection/AbstractFunction.php">
<ArgumentTypeCoercion occurrences="2">
<code>$this->class</code>
<code>$this->name</code>
</ArgumentTypeCoercion>
<DocblockTypeContradiction occurrences="2">
<code>! is_string($namespace)</code>
<code>is_string($string)</code>
</DocblockTypeContradiction>
<MixedArgument occurrences="3">
<code>$tmp</code>
<code>$type</code>
<code>array_shift($signature)</code>
</MixedArgument>
<MixedAssignment occurrences="8">
<code>$name</code>
<code>$root</code>
<code>$serializable[]</code>
<code>$tmp</code>
<code>$type</code>
<code>$value</code>
<code>$value</code>
<code>$value</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<code>getEndPoints</code>
</MixedMethodCall>
<MixedReturnTypeCoercion occurrences="4">
<code>$serializable</code>
<code>$this->prototypes</code>
<code>Prototype[]</code>
<code>string[]</code>
</MixedReturnTypeCoercion>
<PossiblyNullArgument occurrences="2">
<code>$this->paramDesc[$key] ?? null</code>
<code>$returnDesc</code>
</PossiblyNullArgument>
<PropertyNotSetInConstructor occurrences="2">
<code>$class</code>
<code>$namespace</code>
</PropertyNotSetInConstructor>
<RawObjectIteration occurrences="1">
<code>$this</code>
</RawObjectIteration>
<RedundantConditionGivenDocblockType occurrences="2">
<code>$returnTag</code>
<code>$returnTag</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/Reflection/Node.php">
<MixedArgument occurrences="1">
<code>$childEndPoints</code>
</MixedArgument>
<MixedAssignment occurrences="4">
<code>$child</code>
<code>$childEndPoints</code>
<code>$endPoints[]</code>
<code>$value</code>
</MixedAssignment>
<MixedMethodCall occurrences="4">
<code>getEndPoints</code>
<code>getValue</code>
<code>hasChildren</code>
<code>hasChildren</code>
</MixedMethodCall>
<PropertyNotSetInConstructor occurrences="1">
<code>$parent</code>
</PropertyNotSetInConstructor>
<UnsafeInstantiation occurrences="1">
<code>new static($value, $this)</code>
</UnsafeInstantiation>
</file>
<file src="src/Reflection/Prototype.php">
<DeprecatedProperty occurrences="3">
<code>$this->return</code>
<code>$this->return</code>
<code>$this->return</code>
</DeprecatedProperty>
</file>
<file src="src/Reflection/ReflectionClass.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this->name</code>
</ArgumentTypeCoercion>
<DocblockTypeContradiction occurrences="1">
<code>! is_string($namespace)</code>
</DocblockTypeContradiction>
<PossiblyNullArgument occurrences="1">
<code>$namespace</code>
</PossiblyNullArgument>
</file>
<file src="src/Reflection/ReflectionFunction.php">
<PropertyNotSetInConstructor occurrences="2">
<code>ReflectionFunction</code>
<code>ReflectionFunction</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Reflection/ReflectionMethod.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this->class</code>
</ArgumentTypeCoercion>
<MixedArgument occurrences="2">
<code>$docComment</code>
<code>$this->classReflection->getName()</code>
</MixedArgument>
<MixedAssignment occurrences="4">
<code>$docCommentList[]</code>
<code>$interfaceReflection</code>
<code>$interfaceReflectionList</code>
<code>$this->class</code>
</MixedAssignment>
<MixedMethodCall occurrences="3">
<code>getDocComment</code>
<code>getMethod</code>
<code>hasMethod</code>
</MixedMethodCall>
<PossiblyFalseArgument occurrences="1">
<code>$docComment</code>
</PossiblyFalseArgument>
<PossiblyInvalidArgument occurrences="1">
<code>$this->classReflection</code>
</PossiblyInvalidArgument>
<PossiblyUndefinedVariable occurrences="1">
<code>$docCommentList</code>
</PossiblyUndefinedVariable>
<PropertyNotSetInConstructor occurrences="1">
<code>ReflectionMethod</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Reflection/ReflectionParameter.php">
<DocblockTypeContradiction occurrences="2">
<code>! is_string($description) && (null !== $description)</code>
<code>! is_string($type) && (null !== $type)</code>
</DocblockTypeContradiction>
<PossiblyInvalidPropertyAssignmentValue occurrences="1"/>
<PossiblyNullPropertyAssignmentValue occurrences="2">
<code>$description</code>
<code>$type</code>
</PossiblyNullPropertyAssignmentValue>
<PossiblyNullReference occurrences="1">
<code>getName</code>
</PossiblyNullReference>
<PropertyNotSetInConstructor occurrences="1">
<code>$position</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Reflection/ReflectionReturnValue.php">
<DocblockTypeContradiction occurrences="2">
<code>! is_string($description) && (null !== $description)</code>
<code>! is_string($type) && (null !== $type)</code>
</DocblockTypeContradiction>
<PossiblyNullPropertyAssignmentValue occurrences="2">
<code>$description</code>
<code>$type</code>
</PossiblyNullPropertyAssignmentValue>
</file>
<file src="test/CacheTest.php">
<DeprecatedClass occurrences="4">
<code>$this->createMock(Server::class)</code>
<code>$this->createMock(Server::class)</code>
<code>$this->createMock(Server::class)</code>
<code>$this->createMock(Server::class)</code>
</DeprecatedClass>
<InvalidArgument occurrences="1">
<code>Cache::class</code>
</InvalidArgument>
<MissingConstructor occurrences="1">
<code>$cacheFile</code>
</MissingConstructor>
<MixedAssignment occurrences="6">
<code>$actual[]</code>
<code>$data</code>
<code>$data</code>
<code>$data</code>
<code>$data</code>
<code>$method</code>
</MixedAssignment>
<MixedMethodCall occurrences="1">
<code>getName</code>
</MixedMethodCall>
<PossiblyNullPropertyAssignmentValue occurrences="1">
<code>null</code>
</PossiblyNullPropertyAssignmentValue>
</file>
<file src="test/DefinitionTest.php">
<MixedArrayAccess occurrences="8">
<code>$test['invokeArguments']</code>
<code>$test['invokeArguments']</code>
<code>$test['methodHelp']</code>
<code>$test['methodHelp']</code>
<code>$test['name']</code>
<code>$test['name']</code>
<code>$test['prototypes']</code>
<code>$test['prototypes']</code>
</MixedArrayAccess>
<MixedAssignment occurrences="2">
<code>$test</code>
<code>$test</code>
</MixedAssignment>
</file>
<file src="test/Reflection/NodeTest.php">
<InvalidScalarArgument occurrences="3">
<code>1</code>
<code>1</code>
<code>1</code>
</InvalidScalarArgument>
<MixedAssignment occurrences="4">
<code>$c</code>
<code>$endPoint</code>
<code>$endPointsArray[]</code>
<code>$types[]</code>
</MixedAssignment>
<MixedMethodCall occurrences="2">
<code>getValue</code>
<code>getValue</code>
</MixedMethodCall>
<PossiblyNullArgument occurrences="1">
<code>var_export($types, 1)</code>
</PossiblyNullArgument>
<PossiblyNullOperand occurrences="2">
<code>var_export($endPointsArray, 1)</code>
<code>var_export($test, 1)</code>
</PossiblyNullOperand>
<UnusedVariable occurrences="5">
<code>$child1grand1</code>
<code>$child1grand2</code>
<code>$child2grand1</code>
<code>$child2grand2great1</code>
<code>$child2grand2great2</code>
</UnusedVariable>
</file>
<file src="test/Reflection/ReflectionFunctionTest.php">
<InvalidScalarArgument occurrences="1">
<code>1</code>
</InvalidScalarArgument>
<MixedAssignment occurrences="1">
<code>$params</code>
</MixedAssignment>
<PossiblyNullArgument occurrences="1">
<code>var_export($param, 1)</code>
</PossiblyNullArgument>
<UnusedVariable occurrences="1">
<code>$params</code>
</UnusedVariable>
</file>
<file src="test/Reflection/TestAsset/ReflectionMethodInterface.php">
<MissingReturnType occurrences="1">
<code>testMethod</code>
</MissingReturnType>
</file>
<file src="test/Reflection/TestAsset/ReflectionMethodNode.php">
<PropertyNotSetInConstructor occurrences="1">
<code>ReflectionMethodNode</code>
</PropertyNotSetInConstructor>
</file>
<file src="test/ReflectionTest.php">
<InvalidScalarArgument occurrences="2">
<code>'string'</code>
<code>'string'</code>
</InvalidScalarArgument>
</file>
<file src="test/TestAsset/reflectionTestFunction.php">
<UndefinedDocblockClass occurrences="1">
<code>string|struct|false</code>
</UndefinedDocblockClass>
</file>
</files>