Skip to content

Commit

Permalink
ignore irrelevant errors
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Nov 30, 2021
1 parent c4db77d commit c057d19
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 10 additions & 0 deletions psalm-baseline.xml
Expand Up @@ -464,6 +464,11 @@
<code>VirtualClass</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/Stmt/VirtualFunction.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualFunction</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/Stmt/VirtualInterface.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualInterface</code>
Expand All @@ -474,6 +479,11 @@
<code>VirtualTrait</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Node/VirtualConst.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VirtualConst</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Psalm/Storage/Assertion.php">
<PossiblyUndefinedIntArrayOffset occurrences="1">
<code>$rules[0]</code>
Expand Down
3 changes: 0 additions & 3 deletions src/Psalm/Node/Stmt/VirtualFunction.php
Expand Up @@ -6,9 +6,6 @@
use PhpParser\Node\Stmt\Function_;
use Psalm\Node\VirtualNode;

/**
* @property Node\Name $namespacedName Namespaced name (if using NameResolver)
*/
class VirtualFunction extends Function_ implements VirtualNode
{

Expand Down
3 changes: 0 additions & 3 deletions src/Psalm/Node/VirtualConst.php
Expand Up @@ -5,9 +5,6 @@
use PhpParser\Node\Const_;
use PhpParser\Node\Name;

/**
* @property Name $namespacedName Namespaced name (for global constants, if using NameResolver)
*/
class VirtualConst extends Const_ implements VirtualNode
{

Expand Down

0 comments on commit c057d19

Please sign in to comment.