Skip to content

Commit

Permalink
ignore last cs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Apr 19, 2024
1 parent 4e3e462 commit 5906432
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Visitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
use PhpParser\Node\Stmt\Return_ as Stmt_Return;
use StubsGenerator\NodeVisitor;

// phpcs:disable NeutronStandard.Functions.LongFunction.LongFunction,NeutronStandard.Functions.TypeHint.NoReturnType

class Visitor extends NodeVisitor
{
private \phpDocumentor\Reflection\DocBlockFactory $docBlockFactory;
Expand All @@ -51,7 +53,8 @@ public function __construct()
}

/**
* @return ?int
* @return int|null
* phpcs:ignore NeutronStandard.Functions.TypeHint
*/
public function enterNode(Node $node)
{
Expand Down
2 changes: 2 additions & 0 deletions src/WordPressTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

namespace PhpStubs\WordPress\Core;

// phpcs:disable NeutronStandard.Functions.LongFunction.LongFunction

final class WordPressTag extends WithChildren
{
public string $tag;
Expand Down

0 comments on commit 5906432

Please sign in to comment.